Compare commits
2 Commits
2828c28a23
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bbf4b0449 | |||
| c208b95ad2 |
@@ -8,7 +8,6 @@ Page({
|
|||||||
isTyping: false,
|
isTyping: false,
|
||||||
scrollToMessage: '',
|
scrollToMessage: '',
|
||||||
quickQuestions: [
|
quickQuestions: [
|
||||||
'怎么加入暖橙团队?',
|
|
||||||
'陪诊服务的流程是什么?',
|
'陪诊服务的流程是什么?',
|
||||||
'如何预约陪诊服务?',
|
'如何预约陪诊服务?',
|
||||||
'陪诊服务收费标准?'
|
'陪诊服务收费标准?'
|
||||||
@@ -27,9 +26,22 @@ Page({
|
|||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.getAiQuickQuestions()
|
||||||
this.setData({ inputFocus: true })
|
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() {
|
initSocketListeners() {
|
||||||
const app = getApp()
|
const app = getApp()
|
||||||
const socket = app.globalData.chatSocket
|
const socket = app.globalData.chatSocket
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"navigationBarTitleText": "陪诊记录详情",
|
"navigationBarTitleText": "预约记录详情",
|
||||||
"usingComponents": {},
|
"usingComponents": {},
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"backgroundTextStyle": "dark"
|
"backgroundTextStyle": "dark"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"navigationBarTitleText": "陪诊记录",
|
"navigationBarTitleText": "预约记录",
|
||||||
"usingComponents": {},
|
"usingComponents": {},
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"backgroundTextStyle": "dark"
|
"backgroundTextStyle": "dark"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"navigationBarTitleText": "优医优诊",
|
"navigationBarTitleText": "暖橙陪诊",
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"t-icon": "tdesign-miniprogram/icon/icon"
|
"t-icon": "tdesign-miniprogram/icon/icon"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
</view>
|
</view>
|
||||||
<text class="app-name">暖橙陪诊</text>
|
<text class="app-name">暖橙陪诊</text>
|
||||||
<text class="app-slogan">温暖陪伴,专业守护</text>
|
<text class="app-slogan">温暖陪伴,专业守护</text>
|
||||||
<text class="version">版本号:V 0.1.0</text>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 功能列表 -->
|
<!-- 功能列表 -->
|
||||||
@@ -52,6 +51,13 @@
|
|||||||
<t-icon name="call" class="contact-icon" size="32rpx" />
|
<t-icon name="call" class="contact-icon" size="32rpx" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="contact-item">
|
||||||
|
<view class="contact-label">微信联系</view>
|
||||||
|
<view class="contact-value-wrap">
|
||||||
|
<text class="contact-value">18618162956</text>
|
||||||
|
<t-icon name="logo-wechat-stroke" class="contact-icon" size="32rpx" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="contact-item">
|
<view class="contact-item">
|
||||||
<view class="contact-label">工作时间</view>
|
<view class="contact-label">工作时间</view>
|
||||||
<view class="contact-value-wrap">
|
<view class="contact-value-wrap">
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Page({
|
|||||||
}, {
|
}, {
|
||||||
groupName: '陪诊',
|
groupName: '陪诊',
|
||||||
items: [{
|
items: [{
|
||||||
name: '陪诊记录',
|
name: '预约记录',
|
||||||
icon: 'assignment',
|
icon: 'assignment',
|
||||||
bindtap: 'onTapEscortRecord'
|
bindtap: 'onTapEscortRecord'
|
||||||
}]
|
}]
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="footer-section">
|
<view class="footer-section">
|
||||||
<text class="version">版本号:V 0.1.0</text>
|
<text class="version">版本号:V 1.1.3</text>
|
||||||
<text class="copyright">© 2026 北京奕华盛科技 版权所有</text>
|
<text class="copyright">© 2026 北京奕华盛科技 版权所有</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"libVersion": "3.15.2",
|
"libVersion": "3.15.2",
|
||||||
"projectname": "wxapp",
|
"projectname": "wxapp_escort",
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"coverView": true,
|
"coverView": true,
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ const API = {
|
|||||||
getHospitalInfo: (params) => request.get('/health/hospital-info', params),
|
getHospitalInfo: (params) => request.get('/health/hospital-info', params),
|
||||||
getHospitalRanking: (params) => request.get('/health/hospital-ranking', params),
|
getHospitalRanking: (params) => request.get('/health/hospital-ranking', params),
|
||||||
getDepartmentRankings: (params) => request.get('/health/department-rankings', params),
|
getDepartmentRankings: (params) => request.get('/health/department-rankings', params),
|
||||||
|
getAiQuickQuestions: (params) => request.get('/health/ai-quick-questions', params),
|
||||||
},
|
},
|
||||||
|
|
||||||
ai: {
|
ai: {
|
||||||
|
|||||||
Reference in New Issue
Block a user