recordingOrderPopup.wxml 2.31 KB
<!--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>