From 60b9c62a3165f304a933cbac304ac3d43a24f722 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 17 四月 2025 09:25:09 +0800 Subject: [PATCH] fix: 优化 --- packages/components/src/styles/rechargeGrid.scss | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/packages/components/src/styles/rechargeGrid.scss b/packages/components/src/styles/rechargeGrid.scss index 861eedf..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'); @@ -13,6 +14,24 @@ .recharge-grid-item-icon { 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; } } } @@ -128,6 +147,10 @@ margin-left: 20px; } } + + &.nut-button--plain { + border-width: 1px; + } } &.electric { -- Gitblit v1.9.1