Преглед изворни кода

chore: auto bump version and changelog [skip ci]

iwt пре 1 месец
родитељ
комит
0d3a80707c

+ 19 - 1
cfc-frontend/pages/action-detail/member-action-detail.vue

@@ -85,7 +85,6 @@
 
 <script>
 import PageBanner from '../../components/PageBanner.vue'
-import LoginGuideCard from '../../components/LoginGuideCard.vue'
 import FamilyEnergyBar from '../../components/FamilyEnergyBar.vue'
 import FamilyRelationGraph from '../../components/FamilyRelationGraph.vue'
 import DimensionTasks from '../../components/DimensionTasks.vue'
@@ -147,6 +146,25 @@ export default {
     },
     intimacyMapForGraph: function() {
       return {}
+    },
+    /** 每月引导语 */
+    monthlyGuidance: function() {
+      var month = new Date().getMonth()
+      var messages = [
+        '一月:新年伊始,增进家庭沟通',
+        '二月:春节团聚,珍惜亲子时光',
+        '三月:春暖花开,多陪伴孩子',
+        '四月:清明踏青,共享家庭活动',
+        '五月:劳动教育,培养家庭责任感',
+        '六月:儿童节,倾听孩子心声',
+        '七月:暑期陪伴,增进亲子关系',
+        '八月:开学准备,共同规划',
+        '九月:新学期,建立家庭规则',
+        '十月:国庆假期,家庭协作时光',
+        '十一月:感恩季节,表达家庭关爱',
+        '十二月:年终总结,回顾家庭成长'
+      ]
+      return messages[month] || messages[0]
     }
   },
   methods: {

+ 19 - 0
cfc-frontend/pages/mind-detail/index.vue

@@ -235,6 +235,25 @@ components: { TabTransition, PageBanner, RadarChart, FamilyEnergyBar, PsychCrisi
     }
   },
   computed: {
+    /** 每月引导语 */
+    monthlyGuidance: function() {
+      var month = new Date().getMonth()
+      var messages = [
+        '一月:新年新起点,从情绪觉察开始',
+        '二月:春节团聚,关注家人心理联结',
+        '三月:春意盎然,适合情绪释放',
+        '四月:清明时节,整理内心情绪',
+        '五月:劳动之余,关注心理健康',
+        '六月:中考高考季,减压情绪管理',
+        '七月:暑期到来,培养情绪调节能力',
+        '八月:夏末秋初,回顾情绪成长',
+        '九月:开学季,关注孩子心理适应',
+        '十月:国庆假期,增进亲子沟通',
+        '十一月:秋冬交替,预防情绪低落',
+        '十二月:年终总结,规划心理成长'
+      ]
+      return messages[month] || messages[0]
+    },
     personalityScores: function() {
       if (!this.emiData) return []
       return [

+ 19 - 0
cfc-frontend/pages/wisdom-detail/index.vue

@@ -185,6 +185,25 @@ export default {
         scores.push(this.cognitiveReport[dims[i].key] || 0)
       }
       return scores
+    },
+    /** 每月引导语 */
+    monthlyGuidance: function() {
+      var month = new Date().getMonth()
+      var messages = [
+        '一月:新年新目标,制定学习计划',
+        '二月:春节收获知识,拓展认知边界',
+        '三月:植树节到,播种智慧种子',
+        '四月:清明踏青,激发创造力',
+        '五月:劳动节后,专注能力提升',
+        '六月:考试季,科学备考策略',
+        '七月:暑期黄金期,查漏补缺',
+        '八月:开学准备,提前规划学习',
+        '九月:新学期,设定学习目标',
+        '十月:国庆假期,阅读充电',
+        '十一月:年终冲刺,巩固知识',
+        '十二月:年度总结,规划来年学习'
+      ]
+      return messages[month] || messages[0]
     }
   },
   onShow() {

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-f909469accfaaae4baefa781be08344a4720b2f5
+f9413da04da157d17ad606f7288be967f3b7dbc1

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

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