From cdd5b12443eb0e10d2b8ee86f008de28156a2da7 Mon Sep 17 00:00:00 2001 From: Ge Hao Date: Mon, 26 Dec 2016 16:45:22 +0800 Subject: [PATCH] =?UTF-8?q?cart=20=E6=A0=B7=E5=BC=8Fbug=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.数字显示在总计前面 2.总计样式bug --- pages/cart/cart.wxml | 4 ++-- pages/cart/cart.wxss | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/cart/cart.wxml b/pages/cart/cart.wxml index f97e611..d59ca6a 100644 --- a/pages/cart/cart.wxml +++ b/pages/cart/cart.wxml @@ -66,8 +66,8 @@ - - 总计:¥{{amount}}元 {{'-' + coupon['coupon-value'] + '元优惠券' }} + + 总计:¥{{amount}}元 {{'-' + coupon['coupon-value'] + '元优惠券' }} 总计:¥{{amount}}元 diff --git a/pages/cart/cart.wxss b/pages/cart/cart.wxss index ae188b9..6a70e2f 100644 --- a/pages/cart/cart.wxss +++ b/pages/cart/cart.wxss @@ -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%;