From 2e04af9e1f186fdcba0b835e7d4abf6ae8393768 Mon Sep 17 00:00:00 2001 From: season Date: Thu, 5 Sep 2019 23:43:08 +0800 Subject: [PATCH] 使用优惠券样式优化 --- pages/cart/cart2/cart2.wxml | 18 +++++++++--------- pages/cart/cart2/cart2.wxss | 53 +++++++++++++++++++++++++++++++++-------------------- 2 files changed, 42 insertions(+), 29 deletions(-) diff --git a/pages/cart/cart2/cart2.wxml b/pages/cart/cart2/cart2.wxml index 11db0e5..0be548a 100644 --- a/pages/cart/cart2/cart2.wxml +++ b/pages/cart/cart2/cart2.wxml @@ -258,30 +258,30 @@ - + - 不使用优惠券 - + 不使用优惠券 + - - + + - + {{item.Sum}}元 - 订单满{{item.BuySum}}元使用 + 订单满{{item.BuySum}}元使用 使用期限 {{filters.replace_time(item.BeginDate)}}至{{filters.replace_time(item.ValidDate)}} - - + + diff --git a/pages/cart/cart2/cart2.wxss b/pages/cart/cart2/cart2.wxss index 4f03880..2342af3 100644 --- a/pages/cart/cart2/cart2.wxss +++ b/pages/cart/cart2/cart2.wxss @@ -310,7 +310,7 @@ .cx-popup .top{ width:100%; - height:133rpx; + height:100rpx; border-bottom:3rpx solid #ddd; @@ -318,7 +318,7 @@ .xc-top-content{ width: 88%; height:85rpx; - padding-top: 50rpx; + padding-top: 20rpx; font-size: 36rpx; } @@ -341,26 +341,25 @@ height: 100%; overflow-y:scroll; - margin-top:20rpx; - } .xc-close-frame{ - margin-top:30rpx; - width:15%; + margin-top:10rpx; + width:1%; display:flex; } .xc-close{ - width:70rpx; - height:70rpx; - border-radius:50%; - border:5rpx solid #a5a5a7; - text-align:center; - line-height: 55rpx; - font-size:80rpx; - color:#a5a5a7; - font-family:"微软正黑体"; - margin-top:8rpx; + width: 46rpx; +height: 46rpx; +border-radius: 50%; +border: 5rpx solid #a5a5a7; +text-align: center; +line-height: 33rpx; +font-size: 64rpx; +color: #a5a5a7; +margin-top: 5rpx; + + } .xc-money{ @@ -374,7 +373,7 @@ } .xc-coupon-effect{ width: 99%; - height: 128rpx; + min-height: 100rpx; border-bottom:3rpx solid #ddd; @@ -389,10 +388,24 @@ margin-left:222rpx; } +.xc-coupon-money0{ + color: #c91e31; + font-size: 35rpx; + line-height: 40rpx; + +} .xc-coupon-money{ color: #c91e31; font-size: 35rpx; - margin-top:20rpx; + line-height: 40rpx; + padding-top: 10px; + +} +.xc-coupon-money1{ + color: #444; + font-size: 28rpx; + line-height: 60rpx; + } .xc-coupon-time{ @@ -427,8 +440,8 @@ @keyframes down { 0% { transform: translateY(0); } 100% { transform: translateY(550rpx); } } .xc-not-Selection{ - width: 60rpx; - height: 60rpx; + width: 40rpx; +height: 40rpx; background: #eeeeee; } -- libgit2 0.21.4