order-detail.wxml
3.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
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
<!--pages/order-detail/order-detail.wxml-->
<view class="container">
<view class="refundStatus" wx:if="{{flag}}">
<view class="inner" data-status="{{refoundStatus}}">
<view wx:if="{{refoundStatus==1}}">退款中</view>
<view wx:if="{{refoundStatus==2}}">审核失败</view>
<view wx:if="{{refoundStatus==3}}">审核通过</view>
</view>
</view>
<!-- 地址 -->
<view class="address">
<view class="userName">{{requestData.receiverName}}</view>
<view class="userTell">{{requestData.receiverPhone}}</view>
<view class="default">默认</view>
<view class="userAddress">{{requestData.receiverDetailAddress}}</view>
</view>
<!-- 商品列表 -->
<view class="cartList">
<!-- <view class="cartListItem" wx:for="{{list}}" bindtap="goGoodsDetail" data-id="{{item.goodsId}}"> -->
<view class="cartListItem" wx:for="{{requestData.listGoodsVoList}}" bindtap="goGoodsDetail" data-id="{{item.goodsId}}">
<view class="itemRight">
<view class="productPic">
<image src="{{item.goodsPic}}" mode="aspectFill"></image>
</view>
<view style="width:434rpx">
<view class="productName">{{item.goodsName}}</view>
<view class="productDetail">{{item.goodsAttributes}}</view>
<view class="productPrice">
<view class="price">
<text class="moneyIcon">¥</text>
<text class="moneyNum">{{item.goodsPrice}}</text>
</view>
<view class="num">
x{{item.goodsQuantity}}
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 买家留言 -->
<view wx:if="{{requestData.note!==''}}">
<!-- <view > -->
<view class="messageBox">
<view class="messageTitle">买家留言:</view>
<view class="messageText">{{requestData.note}}</view>
<!-- <view class="numLength">{{requestData.note.length}}/50</view> -->
</view>
</view>
<!-- 优惠券 -->
<view class="discountCard">
<view>优惠券抵扣金额</view>
<view class="discountBox">
<view class="discountText">{{requestData.couponAmount}}</view>
</view>
</view>
<!-- 商品总额 -->
<view class="allMoney">
<view class="prodeuctMoney moneyPublic">
<view class="txt">商品总额</view>
<!-- <view class="money txt">¥{{requestData.payAmount}}</view> -->
<view class="money txt">
<text style="margin-right: -6rpx;">¥</text>
<text>{{requestData.totalAmount}}</text>
<text wx:if="{{addZero}}">.00</text>
</view>
</view>
<view class="carriage moneyPublic">
<view class="txt">配送费</view>
<view class="money txt">
<text style="margin-right: -6rpx;">¥</text>
<text>{{requestData.freightAmount}}</text>
<text wx:if="{{addZero}}">.00</text>
</view>
</view>
</view>
<!-- 订单详情 -->
<view class="orderBox">
<view class="number orderPublic innerPublic">
<view class="title">订单编号 :</view>
<view class="content">{{requestData.id}}</view>
</view>
<view class="time orderPublic innerPublic">
<view class="title ">配送时间 :</view>
<view class="content">{{requestData.deliveryTime}}</view>
</view>
<view class="mainMoney innerPublic">
<view class="title ">商品总额 :</view>
<view class="content">
<view class="icon">¥</view>
<view>{{requestData.payAmount}}</view>
</view>
</view>
</view>
<!-- 再次购买 -->
<view class="bottomBox">
<view bindtap="buyAgain">再次购买</view>
</view>
</view>