From 0ab8c82c603f14cf69396b54b0471112b9de947b Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 11 九月 2024 10:32:14 +0800 Subject: [PATCH] update 会员优惠券等 --- common/global.scss | 144 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 139 insertions(+), 5 deletions(-) diff --git a/common/global.scss b/common/global.scss index 0523aa9..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; @@ -72,18 +96,20 @@ height: 100; height: 100%; z-index: -1; + background-size: 100% 100%; } .component-popup_input_all{ margin: 0 auto; margin-top: 160rpx; height: calc(100vh - 300rpx); + overflow-y: scroll; background-color: #fff; border-radius: 40rpx 40rpx 0rpx 0rpx; padding: 26rpx; position: relative; .button-space{ // border: 2rpx solid #EEEEEE; - min-height: 124rpx; + min-height: 160rpx; } .value-items{ @@ -116,8 +142,8 @@ .button-green{ border-top: 2rpx solid #EEEEEE; - position: absolute; - bottom: 26rpx; + position: fixed; + bottom: 80rpx; left: 26rpx; right: 26rpx; height: 78rpx; @@ -135,6 +161,107 @@ color: #20613D; 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: -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-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; @@ -226,8 +353,8 @@ .curnums { line-height: 60rpx; - margin-left: 12rpx; - margin-right: 12rpx; + padding-left: 20rpx; + padding-right: 20rpx; } } } @@ -278,3 +405,10 @@ } + + +.u-steps-item{ + /deep/ .u-text__value{ + font-size: 28rpx !important; + } +} -- Gitblit v1.9.3