From 4ba9c0c27c162c1858b11c3d621f52063a420ecd Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期二, 08 十月 2024 16:44:57 +0800 Subject: [PATCH] update --- 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