refundOperationList.wxml
4.13 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
<!--tabWorkOrder/pages/refundOperationList/refundOperationList.wxml-->
<view class="list-content">
<view class="to-box">
<tab-bar tabList="{{ tabList }}" bindclick="tabClick" activeIndex="{{ activeIndex }}" />
</view>
<block wx:if="{{ flag }}">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
class="list"
style="height:calc(100vh - var(--fontSize92));"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<view style="width: 100%;height: var(--fontSize20);"></view>
<block wx:if="{{ list.length > 0 }}">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<view
data-ind="{{ ind }}"
data-index="{{ index }}"
>
<view
class="item content"
catchtap="jump"
data-ind="{{ ind }}"
data-index="{{ index }}"
data-item="{{ li }}"
>
<view class="item-top">
<view class="code">
<text>退款编号</text>
<text class="code-text">{{li.applyCode}}</text>
</view>
<view class="status text-center" style="color:{{ reviewStatusObj[li.auditStatus].color }};background-color:{{reviewStatusObj[li.auditStatus].background }};">
{{reviewStatusObj[li.auditStatus].text }}
</view>
</view>
<view class="order-list">
<block wx:for="{{li.refundPayType == 2 ? (li.auditStatus != 0 ? reviewLabelObj : labelObj) : (li.auditStatus != 0 ? orderObj : reviewObj) }}" wx:key="sindex" wx:for-index="sindex" wx:for-item="i">
<view class="order">
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<block wx:if="{{ i.arr }}">
<block wx:if="{{ li[i.arr[1]] }}">
<block wx:for="{{ i.arr }}" wx:key="sindex" wx:for-index="arr_index" wx:for-item="k">
<view class="order-value-item text-hide">
<block wx:if="{{ arr_index == 1 }}">
<text class="split">|</text>
</block>
{{li[k]}}
</view>
</block>
</block>
</block>
<block wx:else><text wx:if="{{i.unit && li[i.key]}}" style="margin-right: var(--fontSize10);">¥</text>{{li[i.key] || ''}}</block>
</view>
</view>
</block>
<block wx:if="{{li.refundStatus == 5 && li.refundPayType != 2}}">
<view class="order" >
<view class="order-label">实际退款金额</view>
<view class="order-value"><text style="margin-right: var(--fontSize10);">¥</text>{{li.payAmount}}</view>
</view>
<view class="order" >
<view class="order-label">退款时间</view>
<view class="order-value">{{li.refundTime}}</view>
</view>
</block>
<block wx:if="{{li.refundStatus == 1 || li.refundStatus == 3}}">
<view class="order">
<view class="order-label">不通过原因</view>
<view class="order-value break-value">{{li.remark}}</view>
</view>
</block>
</view>
</view>
</view>
</block>
</block>
<block wx:if="{{ nothing }}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<block wx:else>
<empty-data />
</block>
</scroll-view>
</block>
</view>