From 6f888b51ad67d7721456a0bfd61a7fb2db851bf8 Mon Sep 17 00:00:00 2001 From: claw_bot Date: Fri, 13 Mar 2026 10:57:33 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B8=85=E7=90=86index.vue?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84CSS=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除未使用的工具类:mt-2, text-white, text-green-700, text-blue-700 - 删除未使用的背景色类:bg-green-100, bg-blue-100 - 删除未使用的 view-all 样式 - 代码行数从654减少到623(减少31行) --- pages/index/index.vue | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index fba3582..d57ace6 100755 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -250,15 +250,7 @@ onShow(async () => { gap: 16rpx; } -.mt-2 { - margin-top: 16rpx; -} - /* 字体颜色工具类 */ -.text-white { - color: #fff; -} - .text-gray-500 { color: #6B7280; } @@ -267,14 +259,6 @@ onShow(async () => { color: #059669; } -.text-green-700 { - color: #047857; -} - -.text-blue-700 { - color: #1D4ED8; -} - .text-red { color: #EF4444; } @@ -543,13 +527,6 @@ onShow(async () => { color: #1F2937; } -.view-all { - font-size: 24rpx; - color: #064E3B; - font-weight: 600; - margin-right: 4rpx; -} - /* 卡片样式 */ .holding-card { background-color: #FFFFFF; @@ -581,14 +558,6 @@ onShow(async () => { justify-content: center; } -.bg-green-100 { - background-color: #D1FAE5; -} - -.bg-blue-100 { - background-color: #DBEAFE; -} - .bg-green-50 { background-color: #ECFDF5; }