Просмотр исходного кода

chore: auto bump version and changelog [skip ci]

iwt 1 месяц назад
Родитель
Сommit
6497ef761e

+ 23 - 1
cfc-frontend/pages/mind-detail/emotion-report.vue

@@ -67,6 +67,26 @@
       </view>
     </view>
 
+    <!-- 画像推荐 -->
+    <view class="section rec-section" v-if="recommendations.length > 0 && !recLoading">
+      <view class="section-header">
+        <text class="section-title">🎯 为你推荐</text>
+        <text class="section-sub">基于你的心理画像智能匹配</text>
+      </view>
+      <view class="rec-list">
+        <view class="rec-card" v-for="(item, idx) in recommendations" :key="idx" @click="goRecDetail(item)">
+          <view class="rec-card-left">
+            <text class="rec-card-icon">{{ item.type === 'article' ? '📖' : (item.type === 'activity' ? '🎯' : '🛒') }}</text>
+            <view class="rec-card-info">
+              <text class="rec-card-title">{{ item.title }}</text>
+              <text class="rec-card-desc">{{ item.summary || item.reason }}</text>
+            </view>
+          </view>
+          <text class="rec-card-score">⭐ {{ Math.round(item.recommendScore) }}</text>
+        </view>
+      </view>
+    </view>
+
     <!-- 加载中 -->
     <view class="loading-state" v-if="loading">
       <text class="loading-text">加载中...</text>
@@ -84,7 +104,7 @@
 
 <script>
 import PageBanner from '../../components/PageBanner.vue'
-import { getEmiReport } from '../../utils/api.js'
+import { getEmiReport, getProfileRecommend } from '../../utils/api.js'
 
 export default {
   components: { PageBanner },
@@ -93,6 +113,8 @@ export default {
       memberId: null,
       report: null,
       loading: true,
+      recommendations: [],
+      recLoading: false,
       dimensions: [
         { key: 'emotionStability', label: '情绪稳定性', icon: '\u{1F9E0}', color: '#FF6B35', desc: '情绪调节的综合能力(含自卑-自信、抑郁-愉悦、焦虑-安详、无力感-掌控感四个隐性指标)' }
       ]

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-478b17a8f880256410254a53d2a3f438738c42fa
+86b7ceb4e83864a8f6e7e5c8450bc71cd803962c

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

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1039",
+  "version": "1.0.1040",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1039",
+      "version": "1.0.1040",
       "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.1040",
+  "version": "1.0.1041",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

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

@@ -4,6 +4,15 @@
 
 ---
 
+## v1.0.1041 (2026-08-14)
+
+### 新功能
+- 改版v1数据层 - problem_domains/user_intents/user_notifications 三表 + task.member_only + package_orders物流字段
+
+### Bug 修复
+- 修复合并冲突残留
+
+
 ## v1.0.1040 (2026-08-14)
 
 ### 新功能

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

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1040
+> 当前版本: v1.0.1041
 
 ## 历史版本
 
@@ -8,6 +8,15 @@
 
 ---
 
+## v1.0.1041 (2026-08-14)
+
+### 新功能
+- 改版v1数据层 - problem_domains/user_intents/user_notifications 三表 + task.member_only + package_orders物流字段
+
+### Bug 修复
+- 修复合并冲突残留
+
+
 ## v1.0.1040 (2026-08-14)
 
 ### 新功能