diff --git a/App.vue b/App.vue index 9d7a82b..36ba049 100644 --- a/App.vue +++ b/App.vue @@ -4,6 +4,42 @@ doctorId:'', doctoridStorageKey:'doctor_id' }, + + onShow: function() { + var updateManager = uni.getUpdateManager(); + updateManager.onCheckForUpdate(function(res) { + console.log("是否有最近版本", res.hasUpdate) + }); + + updateManager.onUpdateReady(function(res) { + uni.showModal({ + title: '更新提示', + content: '新版本已经准备好,是否重启应用?', + showCancel: false, + success(res) { + if (res.confirm) { + updateManager.applyUpdate(); + } + } + }); + }); + + updateManager.onUpdateFailed(function(res) { + uni.showModal({ + title: '提示', + content: '新版小程序下载失败\n请自行退出程序,手动卸载本程序,再运行', + confirmText: "知道了", + showCancel: false, + success(res) { + wx.exitMiniProgram({ + success: () => { + console.log('退出小程序成功'); + } + }); + } + }); + }); + }, onLaunch: function(option) { console.log(option, 'option===='); var did = false @@ -82,7 +118,6 @@ } }, - onShow: function() {}, onHide: function() {} } @@ -242,6 +277,7 @@ } .btn{ text-align: center; + font-size: 32rpx; } .primary.btn{ background-color: #39D067; diff --git a/components/bookBox.vue b/components/bookBox.vue deleted file mode 100644 index 87f7190..0000000 --- a/components/bookBox.vue +++ /dev/null @@ -1,303 +0,0 @@ - - - - - diff --git a/main.js b/main.js index d3aa128..0e09e97 100644 --- a/main.js +++ b/main.js @@ -287,6 +287,12 @@ function req(url, data={}, method = 'POST', header={}) { } return; } + + if (rs.confirm && rdata.code!=CODE_LOGIN_EXIPRE && rdata.msg && rdata.msg.indexOf('用户信息不存在') > -1) { + removeLogin(); + navToPath('/pages/index/index') + return; + } } }); diff --git a/pages/index/index.vue b/pages/index/index.vue index c5c409f..df4aec0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -3,55 +3,55 @@ - {{doctorInfo.doctor_info.doctor_name}} - - {{doctor_dept}} + {{ doctorInfo.doctor_info.doctor_name }} + + {{ doctorInfo.doctor_info.label }} - {{doctorInfo.doctor_info.doctor_desc}} + {{ doctorInfo.doctor_info.doctor_desc }} - + - + - {{doctorInfo.doctor_info.doctor_detail}} + {{ doctorInfo.doctor_info.doctor_detail }} - - + - + - {{item.hospital_name}} + {{ item.hospital_name }} 医保定点 - {{item.address}} + {{ item.address }} - + 导航 @@ -59,20 +59,20 @@ - + 出诊:{{ item.workdate_desc }} - - + + - - 预约看病 + + 开始预约 @@ -81,528 +81,718 @@ - 最近就诊 + 最近预约 - + - 查看全部 + 查看全部 - + + + + + 需要填写真实姓名,来确保您账号的唯一性 + + 真实姓名 + + + + + 完成 + + + + + diff --git a/中医针灸改版2.0_2025_03_06/需求拆分.txt b/中医针灸改版2.0_2025_03_06/需求拆分.txt index 9b27b73..8d867ae 100644 --- a/中医针灸改版2.0_2025_03_06/需求拆分.txt +++ b/中医针灸改版2.0_2025_03_06/需求拆分.txt @@ -1,23 +1,23 @@ 中医针灸患者端静态页面及样式改造 1.首页调整 (1)首页医院地址导航在小程序中打开样式 -(2)增加就诊须知折叠面板 +(2)增加预约须知折叠面板 (3)增加医保定点标签 (4)出诊医院列表样式调整 2.底部公共菜单增加“现场报道”入口 3.首页医院列表部分样式调整 -4.选择就诊人列表页面调整 +4.选择预约人列表页面调整 进行中 -4.新增就诊人页面样式改造 +4.新增预约人页面样式改造 5.扫码报道页面 6.确认报道页面 7.确认报道空页面 8.候诊方式页面 9.个人中心页面样式改造 -11.就诊人列表页面 -12.就诊记录页面 -13.就诊详情页面样式改造 +11.预约人列表页面 +12.预约记录页面 +13.预约详情页面样式改造 14.候诊状态,所在床位弹窗 1.首页医院地址导航在小程序中打开调整 diff --git a/针灸挂号系统功能拆分.txt b/针灸挂号系统功能拆分.txt index a44a189..9e611f3 100644 --- a/针灸挂号系统功能拆分.txt +++ b/针灸挂号系统功能拆分.txt @@ -14,23 +14,23 @@ 2.用户端首页样式调整 已完成 -1.挂号就诊人页面 -2.新增就诊人信息页面 +1.挂号预约人页面 +2.新增预约人信息页面 已完成 -1.针灸挂号系统选择就诊人页面 -2.修改就诊人信息页面 -3.就诊人信息页面 +1.针灸挂号系统选择预约人页面 +2.修改预约人信息页面 +3.预约人信息页面 待完成 一、患者端 静态页面 -2.就诊人预约挂号页面 +2.预约人预约挂号页面 预计完成 2024-03-11 09:30~2024-03-11 19:00 3.个人中心页面 4.修改个人资料页面 预计完成 2024-03-12 09:30~2024-03-12 19:00 -5.就诊人列表页面 +5.预约人列表页面 预计完成 2024-03-13 09:30~2024-03-13 19:00 6.预约列表页面 @@ -108,11 +108,11 @@ (1)选择医院使用腾讯位置服务接口 https://lbs.qq.com/service/webService/webServiceGuide/search/webServiceSuggestion -已完成 -1.快乐论文ai论文提交页面增加学历/专业选项 +已完成 +1.快乐论文ai论文提交页面增加学历/专业选项 2.快乐论文ai青色主题模板提交页面顶部公告样式调整 - -进行中 + +进行中 1.AI论文增加公式 进行中