orderPromptPop.wxml
2.15 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
<!--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>