afterSale.wxml
2.22 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
<!--pages/orders/afterSale/afterSale.wxml-->
<view class="refund-bg">
<!-- 退货商品列表 -->
<view class="refund-proudect-list">
<view class="title-bg">
<text class="title pingfangsc-regular">{{refundProudectListTitle}}
</text>
</view>
<view class="list">
<block tt:for="{{goodsList}}" tt:key="{{item.product_sku}}">
<goods-list-cell
goods="{{item}}"
showSelect="{{true}}"
showLine="{{index !== goodsList.length - 1}}"
index="{{index}}"
bindchangeSelected="onChangeSelected"
returnReason="{{return_reason}}"
bindpickerselectreason="pickerSelectReason"
bindupdategoodsimage="updateGoodsImage"
bindconfirmreason="confirmReasonInfo"
></goods-list-cell>
</block>
<block tt:if="{{selected}}">
<view class="light-line"></view>
</block>
</view>
</view>
<view class="space">
</view>
<!-- 退货金额 -->
<block tt:if="{{isShowPrice}}">
<view class="refund-price border-bottom">
<view class="refund-price-bg">
<view class="refund-price-tips">
<text class="cell-title large-margin-top large-margin-left">退款金额</text>
<image class="cell-tips" bindtap="showTips" src="{{tips}}"></image>
</view>
<text class="refund-number big-color-size light-gray large-margin-top margin-right pingfangsc-regular">¥{{return_amount}}</text>
</view>
<text class="large-margin-left color-size light-gray margin-bottom pingfangsc-regular">{{return_asset_desc}}</text>
</view>
</block>
<!-- 退款方式 -->
<view class="refund-way border-bottom large-margin-bottom">
<text class="cell-title margin-top margin-bottom large-margin-left">退款方式</text>
<picker bindchange="bindPickerChange" value="{{index}}" range="{{return_amount_mode}}" range-key="name">
<view class="select-way margin-top margin-bottom light-gray pingfangsc-regular">
<text>{{defaultWay}}</text>
<image class="select-way-arrow margin-left margin-right" src="{{arrows}}"></image>
</view>
</picker>
</view>
<button class="refund-submit border-top large-big-color-size" bindtap="submitRefund">提交</button>
</view>