From e8d258576a34f35cfefbd6bfe07b7f22e72d87d4 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 11 九月 2024 10:42:57 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/v2' into v2 --- common/global.scss | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/common/global.scss b/common/global.scss index 2cddd3b..e4868e2 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; @@ -221,6 +245,24 @@ .component-stock-zero{ position: relative; } +.component-status-zero{ + 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