refundGoods.wxml
2.65 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
<!--page/subPackage/pages/refundGoods/refundGoods.wxml-->
<view class="refund-goods-bg margin-bottom">
<block wx:for="{{list}}" wx:key="{{item.id}}">
<view class="refund-good margin-top" bindtap="navgationToRefund" data-id="{{item.id}}">
<view class="refund-good-header margin-left margin-top border-bottom">
<view class="refund-good-number margin-bottom">
<text class="black-text-color middle-text-size">订单编号: {{item.order_code}}</text>
<text class="small-text-size gray-text-color">申请时间: {{item.create_time}}</text>
</view>
<text class="red-text-color middle-text-size margin-right margin-bottom ping-fang-sc-bold">{{item.status_name}}</text>
</view>
<view class="refund-good-body">
<block wx:for="{{item.goods}}" wx:for-item="goods" wx:key="{{index}}">
<view class="goods margin-top margin-left {{ index !== item.goods.length - 1 ? 'border-bottom' : ''}}">
<view class="goods-image margin-left column margin-top margin-bottom">
<image
class="goods-image"
src="{{goods.goods_image}}">
</image>
<block wx:if="{{goods.goods_type === 'price_gift'}}">
<image class="productTag" mode="aspectFill" src="{{price_gift}}"></image>
</block>
<block wx:if="{{goods.goods_type === 'gift'}}">
<image class="productTag" mode="aspectFill" src="{{gift}}"></image>
</block>
</view>
<!-- 商品详情 -->
<view class="goods-detail margin-left margin-bottom">
<view class="title-color-size">
<text class="black-text-color middle-text-size product-info">{{goods.product_name}}</text>
<text class="small-text-size gray-text-color pingfangsc-regular">颜色:{{goods.color_name}} {{good.sku_title || '尺码'}}:{{goods.size_name}}</text>
</view>
<view class="price-number margin-right">
<text class="red-text-color middle-text-size pingfangsc-regular">¥{{goods.sales_price}}</text>
<text class="small-text-size gray-text-color pingfangsc-regular">x{{goods.number ? goods.number : 1}}</text>
</view>
</view>
</view>
</block>
</view>
<block wx:if="{{item.canCancel === 'Y'}}">
<view class="refund-good-footer border-top">
<text class="black-text-color middle-text-size border refund-cancel border-radius margin-right" catchtap="cancelRefundGoods" data-id="{{item.id}}">取消申请</text>
</view>
</block>
</view>
</block>
</view>