From b61436c572ff55aa116a1f8a0824b93a19b9442f Mon Sep 17 00:00:00 2001 From: kola-web Date: Tue, 22 Jul 2025 14:08:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=87=E5=AD=97=E6=B8=90?= =?UTF-8?q?=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.scss | 5 ++++- src/pages/my/index.scss | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index 9cc8c20..1a5bfb4 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -63,8 +63,11 @@ } .c-content { font-size: 36rpx; - color: rgba(255, 255, 255, 1); + color: transparent; font-weight: bold; + // 文字渐变 + background: linear-gradient(119.23deg, #ffffff 14.08%, #ffd6a8 90.77%); + -webkit-background-clip: text; } } } diff --git a/src/pages/my/index.scss b/src/pages/my/index.scss index ea03d95..d651f48 100644 --- a/src/pages/my/index.scss +++ b/src/pages/my/index.scss @@ -81,8 +81,11 @@ page { } .c-content { font-size: 36rpx; - color: rgba(255, 255, 255, 1); + color: transparent; font-weight: bold; + // 文字渐变 + background: linear-gradient(119.23deg, #ffffff 14.08%, #ffd6a8 90.77%); + -webkit-background-clip: text; } } }