logisticsDetails.wxml
4.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<block wx:if="{{!isLoading}}">
<view class='orderDetail'>
<!-- <view class='logoContainer'>
<image class='logo' src='{{data.logo}}'></image>
</view> -->
<view class='container'>
<block wx:if="{{order_code}}">
<view class='orderNum'>
<text class='ordernum'>订单编号:{{order_code}}</text>
</view>
</block>
<view class='orderNum'>
<text class='ordernum'>物流公司:{{data.caption}}</text>
</view>
<view class='orderNum'>
<text class='ordernum'>快递单号:{{data.express_number}}</text>
<view class='copyContainer' bindtap='copy' data-copy_content="{{data.express_number}}">
<text class='copy' >复制</text>
</view>
</view>
</view>
</view>
<block wx:if="{{order_code}}">
<view class='downloadAppContainer'>
<view class='downloadApp'>
<view class='logoView'>
<image class='logo' style='mode: aspectFit;' src='./images/yoho@3x.png'></image>
</view>
<text class='tips'>下载Yoho!Buy</text>
<text class='tips'>领取¥99新人福利</text>
</view>
</view>
</block>
<block wx:if="{{activityResources && activityResources.length > 0}}">
<view wx:if="{{activityResources[0].template_name=='newSingleImage'}}" style="width: {{activityResources[0].data.imageWidth}}rpx;height: {{activityResources[0].data.imageHeight}}rpx;margin-top: 20rpx;">
<image class='bannerImage' bindtap='jumpByRule' data-jumpurl="{{activityResources[0].data.list[0].url}}" src="{{activityResources[0].data.list&&activityResources[0].data.list.length>0?activityResources[0].data.list[0].src:''}}"></image>
</view>
</block>
<view class="detailTitleView" style='margin-top: 20rpx;'>
<text class="detailTitle">物流详情</text>
</view>
<view class="line">
</view>
<view class='cellContainer'>
<view wx:if="{{firstItem}}" class="cell">
<block>
<view class="cellLeft">
<view class="HLine">
<image class="dot" src="{{dot1}}"></image>
</view>
</view>
<view class="cellRight" style="color: #444444;{{!moreDetails?'border: none;':''}}">
<text class="text1">{{firstItem.accept_address}}</text>
<text class="text2">{{firstItem.acceptTime}}</text>
<!-- <text class="text1">123</text>
<text class="text2">123</text> -->
</view>
</block>
</view>
<!-- <view class="cellLine"></view> -->
<block wx:if="{{moreDetails}}" wx:for="{{list}}" wx:key="unique">
<view class="cell">
<block>
<view class="cellLeft">
<view class="HLine">
<image class="dot" src="{{dot2}}"></image>
</view>
</view>
<view class="cellRight" style="color: #b0b0b0;{{index==list.length-1?'border: none;':''}}">
<text class="text1">{{item.accept_address}}</text>
<text class="text2">{{item.acceptTime}}</text>
<!-- <text class="text1">123</text>
<text class="text2">123</text> -->
</view>
</block>
</view>
<!-- <view class="cellLine"></view> -->
</block>
<view class='logisticsDetailMore' bindtap='moreDetails'>
<text class='text'>详细物流信息</text>
<view class='arrowView'>
<image class='arrow' src='./images/arrow_down.png' style="mode: aspectFit;{{moreDetails?'transform: rotate(180deg)':''}}"></image>
</view>
</view>
</view>
<block wx:if="{{resources && resources.length > 0}}">
<view wx:if="{{resources[0].template_name=='newSingleImage'}}" style="width: {{resources[0].data.imageWidth}}rpx;height: {{resources[0].data.imageHeight}}rpx;margin-top: 20rpx;">
<image class='bannerImage' bindtap='lookup' data-copy_content="已成功复制微信公众号,请到微信中关注我们" data-copy_type='copyWeChat' data-copy_url='Yoho_buy' src="{{resources[0].data.list&&resources[0].data.list.length>0?resources[0].data.list[0].src:''}}"></image>
</view>
</block>
<!--猜你喜欢列表-->
<view class='titleContainer' style='margin-top: 20rpx;'>
<view class='titleLine'></view>
<view class='titleDesc'> 为你优选</view>
</view>
<view class="likeContainer">
<block wx:for="{{recommdData}}" wx:key="{{index}}">
<productListCell item="{{item}}" page-name="{{current_page_name}}"></productListCell>
</block>
</view>
</block>
<homenav id="homenav" isShow="{{isShowHomeNav}}"></homenav>