Browse Source

@
fix(ui-kit): 红线纪律修正——#14B8A6 小字清零 + 渐变做按钮/进度条底清零

按 docs/ui-kit/visual-spec.html 红线①⑥修正 4 处:
- #14B8A6(display 级青绿)仅可用于 ≥24px 大字/图形,禁做小字:
index/index.vue、badge/index.vue 的 gradeColorMap.system #14B8A6 → #0F766E
(active-text 级青绿 4.5:1 可用于小字,避免 32rpx 等级文字违规)
- 渐变禁做按钮底/进度条底(只用于顶部横幅/纯装饰头图):
mine/index.vue .bind-btn 渐变 → 纯色 #2E6FA8
vote/index.vue .bar-fill 进度条渐变 → 纯色 #2E6FA8
- mine .profile-card 卡头渐变保留(F 类我的页唯一合法渐变)

复核:全站 #14B8A6 与 #4A9BD7 渐变做按钮/进度 均已清零。
@

liaoxg 22 hours ago
parent
commit
e4e9e705c9

+ 1 - 1
train-frontend/pages/badge/index.vue

@@ -50,7 +50,7 @@ export default {
         novice: '#6B7B8C',
         starter: '#2E6FA8',
         expert: '#B9770E',
-        system: '#14B8A6',
+        system: '#0F766E',
         lecturer: '#2E6FA8'
       },
       categoryMap: {

+ 1 - 1
train-frontend/pages/index/index.vue

@@ -181,7 +181,7 @@ export default {
         novice: '#6B7B8C',
         starter: '#2E6FA8',
         expert: '#B9770E',
-        system: '#14B8A6',
+        system: '#0F766E',
         lecturer: '#2E6FA8'
       },
       themeMap: {

+ 1 - 1
train-frontend/pages/mine/index.vue

@@ -377,6 +377,6 @@ export default {
 .bind-title { font-size: 30rpx; font-weight: 600; color: #1E3A5F; margin-bottom: 8rpx; }
 .bind-tip { font-size: 22rpx; color: #3B5A78; margin-bottom: 20rpx; }
 .bind-input { height: 76rpx; background: #E3ECF4; border-radius: 8rpx; padding: 0 24rpx; font-size: 28rpx; color: #1E3A5F; margin-bottom: 20rpx; }
-.bind-btn { width: 100%; height: 80rpx; line-height: 80rpx; background: linear-gradient(135deg, #2E6FA8, #4A9BD7); color: #FFF; font-size: 30rpx; font-weight: 600; border-radius: 12rpx; }
+.bind-btn { width: 100%; height: 80rpx; line-height: 80rpx; background: #2E6FA8; color: #FFF; font-size: 30rpx; font-weight: 600; border-radius: 12rpx; }
 .bind-btn[disabled] { opacity: 0.6; }
 </style>

+ 1 - 1
train-frontend/pages/vote/index.vue

@@ -158,7 +158,7 @@ export default {
 .bar-item { display: flex; align-items: center; margin-bottom: 16rpx; }
 .bar-label { width: 160rpx; font-size: 26rpx; color: #1E3A5F; text-align: right; margin-right: 16rpx; }
 .bar-track { flex: 1; height: 32rpx; background: #E3ECF4; border-radius: 16rpx; overflow: hidden; }
-.bar-fill { height: 100%; background: linear-gradient(90deg, #2E6FA8, #4A9BD7); border-radius: 16rpx; transition: width 0.5s; }
+.bar-fill { height: 100%; background: #2E6FA8; border-radius: 16rpx; transition: width 0.5s; }
 .bar-count { width: 80rpx; font-size: 24rpx; color: #3B5A78; text-align: right; margin-left: 12rpx; }
 .voted-badge { text-align: center; font-size: 26rpx; color: #0E8A4F; background: #E6F6EE; padding: 16rpx; border-radius: 8rpx; }
 </style>