From c02e7a8fe42de2a5796e95e573f9e6b6735e4d0d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 25 三月 2025 17:06:43 +0800 Subject: [PATCH] fix: 四期需求 --- packages/components/src/styles/rechargeGrid.scss | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/packages/components/src/styles/rechargeGrid.scss b/packages/components/src/styles/rechargeGrid.scss index aa9ae8e..ef1c3ad 100644 --- a/packages/components/src/styles/rechargeGrid.scss +++ b/packages/components/src/styles/rechargeGrid.scss @@ -5,6 +5,7 @@ margin-top: 40px; .recharge-grid-item { + position: relative; .nut-grid-item__text { font-size: 36rpx; color: boleGetCssVar('text-color', 'primary'); @@ -14,11 +15,29 @@ width: 64px; height: 64px; } + + .discountTag { + position: absolute; + padding: 8px 16px; + border-radius: 0px 0 20px 0; + background: linear-gradient( + 186deg, + rgba(255, 129, 45, 0.08) 14.82%, + rgba(238, 67, 67, 0.08) 91.5% + ); + color: #fb5100; + font-size: 24px; + font-weight: 700; + line-height: 28px; + position: absolute; + top: -2px; + left: -2px; + } } } .common-content { - padding: 0 boleGetCssVar('size', 'body-padding-h2'); + padding: 0 boleGetCssVar('size', 'body-padding-h'); } .parValue-radio-group { @@ -128,6 +147,10 @@ margin-left: 20px; } } + + &.nut-button--plain { + border-width: 1px; + } } &.electric { -- Gitblit v1.9.1