From d39644872fa6f9499fc2c1651bced631a9e96b19 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期一, 23 十二月 2024 09:48:53 +0800 Subject: [PATCH] 1.高德地图未开发完成版本(可能废弃) --- common/global.scss | 125 +++++++++++++++++++++++++++++++++++++++-- 1 files changed, 119 insertions(+), 6 deletions(-) diff --git a/common/global.scss b/common/global.scss index 0d7be60..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; @@ -84,7 +109,7 @@ position: relative; .button-space{ // border: 2rpx solid #EEEEEE; - min-height: 140rpx; + min-height: 160rpx; } .value-items{ @@ -137,23 +162,111 @@ line-height: 78rpx; } } +.component-button-contact{ + background: none; + border: none; + box-sizing: 0px; + outline: none; + border-inline: none; + // margin-top: 0px; + display: flex; + margin-left: 0rpx; + margin-right: auto; + font-size: 30rpx; + flex: 1; + padding-left: 0rpx; + padding-right: 0rpx; + line-height: 40rpx; +} +.component-buttons{ + display: flex; + margin-left: auto; + width: fit-content; + + .button { + // width: 216rpx; + padding: 10rpx 20rpx; + line-height: 34rpx; + font-size: 24rpx; + height: 34rpx; + background: #20613D; + text-align: center; + border-radius: 30rpx; + min-width: 80rpx; + + } + + .button-1 { + padding: 10rpx 20rpx; + line-height: 34rpx; + font-size: 24rpx; + height: 34rpx; + background: #20613D; + text-align: center; + border-radius: 30rpx; + min-width: 80rpx; + background: #fff; + color: #333; + border: 2rpx solid #333; + + } + + .button-0 { + padding: 10rpx 20rpx; + line-height: 34rpx; + font-size: 24rpx; + height: 34rpx; + background: #20613D; + text-align: center; + border-radius: 30rpx; + min-width: 80rpx; + color: #fff; + border: 2rpx solid #20613D; + } +} +.component-button-contact::after{ + display: none !important; +} .component-stock-zero::after{ position: absolute; line-height: 100%; // font-size: ; - left: 0rpx; - right: 0rpx; - // top: 0rpx; - bottom: 0rpx; + left: -2rpx; + right: -2rpx; + top: -2rpx; + bottom: -2rpx; font-size: 600; content: '已售罄'; color: #fff; text-align: center; - top: calc(50% - 20rpx); + padding-top: calc(50% - 20rpx); + background-color: #52525275; } .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