cart 样式bug,

1.数字显示在总计前面
2.总计样式bug
wechat_user_type
Ge Hao 8 years ago
parent 7a21afb7a2
commit cdd5b12443
  1. 4
      pages/cart/cart.wxml
  2. 2
      pages/cart/cart.wxss

@ -66,8 +66,8 @@
<view class="billing-btn">
<view wx:if="{{coupon}}">
<view class="total">总计:¥{{amount}}元 {{'-' + coupon['coupon-value'] + '元优惠券' }}</view>
<view wx:if="{{coupon}}" class="total">
<view>总计:¥{{amount}}元 {{'-' + coupon['coupon-value'] + '元优惠券' }}</view>
</view>
<view wx:else class="total">
<view>总计:¥{{amount}}元</view>

@ -92,6 +92,7 @@
}
.quantity .number {
z-index: 1;
border-top: 1rpx solid lightgrey;
border-bottom: 1rpx solid lightgrey;
line-height: 50rpx;
@ -109,6 +110,7 @@
}
.billing-btn {
z-index:2;
position: fixed;
bottom: 0;
width: 100%;

Loading…
Cancel
Save