orderConfirm.wxml 2 KB
<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>