diff --git a/pages/ai/aichat.js b/pages/ai/aichat.js index 8bbcf94..89ca034 100644 --- a/pages/ai/aichat.js +++ b/pages/ai/aichat.js @@ -8,7 +8,6 @@ Page({ isTyping: false, scrollToMessage: '', quickQuestions: [ - '怎么加入暖橙团队?', '陪诊服务的流程是什么?', '如何预约陪诊服务?', '陪诊服务收费标准?' @@ -27,9 +26,22 @@ Page({ }, onShow() { + this.getAiQuickQuestions() this.setData({ inputFocus: true }) }, + // 获取陪诊服务问题 + async getAiQuickQuestions() { + try { + const res = await API.resource.getAiQuickQuestions() + if (res.code === 0) { + this.setData({ quickQuestions: res.data.aiquick_questions }) + } + } catch (err) { + console.error('获取陪诊服务问题失败', err) + } + }, + initSocketListeners() { const app = getApp() const socket = app.globalData.chatSocket diff --git a/pages/escort/recorddetail.json b/pages/escort/recorddetail.json index d25b6a3..0129681 100644 --- a/pages/escort/recorddetail.json +++ b/pages/escort/recorddetail.json @@ -1,5 +1,5 @@ { - "navigationBarTitleText": "陪诊记录详情", + "navigationBarTitleText": "预约记录详情", "usingComponents": {}, "enablePullDownRefresh": true, "backgroundTextStyle": "dark" diff --git a/pages/escort/recordlist.json b/pages/escort/recordlist.json index 523c3ef..364c7a8 100644 --- a/pages/escort/recordlist.json +++ b/pages/escort/recordlist.json @@ -1,5 +1,5 @@ { - "navigationBarTitleText": "陪诊记录", + "navigationBarTitleText": "预约记录", "usingComponents": {}, "enablePullDownRefresh": true, "backgroundTextStyle": "dark" diff --git a/pages/home/index.json b/pages/home/index.json index 6b0e57a..983608c 100644 --- a/pages/home/index.json +++ b/pages/home/index.json @@ -1,6 +1,6 @@ { "navigationStyle": "custom", - "navigationBarTitleText": "优医优诊", + "navigationBarTitleText": "暖橙陪诊", "usingComponents": { "t-icon": "tdesign-miniprogram/icon/icon" } diff --git a/pages/mine/about.wxml b/pages/mine/about.wxml index 63d491f..ed52951 100644 --- a/pages/mine/about.wxml +++ b/pages/mine/about.wxml @@ -7,7 +7,6 @@ 暖橙陪诊 温暖陪伴,专业守护 - 版本号:V 0.1.0 diff --git a/pages/mine/mine.js b/pages/mine/mine.js index dc0970b..d74367d 100644 --- a/pages/mine/mine.js +++ b/pages/mine/mine.js @@ -32,7 +32,7 @@ Page({ }, { groupName: '陪诊', items: [{ - name: '陪诊记录', + name: '预约记录', icon: 'assignment', bindtap: 'onTapEscortRecord' }] diff --git a/pages/mine/mine.wxml b/pages/mine/mine.wxml index 8a07361..49a2ffa 100644 --- a/pages/mine/mine.wxml +++ b/pages/mine/mine.wxml @@ -21,7 +21,7 @@ - 版本号:V 0.1.0 + 版本号:V 1.1.3 © 2026 北京奕华盛科技 版权所有 diff --git a/project.private.config.json b/project.private.config.json index edc748c..8c69f31 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -1,6 +1,6 @@ { "libVersion": "3.15.2", - "projectname": "wxapp", + "projectname": "wxapp_escort", "setting": { "urlCheck": false, "coverView": true, diff --git a/utils/api.js b/utils/api.js index 4bca36f..93dfdf1 100644 --- a/utils/api.js +++ b/utils/api.js @@ -24,6 +24,7 @@ const API = { getHospitalInfo: (params) => request.get('/health/hospital-info', params), getHospitalRanking: (params) => request.get('/health/hospital-ranking', params), getDepartmentRankings: (params) => request.get('/health/department-rankings', params), + getAiQuickQuestions: (params) => request.get('/health/ai-quick-questions', params), }, ai: {