orderConfirm.wxml
2 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
<scroll-view scroll-y class="orderContainer">
<text class='message-title'>确认订单</text>
<addressCell hasAddress="{{hasAddress}}" address="{{address}}" bindaddressevent="chooseAddress"
wx:if="{{!isStore}}"></addressCell>
<storeAddress storeName="{{storeName}}" storeAddress="{{storeAddress}}" bindaddressevent="chooseAddress"
wx:else></storeAddress>
<productCell productInfo="{{good}}" isStore="{{isStore === 1}}"></productCell>
<couponCell bindselect="showSelectCoupon" amount="{{selectCouponAmount}}"></couponCell>
<priceCell promotionFormulaList="{{promotionFormulaList}}" damagesDesc="{{damagesDesc}}" isStore="{{isStore === 1}}"></priceCell>
<payDeliveryCell paymentWay="{{paymentWay}}" deliveryWay="{{deliveryWay}}"></payDeliveryCell>
</scroll-view>
<!-- </view> -->
<view class='pay-bottom-root'>
<view class="payProtocolContainer">
<view class="payProtocol">
<view class="payProtocolCheckImageContainer" bindtap="checkProtocol">
<image class="payProtocolCheckImage" src="{{agreeProtocol ? checkImage : unCheckImage}}"></image>
</view>
<text class="payProtocolLabel">{{protocolLabel}}</text>
<view class="protocolTextContainer" bindtap="goProtocol">
<text class="payProtocolText">{{protocolText}}</text>
</view>
</view>
</view>
<view class="payBottomContainer">
<view class="payBottomLeft">
<view class="payBottomLeftItem">
<text class="payLabel">{{payLabel}}</text>
<text class="payAmount">¥{{amount}}</text>
</view>
</view>
<view class="{{agreeProtocol ? 'payBottomRight' : 'payBottomRightUnCheck'}}" bindtap="submit">
<text class="payButton">{{payButton}}</text>
</view>
</view>
</view>
<couponSelect bindconfirmselect="confirmSelectCoupon" show="{{selectingCoupon}}" selected-code="{{selectCouponCode}}"
bindcancel="cancelSelectCoupon" coupons="{{coupons}}"></couponSelect>
<checkstore id="check" storeId="{{storeId}}" productId="{{product_id}}"></checkstore>