From 1b5dd40a24e5be63437aaa5c30e2e334636cdbe8 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 10 九月 2024 15:19:06 +0800
Subject: [PATCH] 1
---
common/global.scss | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/common/global.scss b/common/global.scss
index 2cddd3b..8dd0225 100644
--- a/common/global.scss
+++ b/common/global.scss
@@ -54,6 +54,23 @@
color: #696969;
}
}
+.component-price-old{
+ text-decoration: line-through;
+}
+.component-price-new{
+ position: relative;
+ .tip{
+ font-size: 22rpx;
+ display: inline-block;
+ margin-left: 10rpx;
+ }
+
+ .component-price-old{
+ position: absolute;
+ left: 0rpx;
+ top: 40rpx;
+ }
+}
.component-line-vert{
width: 2rpx;
background-color: #EEEEEE;
@@ -221,6 +238,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