作者 lihongjuan

1

@@ -48,6 +48,16 @@ Page({ @@ -48,6 +48,16 @@ Page({
48 }).catch((err) => { }) 48 }).catch((err) => { })
49 }, 49 },
50 50
  51 + //查看物流
  52 + look_logistics(e) {
  53 + console.log(e)
  54 + let ordernum = e.currentTarget.dataset.ordernum;
  55 + console.log(ordernum)
  56 + wx.navigateTo({
  57 + url: '/pages/logistics/logistics?order=' + ordernum
  58 + })
  59 + },
  60 +
51 // 获取个人信息 61 // 获取个人信息
52 getInfoFun() { 62 getInfoFun() {
53 let t = this; 63 let t = this;
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" vertical="true" circular="true"> 57 <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" vertical="true" circular="true">
58 <block wx:for="{{kuaidi}}" wx:key="*this"> 58 <block wx:for="{{kuaidi}}" wx:key="*this">
59 <swiper-item> 59 <swiper-item>
60 - <view class="swiper-item"> 60 + <view class="swiper-item" bindtap="look_logistics" data-ordernum="{{item.order_odd}}">
61 <view class='wuliutop flextwo'> 61 <view class='wuliutop flextwo'>
62 <view class="wutopleft">最新物流</view> 62 <view class="wutopleft">最新物流</view>
63 <view class="wutopright">{{item.kuaidi[0].kuaidi.Traces[0].AcceptTime}}</view> 63 <view class="wutopright">{{item.kuaidi[0].kuaidi.Traces[0].AcceptTime}}</view>
@@ -239,6 +239,7 @@ page { @@ -239,6 +239,7 @@ page {
239 color: rgba(242, 0, 0, 1); 239 color: rgba(242, 0, 0, 1);
240 float: right; 240 float: right;
241 margin-left: 20rpx; 241 margin-left: 20rpx;
  242 + margin-bottom:20rpx;
242 } 243 }
243 244
244 .cancel_order { 245 .cancel_order {
@@ -569,7 +569,7 @@ page { @@ -569,7 +569,7 @@ page {
569 } 569 }
570 .listleft{ 570 .listleft{
571 width:500rpx; 571 width:500rpx;
572 - margin-left:32rpx; 572 + margin-left:25rpx;
573 } 573 }
574 .commontwo { 574 .commontwo {
575 color: #232323; 575 color: #232323;