orderConfirm.wxml
2.65 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
<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 wx:if="{{!user_activity_id}}" bindselect="showSelectCoupon" coupons = "{{couponList}}" selected-code="{{selectCouponCode}}" info="{{couponTip}}" amount="{{selectCouponAmount}}"></couponCell>
<promotionCell wx:if="{{!user_activity_id}}" bindselect="showSelectPromotion" promotions="{{promotionList}}" selected-code="{{selectPromotionCode}}" info="{{promotionTip}}" amount="{{selectPromotionAmount}}"></promotionCell>
<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}}" isStore="{{isStore === 1}}"
bindcancel="cancelSelectCoupon" coupons="{{couponList}}"></couponSelect>
<promotionSelect bindconfirmselect="confirmSelectPromotion" show="{{selectingPromotion}}" selected-code="{{selectPromotionCode}}" isStore="{{isStore === 1}}" bindcancel="cancelSelectPromotion" promotions="{{promotionList}}"></promotionSelect>
<checkstore id="check" storeId="{{storeId}}" productId="{{product_id}}"></checkstore>