orderPromptPop.wxml 2.15 KB
<!--components/orderPromptPop/orderPromptPop.wxml-->
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="{{infoData.payFlag == 2 ? includesChildHeight : height}}" slotStyle="{{ popupSlotStyle }}">
  <view class="sub-title">
    <view>确认订单收款方式</view>
  </view>
  <view class="prompt_content">
    <view class="select_item" wx:if="{{ !djQrOnlyMode }}">
      <block wx:if="{{infoData.payFlag == 1}}">
        <image class="radio-icon" src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/components/images/radio.png" />
      </block>
      <block wx:else>
        <view class="arc" bindtap="chooseParent" data-type="1" />
      </block>
      <view bindtap="chooseParent" data-type="1">
        <view class="radio_label">未支付</view>
        <view class="radio_tips">去创建线上付款码订单</view>
      </view>
    </view>
    <view class="select_item" style="border-bottom: 0rpx;">
      <block wx:if="{{infoData.payFlag == 2}}">
        <image class="radio-icon" src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/components/images/radio.png" />
      </block>
      <block wx:else>
        <view class="arc" bindtap="chooseParent" data-type="2" />
      </block>
      <view bindtap="chooseParent" data-type="2">
        <view class="radio_label">已支付</view>
        <view class="radio_tips">款项已付需补录订单</view>
      </view>
    </view>
    <view class="child_select_content" wx:if="{{infoData.payFlag == 2}}">
      <view wx:for="{{payTypeList}}" class="child_select_item" wx:key="index">
        <block wx:if="{{infoData.payType == item.value}}">
          <image class="radio-icon" src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/components/images/radio.png" />
        </block>
        <block wx:else>
          <view class="arc" bindtap="chooseChild" data-type="{{item.value}}" />
        </block>
        <view bindtap="chooseChild" data-type="{{item.value}}">
          <view class="radio_label">{{item.label}}</view>
          <view class="radio_tips" wx:if="{{item.tips}}">{{item.tips}}</view>
        </view>
      </view>
    </view>
  </view>
</popup>