|
|
@ -14,6 +14,7 @@ |
|
|
|
<view wx:else bindtap="bindTapAddress"> |
|
|
|
<view wx:else bindtap="bindTapAddress"> |
|
|
|
<button class="button" type='primary'>填写收货地址</button> |
|
|
|
<button class="button" type='primary'>填写收货地址</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="separate"></view> |
|
|
|
<view class="separate"></view> |
|
|
|
|
|
|
|
|
|
|
|
<view wx:if="{{ coupon }}"> |
|
|
|
<view wx:if="{{ coupon }}"> |
|
|
@ -30,6 +31,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="separate"></view> |
|
|
|
<view class="separate"></view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="items-container"> |
|
|
|
<view class="items-container"> |
|
|
|
<block wx:for="{{cartItems}}" wx:for-item="item" wx:key="id"> |
|
|
|
<block wx:for="{{cartItems}}" wx:for-item="item" wx:key="id"> |
|
|
|
<view class="item" data-id="{{item.id}}"> |
|
|
|
<view class="item" data-id="{{item.id}}"> |
|
|
@ -65,9 +67,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
<view class="billing-btn"> |
|
|
|
<view class="billing-btn"> |
|
|
|
<view wx:if="{{coupon}}"> |
|
|
|
<view wx:if="{{coupon}}"> |
|
|
|
<view>总计:¥{{amount}}元 {{'-' + coupon['coupon-value'] + '元优惠券' }}</view> |
|
|
|
<view class="total">总计:¥{{amount}}元 {{'-' + coupon['coupon-value'] + '元优惠券' }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view wx:else> |
|
|
|
<view wx:else class="total"> |
|
|
|
<view>总计:¥{{amount}}元</view> |
|
|
|
<view>总计:¥{{amount}}元</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<button class="button" type='warn' bindtap="bindBilling"> 去支付 </button> |
|
|
|
<button class="button" type='warn' bindtap="bindBilling"> 去支付 </button> |
|
|
|