orderSwitchPopup.wxml
2.12 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
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<view wx:if="{{flag}}" class='container' style=''>
<!-- bindtap='_close' 取消遮光层关闭事件 -->
<view class='wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});' />
<view class='popup-container {{popupAnimate}}'>
<view class="v_title">
<view class="wx-popup-title">{{title}}</view>
<image
bindtap='_close'
src='../images/order-close.png'
mode='widthFix'
class='btn-colse'
wx:if="{{isShowClose}}" />
</view>
<view class="wx-popup-con">
<view class="label">
<view class="num">交易参考号</view>
<view class="time">支付时间</view>
<view class="payNum">支付金额</view>
</view>
<view class="table-body">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="restPageNum"
bindscrolltolower="scrollonReachBottom"
refresher-threshold="104"
style="height:100%;"
refresher-triggered="{{triggered}}">
<block
wx:for="{{tableList}}"
class="orderInfo"
wx:for-item="tableItem"
wx:key="index">
<view
class="orderInfo"
data-index="{{index}}"
data-item="{{tableItem}}"
bindtap="choose">
<block wx:if="{{tableItem.active}}">
<image class="checkedIcon" src="../images/checkedIcon.png" />
</block>
<block wx:if="{{!tableItem.active}}">
<view class="arc" />
</block>
<view class="tradeNo">{{tableItem.outTradeNo}}</view>
<view class="accountDate">{{tableItem.formatAccountDate}}</view>
<view class="orderPrice">¥{{tableItem.totalFee / 100}}</view>
</view>
</block>
<view class="tips" wx:if="{{tableList.length>4&&(currentPage==pages)}}">到底了~</view>
</scroll-view>
</view>
</view>
<view class="wx-popup-btn">
<view class="btn-ok" bindtap='_success' open-type="{{sureButtonType}}">{{btn_ok}}</view>
</view>
</view>
</view>