Преглед на файлове

refactor(c-2): C-2b 旧蓝分流·令牌族批次 2 文件 19 处

$brand-legacy-blue 族页面引用清零(定义暂留 uni.scss,C-2c 删):
- dimension-detail 7 处:容器 tint->$uni-primary-pale;header hero/主按钮渐变->$brand-primary->$brand-primary-light;百分位值/序号徽章/次级按钮文字描边->$brand-primary(与 C-2a-4b canvas 趋势图 #F97316 呼应)
- dimension-questionnaire 12 处:容器 tint;维度卡/选项选中态描边+浅底->$brand-primary+$brand-primary-soft;勾号徽章/进度文字/进度条渐变/主按钮渐变/次级按钮->橙族
- 定性:两文件场景全为主行动/选中态/hero,无 info 蓝场景
- 验证:2/2 C-2 before+预期替换==after 逐字节 PASS;全库 brand-legacy 页面引用 0;2 文件 node --check PASS
liaoxg преди 6 дни
родител
ревизия
fee042dbd6
променени са 2 файла, в които са добавени 19 реда и са изтрити 19 реда
  1. 7 7
      cfc-frontend/pages/body-detail/dimension-detail.vue
  2. 12 12
      cfc-frontend/pages/body-detail/dimension-questionnaire.vue

+ 7 - 7
cfc-frontend/pages/body-detail/dimension-detail.vue

@@ -342,7 +342,7 @@ export default {
 <style scoped lang="scss">
 .dd-container {
   min-height: 100vh;
-  background: $brand-legacy-blue-tint;
+  background: $uni-primary-pale;
   padding-bottom: 100rpx;
 }
 .dd-loading {
@@ -356,7 +356,7 @@ export default {
   color: $facade-text-muted;
 }
 .dd-header {
-  background: linear-gradient(135deg, $brand-legacy-blue, $brand-legacy-blue-light);
+  background: linear-gradient(135deg, $brand-primary, $brand-primary-light);
   padding: 60rpx 0;
   text-align: center;
   color: $app-surface;
@@ -436,7 +436,7 @@ export default {
 .dd-percentile-value {
   font-size: 48rpx;
   font-weight: 700;
-  color: $brand-legacy-blue;
+  color: $brand-primary;
 }
 .dd-percentile-label {
   font-size: 26rpx;
@@ -456,7 +456,7 @@ export default {
 .dd-sug-num {
   width: 40rpx;
   height: 40rpx;
-  background: $brand-legacy-blue;
+  background: $brand-primary;
   color: $app-surface;
   border-radius: 50%;
   text-align: center;
@@ -514,7 +514,7 @@ export default {
   flex: 1;
   height: 88rpx;
   line-height: 88rpx;
-  background: linear-gradient(135deg, $brand-legacy-blue, $brand-legacy-blue-light);
+  background: linear-gradient(135deg, $brand-primary, $brand-primary-light);
   color: $app-surface;
   font-size: 32rpx;
   border-radius: 44rpx;
@@ -522,7 +522,7 @@ export default {
 }
 .dd-btn-outline {
   background: $app-surface;
-  color: $brand-legacy-blue;
-  border: 2rpx solid $brand-legacy-blue;
+  color: $brand-primary;
+  border: 2rpx solid $brand-primary;
 }
 </style>

+ 12 - 12
cfc-frontend/pages/body-detail/dimension-questionnaire.vue

@@ -443,7 +443,7 @@ export default {
 <style scoped lang="scss">
 .qd-container {
   min-height: 100vh;
-  background: $brand-legacy-blue-tint;
+  background: $uni-primary-pale;
   padding: 20rpx 30rpx 100rpx;
 }
 .qd-loading {
@@ -496,8 +496,8 @@ export default {
   box-sizing: border-box;
 }
 .qd-dim-item.active {
-  border-color: $brand-legacy-blue;
-  background: $brand-legacy-blue-select;
+  border-color: $brand-primary;
+  background: $brand-primary-soft;
 }
 .qd-dim-icon {
   font-size: 48rpx;
@@ -514,7 +514,7 @@ export default {
   right: 10rpx;
   width: 36rpx;
   height: 36rpx;
-  background: $brand-legacy-blue;
+  background: $brand-primary;
   color: $app-surface;
   border-radius: 50%;
   text-align: center;
@@ -523,7 +523,7 @@ export default {
 }
 .qd-progress {
   font-size: 26rpx;
-  color: $brand-legacy-blue;
+  color: $brand-primary;
   margin-top: 10rpx;
 }
 .qd-progress-bar {
@@ -534,7 +534,7 @@ export default {
 }
 .qd-progress-fill {
   height: 100%;
-  background: linear-gradient(90deg, $brand-legacy-blue, $brand-legacy-blue-light);
+  background: linear-gradient(90deg, $brand-primary, $brand-primary-light);
   border-radius: 3rpx;
   transition: width 0.3s ease;
 }
@@ -565,8 +565,8 @@ export default {
   transition: all 0.2s;
 }
 .qd-option.selected {
-  border-color: $brand-legacy-blue;
-  background: $brand-legacy-blue-select;
+  border-color: $brand-primary;
+  background: $brand-primary-soft;
 }
 .qd-opt-label {
   font-size: 28rpx;
@@ -576,7 +576,7 @@ export default {
 .qd-opt-check {
   width: 36rpx;
   height: 36rpx;
-  background: $brand-legacy-blue;
+  background: $brand-primary;
   color: $app-surface;
   border-radius: 50%;
   text-align: center;
@@ -593,7 +593,7 @@ export default {
   flex: 1;
   height: 88rpx;
   line-height: 88rpx;
-  background: linear-gradient(135deg, $brand-legacy-blue, $brand-legacy-blue-light);
+  background: linear-gradient(135deg, $brand-primary, $brand-primary-light);
   color: $app-surface;
   font-size: 32rpx;
   border-radius: 44rpx;
@@ -610,8 +610,8 @@ export default {
 }
 .qd-btn-outline {
   background: $app-surface;
-  color: $brand-legacy-blue;
-  border: 2rpx solid $brand-legacy-blue;
+  color: $brand-primary;
+  border: 2rpx solid $brand-primary;
 }
 .qd-result {
   text-align: center;