Quellcode durchsuchen

chore: auto bump version and changelog [skip ci]

iwt vor 5 Tagen
Ursprung
Commit
61ed8b5f95

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-1ff115c5d35473315248176107bd7dbc61d286b9
+0efaf51a50e10e2b2e8091d58dbd128384ab8a84

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1737",
+  "version": "1.0.1738",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1737",
+      "version": "1.0.1738",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1738",
+  "version": "1.0.1739",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 51 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,57 @@
 
 ---
 
+## v1.0.1739 (2026-10-21)
+
+### 重构
+- D41 模板区剩余硬编码色收编 (hex 349->323)
+- D40 script 段重复色值收编 BrandColors (hex 387->349)
+- D39 12 处含 hex 的静态内联 style 收敛为 class + 令牌
+
+### 其他
+-   pink100/800、indigo100/800)+ 占位符色 textHint (#BBB)
+- - 雷达图 5 页 gridColor/labelColor 属性字面量改 data 绑定
+- - 模板表达式拼接色收编:article-edit / article-center / mind-detail/articles 的
+-   ';color:#fff',challenge-progress 的 conic-gradient 双色
+- - 组件属性绑定:progress backgroundColor(child/rewards、rewards/rewards)、
+-   switch color(shop/consignee-edit)
+- - placeholder-style 7 处改 :placeholder-style 绑定(shop/address-edit ×3、
+-   shop/checkout ×3、diet/index ×1)
+- - 模板区 hex 29 -> 3(余 2 处 SVG stroke/stop 属计划边界,1 处 ✓ 为误报)
+- - 全量自检 383 文件 0 失败;brandcolor 完整性 PASS;硬编码色 349 -> 323
+- 
+-   emerald50/cyan500/indigo600/indigo50/pink600/pink50/orange300 彩色档、
+-   tint*Soft 浅底、elementDanger 等
+- - d31-script-hex-harvest.js MAP 扩充 36 条(含 #444/#999/#FFF 简写与等值长写)
+- - 23 文件 75 处 script 段色字面量改 BrandColors.*(仅整段字符串即 hex 的安全场景)
+- - 全量自检 383 文件模板/样式/脚本 0 失败;brandcolor 完整性四项 0;
+-   反模式审计 ERROR 0;硬编码色 387 -> 349
+- 
+- - diet/records:周报强调条内联渐变与 .card-accent 同值,直接复用类
+- - health/nutrition-profile:图例色块 -> .legend-color--score / --gut
+- - health/report-blocks-renderer:分数明细 4 处内联 -> .sub-items/.sub-item/.sub-label/.sub-value
+- - mind-detail/screening:量表图标底 -> .scale-icon-wrap--phq / --gad
+- - tasks/create-task:流程任务 8 处内联 -> .form-item--flow/.label--pre/--post/
+-   .form-hint--tight/.task-picker-scroll/.flow-hint
+- - 硬编码色 400 -> 387;含 hex 的静态内联 style 归零;6 文件模板/样式/脚本编译通过
+- 
+-   ERROR: 模板 ?.、:key 运算符、CSS 中文选择器、getSystemInfoSync、
+-   transition:all、v-for 缺 :key(跨行识别)、日期 toLocale*String
+-   WARN: new Date(非字面量)、:class/:style 带参方法调用
+-   当前 ERROR 0 / WARN 184(WARN 为存量提示项)
+- - teacher/chat.vue:消息时间 new Date().toLocaleString() -> formatDateTime()
+-   (toLocaleString 在 iOS/安卓输出不一致,违反时间显示规范)
+- - 8 处 new Date(<后端字符串>) 改 parseDate():FamilyChallengeCard、
+-   diet/record-detail、health/daily-checkin、health/water-index、
+-   profile/message-history(排序)、tasks(deadline 时间戳)、wealth-cf
+- - index-home:删除与 utils/format.js 重复的本地 parseDate(死代码,且 iOS 不安全)
+- - 9 文件模板/样式/脚本编译通过;AGENTS.md 补审计命令与分级说明
+- 
+
+### Bug 修复
+- 新增小程序反模式审计 + 修正 9 处日期解析/格式化违规
+
+
 ## v1.0.1738 (2026-10-21)
 
 ### 重构

+ 52 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1738
+> 当前版本: v1.0.1739
 
 ## 历史版本
 
@@ -8,6 +8,57 @@
 
 ---
 
+## v1.0.1739 (2026-10-21)
+
+### 重构
+- D41 模板区剩余硬编码色收编 (hex 349->323)
+- D40 script 段重复色值收编 BrandColors (hex 387->349)
+- D39 12 处含 hex 的静态内联 style 收敛为 class + 令牌
+
+### 其他
+-   pink100/800、indigo100/800)+ 占位符色 textHint (#BBB)
+- - 雷达图 5 页 gridColor/labelColor 属性字面量改 data 绑定
+- - 模板表达式拼接色收编:article-edit / article-center / mind-detail/articles 的
+-   ';color:#fff',challenge-progress 的 conic-gradient 双色
+- - 组件属性绑定:progress backgroundColor(child/rewards、rewards/rewards)、
+-   switch color(shop/consignee-edit)
+- - placeholder-style 7 处改 :placeholder-style 绑定(shop/address-edit ×3、
+-   shop/checkout ×3、diet/index ×1)
+- - 模板区 hex 29 -> 3(余 2 处 SVG stroke/stop 属计划边界,1 处 &#10003; 为误报)
+- - 全量自检 383 文件 0 失败;brandcolor 完整性 PASS;硬编码色 349 -> 323
+- 
+-   emerald50/cyan500/indigo600/indigo50/pink600/pink50/orange300 彩色档、
+-   tint*Soft 浅底、elementDanger 等
+- - d31-script-hex-harvest.js MAP 扩充 36 条(含 #444/#999/#FFF 简写与等值长写)
+- - 23 文件 75 处 script 段色字面量改 BrandColors.*(仅整段字符串即 hex 的安全场景)
+- - 全量自检 383 文件模板/样式/脚本 0 失败;brandcolor 完整性四项 0;
+-   反模式审计 ERROR 0;硬编码色 387 -> 349
+- 
+- - diet/records:周报强调条内联渐变与 .card-accent 同值,直接复用类
+- - health/nutrition-profile:图例色块 -> .legend-color--score / --gut
+- - health/report-blocks-renderer:分数明细 4 处内联 -> .sub-items/.sub-item/.sub-label/.sub-value
+- - mind-detail/screening:量表图标底 -> .scale-icon-wrap--phq / --gad
+- - tasks/create-task:流程任务 8 处内联 -> .form-item--flow/.label--pre/--post/
+-   .form-hint--tight/.task-picker-scroll/.flow-hint
+- - 硬编码色 400 -> 387;含 hex 的静态内联 style 归零;6 文件模板/样式/脚本编译通过
+- 
+-   ERROR: 模板 ?.、:key 运算符、CSS 中文选择器、getSystemInfoSync、
+-   transition:all、v-for 缺 :key(跨行识别)、日期 toLocale*String
+-   WARN: new Date(非字面量)、:class/:style 带参方法调用
+-   当前 ERROR 0 / WARN 184(WARN 为存量提示项)
+- - teacher/chat.vue:消息时间 new Date().toLocaleString() -> formatDateTime()
+-   (toLocaleString 在 iOS/安卓输出不一致,违反时间显示规范)
+- - 8 处 new Date(<后端字符串>) 改 parseDate():FamilyChallengeCard、
+-   diet/record-detail、health/daily-checkin、health/water-index、
+-   profile/message-history(排序)、tasks(deadline 时间戳)、wealth-cf
+- - index-home:删除与 utils/format.js 重复的本地 parseDate(死代码,且 iOS 不安全)
+- - 9 文件模板/样式/脚本编译通过;AGENTS.md 补审计命令与分级说明
+- 
+
+### Bug 修复
+- 新增小程序反模式审计 + 修正 9 处日期解析/格式化违规
+
+
 ## v1.0.1738 (2026-10-21)
 
 ### 重构