selectItemPopup.wxml 780 Bytes
<!--tabWorkOrder/pages/staffDaily/components/selectItemPopup/selectItemPopup.wxml-->
<popup class="date-background" popup-slot-class="popup-style" show="{{ show }}" bindcancel="cancel" bindconfirm="confirm" height="var(--fontSize500)" title="{{title}}">
  <scroll-view style="height: 200rpx;" scroll-y>
  <view class="check-block"  >
    <view
      class="check-box {{ subItem.active ? 'active' : '' }}"
      wx:for="{{ optionList }}"
      wx:for-item="subItem"
      wx:for-index="idx"
      wx:key="idx"
      bindtap="click"
      data-pidx="{{ index }}"
      data-idx="{{ idx }}"
    >
      {{subItem[optionLabel]}}
      <image wx:if="{{ subItem.active }}" class="mult" src="../../../../images/check-active.png"></image>
    </view>
    </view>
  </scroll-view>
</popup>