From 192be5ad46233a4cd25880ba029997d47ad09bf6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 20 三月 2025 17:30:34 +0800 Subject: [PATCH] fix: 三期需求 --- packages/components/src/styles/rechargeGrid.scss | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/packages/components/src/styles/rechargeGrid.scss b/packages/components/src/styles/rechargeGrid.scss index 8695d25..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,6 +15,24 @@ 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; + } } } -- Gitblit v1.9.1