recordingOrderPopup.wxml
2.31 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
<!--tabIndex/components/recordingOrderPopup/recordingOrderPopup.wxml-->
<wxs src="index.wxs" module="filter" />
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="80%" slotStyle="{{popupSlotStyle}}">
<view class="sub-title">
<view>{{title}}</view>
</view>
<scroll-view
class="order_no_box"
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="restPageNum"
bindscrolltolower="scrollonReachBottom"
refresher-threshold="104"
refresher-triggered="{{triggered}}">
<block wx:for="{{orderNoList}}" wx:key="index" wx:for-index="index">
<view class="order_no_item {{item.active?'active':''}}" bindtap="changeOrderNo" data-target="{{item}}">
<view class="message">
<block wx:for="{{itemFormObj}}" wx:for-item="subItem" wx:key="idx" wx:for-index="idx">
<view class="item">
<view class="label">{{subItem.label}}</view>
<view class="value price_value" wx:if="{{subItem.type == 'price'}}">¥{{filter.priceFilter(item[subItem.prop])}}</view>
<view class="select_value" wx:if="{{subItem.type == 'select'}}" catch:tap="selectTap" data-index="{{index}}">
<text class="text-hide">{{filmOrderData[item.filmOrder]}}</text><image src="/components/images/arrow-x.png" mode=""/>
</view>
<view class="value" wx:if="{{subItem.type !== 'price' && subItem.type !== 'select'}}">
{{item[subItem.prop]}}
<image class="copy_icon" catch:tap="copyOutTradeNo" data-item="{{item}}" wx:if="{{subItem.type == 'copy'}}" src="{{IMG_URL}}copy_icon_gapy.png" mode=""/>
</view>
</view>
</block>
</view>
<view class="checked" wx:if="{{item.active}}">
<image src="/components/images/choose.png" />
</view>
<block wx:if="{{showSelect && filmOrderIndex == index}}">
<view class='option_box' >
<view class='option {{item.filmOrder == subI ? "active" : ""}}' wx:for='{{filmOrderData}}' wx:for-item="subE" wx:for-index="subI" wx:key='subI' data-index='{{subI}}' data-order-index="{{index}}" catchtap='optionTap'>{{subE}}</view>
</view>
<view class="mask_class" bindtap="closeSelect"></view>
</block>
</view>
</block>
</scroll-view>
</popup>