Authored by QC-L

Merge branch 'UFO_1.0.0' of git.yoho.cn:mobile/yoho-miniapp-ufo into UFO_1.0.0

@@ -160,6 +160,14 @@ Page({ @@ -160,6 +160,14 @@ Page({
160 router.go('productDetail', params); 160 router.go('productDetail', params);
161 }, 161 },
162 162
  163 + onClickLogistics: function(e) {
  164 + let orderCode = e.currentTarget.dataset.orderCode;
  165 + let params = {
  166 + orderCode
  167 + }
  168 + router.go('logistics', params);
  169 + },
  170 +
163 onCopyOrderCode: function() { 171 onCopyOrderCode: function() {
164 let orderCode = String(this.data.data.orderCode);; 172 let orderCode = String(this.data.data.orderCode);;
165 wx.setClipboardData({ 173 wx.setClipboardData({
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 <text class='order-detail-tips-txt' wx:if="{{data.statusDetail.detailDesc}}">{{data.statusDetail.detailDesc}}</text> 9 <text class='order-detail-tips-txt' wx:if="{{data.statusDetail.detailDesc}}">{{data.statusDetail.detailDesc}}</text>
10 </view> 10 </view>
11 <view class='order-detail-split-line'></view> 11 <view class='order-detail-split-line'></view>
12 - <view class='order-detail-logistics-view' wx:if="{{data.lastExpressInfo}}"> 12 + <view class='order-detail-logistics-view' wx:if="{{data.lastExpressInfo}}" bindtap='onClickLogistics' data-order-code='{{data.orderCode}}'>
13 <view class='order-detail-logistics-info-view'> 13 <view class='order-detail-logistics-info-view'>
14 <image class='order-detail-address-image' src='../../assets/images/express_info@2x.png'></image> 14 <image class='order-detail-address-image' src='../../assets/images/express_info@2x.png'></image>
15 <view class='order-detail-logistics-dec-view'> 15 <view class='order-detail-logistics-dec-view'>