From 41426416bd250130129fb8a547bee874375768a8 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期四, 14 十一月 2024 09:47:15 +0800 Subject: [PATCH] 1.付款:改成15分钟,并使用服务器时间进行倒计时 2.优惠券中心:已经领取(达到最大次数),显示已领取且置灰,未领取根据创建时间放前面,已领取根据首次时间正序排序 3.购物车-提交订单:自动根据订单金额选择合适优惠券 --- common/global.scss | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/common/global.scss b/common/global.scss index 0baa73e..4993f83 100644 --- a/common/global.scss +++ b/common/global.scss @@ -54,6 +54,30 @@ color: #696969; } } +.component-price-old{ + text-decoration: line-through; + color: #9a9da2 !important; + font-size: 22rpx !important; +} +.component-price-new{ + position: relative; + .tip{ + font-size: 22rpx; + display: inline-block; + margin-right: 10rpx; + } + .p{ + font-size: 40rpx; + font-weight: 600; + } + .component-price-old{ + position: absolute; + // left: 0rpx; + top: 40rpx; + right: 0rpx; + color: #9a9da2 !important; + } +} .component-line-vert{ width: 2rpx; background-color: #EEEEEE; @@ -72,6 +96,7 @@ height: 100; height: 100%; z-index: -1; + background-size: 100% 100%; } .component-popup_input_all{ margin: 0 auto; @@ -220,6 +245,28 @@ .component-stock-zero{ position: relative; } +.component-status-zero{ + position: relative; + +} +.component-status-zero::after{ + position: absolute; + line-height: 100%; + // font-size: ; + left: -2rpx; + right: -2rpx; + top: -2rpx; + bottom: -2rpx; + font-size: 600; + content: '已下架'; + color: #fff; + text-align: center; + padding-top: calc(50% - 20rpx); + background-color: #52525275; +} +.component-status-zero{ + position: relative; +} .component-popup_input{ margin: 0 auto; margin-top: 160rpx; -- Gitblit v1.9.3