فهرست منبع

feat(intent-picker): 单入口问卷弹窗 + 首页跳转修正

- IntentPicker: 仅一个卡片「开始测试」+ 底部「以后再说」
- 以后再说调用 /api/user-intent/skip 记录skipCount,最多3次
- B类跳转改为 /pages/health/ai-questionnaire(原指向domain-list)
- handleIntentClose 移除旧 intent_skipped 存储标记
- 后端skip接口、user_intents.skip_count列均已就绪
iwt 2 ماه پیش
والد
کامیت
03023c3e36
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      cfc-frontend/pages/index-home/index.vue

+ 0 - 1
cfc-frontend/pages/index-home/index.vue

@@ -1105,7 +1105,6 @@ export default {
     },
     },
     handleIntentClose: function() {
     handleIntentClose: function() {
       this.showIntentPicker = false
       this.showIntentPicker = false
-      uni.setStorageSync('intent_skipped', '1')
     },
     },
     handleJourneyAction: function(payload) {
     handleJourneyAction: function(payload) {
       var action = payload && payload.action
       var action = payload && payload.action