orderDetail.ttml
2.6 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
<!-- <import src="../defraudtip/defraudtip.wxml"/> -->
<block tt:if="{{!isLoading}}">
<view class="container">
<form bindsubmit="formSubmit" report-submit='true'>
<block tt:if="{{activityBanner}}">
<view class='header'>
<image class="activityBanner" src="{{activityBanner}}"open-type="share"></image>
<button open-type="share" class="activityBannerButton"></button>
</view>
</block>
<!-- 订单状态信息 -->
<block wx:if="{{data.order_detail_info}}">
<orderStatus data="{{data.order_detail_info}}" isShowExpress="{{isShowExpress}}"></orderStatus>
</block>
<view tt:if="{{data.delivery_info}}" class="order-detail-page yoho-page" style='margin-top: 20rpx;'>
<view id="order-detail">
<!-- 物流信息 -->
<deliveryInfo data="{{data.delivery_info}}"></deliveryInfo>
<!-- 商品信息 -->
<orderProduct data="{{data.order_goods}}"></orderProduct>
<!-- 商品信息 -->
<amountInfo data="{{data.order_amount_info}}"></amountInfo>
<!-- 订单号时间等信息 -->
<orderBasicInfo data="{{data.order_basic_info}}" resources="{{resources}}" bindcopy="copy" bindlookup="lookup"></orderBasicInfo>
<!--猜你喜欢列表-->
<view class='titleContainer' style='margin-top: 20rpx;'>
<view class='titleLine'></view>
<view class='titleDesc'> 为你优选</view>
</view>
<view class="likeContainer">
<block tt:for="{{recommdData}}" tt:key="{{index}}">
<productListCell item="{{item}}" page-name="{{current_page_name}}"></productListCell>
</block>
</view>
<view tt:if="{{data.links.length > 0}}" class="timeViewOpt">
<view tt:if="{{data.attribute == 9}}" class="tips" style='font-size:28rpx;color:#444444'>*此订单只能在APP端操作</view>
<view class="bottomView">
<operationBar data="{{operationData}}" bindtapOperationBar="tapOperationBar"></operationBar>
</view>
</view>
</view>
</view>
<picker-view tt:if="{{showReason}}"class='picker-view' value='{{value}}' bindchange='bindChange' indicator-style="height: 50rpx;">
<picker-view-column>
<!-- bindtap='chooseReason' data-id="{{item.id}}" data-reason="{{item.reason}}" -->
<view tt:for="{{refundReason}}" class="addr-item">{{item.reason}}</view>
</picker-view-column>
</picker-view>
<view tt:if="{{showReason}}" class='chooseBtn' bindtap='reasonSure'>确定</view>
<view tt:if="{{showReason}}" bindtap='hidderPicker' class='mask'></view>
</form>
</view>
</block>
<homenav id="homenav" isShow="{{isShowHomeNav}}"></homenav>