refactor: 清理index.vue未使用的CSS类

- 删除未使用的工具类:mt-2, text-white, text-green-700, text-blue-700
- 删除未使用的背景色类:bg-green-100, bg-blue-100
- 删除未使用的 view-all 样式
- 代码行数从654减少到623(减少31行)
This commit is contained in:
claw_bot 2026-03-13 10:57:33 +00:00
parent e82ced3432
commit 6f888b51ad

View File

@ -250,15 +250,7 @@ onShow(async () => {
gap: 16rpx; gap: 16rpx;
} }
.mt-2 {
margin-top: 16rpx;
}
/* 字体颜色工具类 */ /* 字体颜色工具类 */
.text-white {
color: #fff;
}
.text-gray-500 { .text-gray-500 {
color: #6B7280; color: #6B7280;
} }
@ -267,14 +259,6 @@ onShow(async () => {
color: #059669; color: #059669;
} }
.text-green-700 {
color: #047857;
}
.text-blue-700 {
color: #1D4ED8;
}
.text-red { .text-red {
color: #EF4444; color: #EF4444;
} }
@ -543,13 +527,6 @@ onShow(async () => {
color: #1F2937; color: #1F2937;
} }
.view-all {
font-size: 24rpx;
color: #064E3B;
font-weight: 600;
margin-right: 4rpx;
}
/* 卡片样式 */ /* 卡片样式 */
.holding-card { .holding-card {
background-color: #FFFFFF; background-color: #FFFFFF;
@ -581,14 +558,6 @@ onShow(async () => {
justify-content: center; justify-content: center;
} }
.bg-green-100 {
background-color: #D1FAE5;
}
.bg-blue-100 {
background-color: #DBEAFE;
}
.bg-green-50 { .bg-green-50 {
background-color: #ECFDF5; background-color: #ECFDF5;
} }