From 2312f7277f0348dcbe9c994bc6c074988c89c6f1 Mon Sep 17 00:00:00 2001 From: kola-web Date: Wed, 3 Jun 2026 09:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E8=AF=8A=20=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 2 +- project.private.config.json | 20 ++- src/app.json | 4 +- src/components/popup/index.scss | 51 +++++++ src/components/popup/index.wxml | 14 +- src/components/toast/index.scss | 45 +++++++ src/components/toast/index.wxml | 13 ++ src/pages/d_interactiveDoctor/index.scss | 161 ++++++++++++++++++++++ src/pages/d_interactiveDoctor/index.ts | 2 +- src/pages/d_interactiveDoctor/index.wxml | 44 ++++++ src/patient/pages/follow/index.json | 5 + src/patient/pages/follow/index.scss | 110 +++++++++++++++ src/patient/pages/follow/index.ts | 8 ++ src/patient/pages/follow/index.wxml | 22 +++ src/patient/pages/followForm/index.json | 9 ++ src/patient/pages/followForm/index.scss | 172 ++++++++++++++++++++++++ src/patient/pages/followForm/index.ts | 23 ++++ src/patient/pages/followForm/index.wxml | 69 ++++++++++ src/patient/pages/index/index.scss | 103 ++++++++++++++ src/patient/pages/index/index.ts | 11 ++ src/patient/pages/index/index.wxml | 32 +++++ src/patient/pages/interactivePatient/index.scss | 157 +++++++++++++++++++++ src/patient/pages/interactivePatient/index.wxml | 48 ++++++- src/patient/pages/my/index.scss | 30 ++++- src/patient/pages/my/index.wxml | 19 +-- 25 files changed, 1154 insertions(+), 20 deletions(-) create mode 100644 src/patient/pages/follow/index.json create mode 100644 src/patient/pages/follow/index.scss create mode 100644 src/patient/pages/follow/index.ts create mode 100644 src/patient/pages/follow/index.wxml create mode 100644 src/patient/pages/followForm/index.json create mode 100644 src/patient/pages/followForm/index.scss create mode 100644 src/patient/pages/followForm/index.ts create mode 100644 src/patient/pages/followForm/index.wxml diff --git a/project.config.json b/project.config.json index f6772f8..625d498 100644 --- a/project.config.json +++ b/project.config.json @@ -72,4 +72,4 @@ ] }, "appid": "wxf9ce8010f1ad24aa" -} +} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 95aa387..e9df0e8 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -23,13 +23,27 @@ "miniprogram": { "list": [ { - "name": "医生端-眼突度-对比", - "pathName": "pages/d_noteDiffData/index", + "name": "复诊提醒-录入页", + "pathName": "patient/pages/followForm/index", "query": "", "scene": null, "launchMode": "default" }, { + "name": "复诊列表", + "pathName": "patient/pages/follow/index", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "医生端-眼突度-对比", + "pathName": "pages/d_noteDiffData/index", + "query": "", + "launchMode": "default", + "scene": null + }, + { "name": "医生端-日记列表", "pathName": "pages/d_noteList/index", "query": "", @@ -320,4 +334,4 @@ } }, "libVersion": "3.8.9" -} +} \ No newline at end of file diff --git a/src/app.json b/src/app.json index fb1275e..a9276d7 100644 --- a/src/app.json +++ b/src/app.json @@ -83,7 +83,9 @@ "pages/noteHistory/index", "pages/noteDiff/index", "pages/noteDiffEdit/index", - "pages/imageProcessing/index" + "pages/imageProcessing/index", + "pages/follow/index", + "pages/followForm/index" ] }, { diff --git a/src/components/popup/index.scss b/src/components/popup/index.scss index ba73c7b..8418916 100644 --- a/src/components/popup/index.scss +++ b/src/components/popup/index.scss @@ -701,6 +701,57 @@ } } +.popup19 { + .badge { + position: relative; + z-index: 1; + display: block; + width: 302rpx; + height: 278rpx; + margin: 0 auto -192rpx; + text-align: center; + } + .popup-container { + width: 670rpx; + box-sizing: border-box; + padding: 188rpx 48rpx 44rpx; + border-radius: 32rpx; + background: #fff linear-gradient(0deg, #fff, #fbeaf4 100%) no-repeat top center/100% 160rpx; + .title { + font-size: 44rpx; + color: rgba(33, 29, 46, 1); + font-weight: bold; + text-align: center; + } + .content { + margin-top: 28rpx; + font-size: 40rpx; + color: rgba(33, 29, 46, 1); + text-align: center; + } + .p-footer { + margin-top: 42rpx; + display: flex; + gap: 30rpx; + .sure { + flex: 1; + font-size: 36rpx; + border-radius: 100rpx; + height: 88rpx; + box-sizing: border-box; + } + .sure { + padding: 0; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + color: #ffffff; + display: flex; + align-items: center; + justify-content: center; + } + } + } +} + .close { margin: 48rpx auto 0; display: block; diff --git a/src/components/popup/index.wxml b/src/components/popup/index.wxml index 8fc1bb0..71c5abc 100644 --- a/src/components/popup/index.wxml +++ b/src/components/popup/index.wxml @@ -244,15 +244,23 @@ - - 是否替换已有基准照 - + 是否替换已有基准照 取消 确认替换 + + + + 档案已保存 + 下次就医时可出示该卡给医生 + + 知道了 + + + + + + + + 记录复诊信息 + + 持续更新健康情况 + + + 去记录 + + + diff --git a/src/pages/d_interactiveDoctor/index.scss b/src/pages/d_interactiveDoctor/index.scss index 03d8c64..ce4a11a 100644 --- a/src/pages/d_interactiveDoctor/index.scss +++ b/src/pages/d_interactiveDoctor/index.scss @@ -186,6 +186,44 @@ page { } } } + .follow-result { + margin-bottom: 32rpx; + padding: 32rpx; + border-radius: 32rpx; + background-color: #fff; + .title { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .list { + margin-top: 20rpx; + padding: 24rpx; + background-color: rgba(246, 248, 249, 1); + border-radius: 16rpx; + .list-item { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + display: flex; + .blob { + font-weight: bold; + } + &::before { + margin-right: 20rpx; + margin-top: 20rpx; + display: inline-block; + flex-shrink: 0; + content: ''; + width: 10rpx; + height: 10rpx; + border-radius: 50%; + background-color: #7d7d82; + } + &:not(:first-of-type) { + margin-top: 24rpx; + } + } + } + } } } .doctor { @@ -457,6 +495,129 @@ page { } } } + .follow { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .f-footer { + margin-top: 24rpx; + display: flex; + gap: 30rpx; + .btn1, + .btn2 { + flex: 1; + font-size: 28rpx; + border-radius: 100rpx; + height: 76rpx; + box-sizing: border-box; + } + .btn1 { + color: #b982ff; + border: 1px solid #b982ff; + display: flex; + align-items: center; + justify-content: center; + } + .btn2 { + padding: 0; + background: linear-gradient(344deg, #ffbcf9 0%, #b982ff 100%); + color: #ffffff; + display: flex; + align-items: center; + justify-content: center; + } + } + } + .follow-form { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .sub { + font-size: 28rpx; + color: rgba(105, 104, 110, 1); + } + .list { + .list-item { + margin-top: 24rpx; + padding: 18rpx 32rpx; + font-size: 28rpx; + color: rgba(105, 104, 110, 1); + line-height: 36rpx; + border-radius: 16rpx; + background-color: rgba(246, 248, 249, 1); + border: 1px solid rgba(246, 248, 249, 1); + box-sizing: border-box; + &.active { + border-color: rgba(185, 130, 255, 1); + background: rgba(250, 246, 255, 1); + color: rgba(185, 130, 255, 1); + } + } + } + .btn { + margin-top: 30rpx; + height: 76rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 64rpx 64rpx 64rpx 64rpx; + } + } + .follow-reset { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .btn { + margin-top: 30rpx; + height: 76rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 64rpx 64rpx 64rpx 64rpx; + } + } + .follow-next { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .btn { + margin-top: 30rpx; + height: 76rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 64rpx 64rpx 64rpx 64rpx; + } + } } } .place { diff --git a/src/pages/d_interactiveDoctor/index.ts b/src/pages/d_interactiveDoctor/index.ts index cefd8c0..aecac39 100644 --- a/src/pages/d_interactiveDoctor/index.ts +++ b/src/pages/d_interactiveDoctor/index.ts @@ -4,7 +4,7 @@ const app = getApp() interface IMessageItem { msgId: string - msgContentType: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' // 1:文本 2: 出诊时间 3: adl卡片 4: 语音 5: 欢迎语 6:补充真实姓名 7: 提醒完善信息 8: 复诊卡片 9:患者恢复复诊消息 + msgContentType: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' // 1:文本 2: 出诊时间 3: adl卡片 4: 语音 5: 欢迎语 6:补充真实姓名 7: 提醒完善信息 8: 复诊卡片 9:患者恢复复诊消息 12:复诊提醒 13:复诊提醒-快速问答 14:复诊提醒-未复诊鼓励 15:复诊提醒-已复诊结果 msgContent: any msgVisitTime: string msgVisitTimeType?: string diff --git a/src/pages/d_interactiveDoctor/index.wxml b/src/pages/d_interactiveDoctor/index.wxml index a4338bd..d6122f8 100644 --- a/src/pages/d_interactiveDoctor/index.wxml +++ b/src/pages/d_interactiveDoctor/index.wxml @@ -69,6 +69,23 @@ 9.其他 + @@ -143,6 +160,33 @@ 已复诊 + + + + diff --git a/src/patient/pages/follow/index.json b/src/patient/pages/follow/index.json new file mode 100644 index 0000000..46da783 --- /dev/null +++ b/src/patient/pages/follow/index.json @@ -0,0 +1,5 @@ +{ + "navigationStyle": "default", + "navigationBarTitleText": "复诊记录", + "usingComponents": {} +} diff --git a/src/patient/pages/follow/index.scss b/src/patient/pages/follow/index.scss new file mode 100644 index 0000000..a9aa785 --- /dev/null +++ b/src/patient/pages/follow/index.scss @@ -0,0 +1,110 @@ +page { + background-color: rgba(246, 248, 249, 1); +} + +.page { + padding: 48rpx 32rpx; + .card { + display: flex; + gap: 14rpx; + .aside { + flex-shrink: 0; + display: flex; + flex-direction: column; + align-items: center; + .line-top, + .line-bottom { + border-right: 1px dashed rgba(185, 130, 255, 1); + } + .line-bottom { + flex: 1; + } + .line-top { + height: 10rpx; + flex-shrink: 0; + } + .circle { + flex-shrink: 0; + position: relative; + width: 28rpx; + height: 28rpx; + background-color: rgba(185, 130, 255, 0.34); + border-radius: 50%; + &::after { + content: ''; + display: block; + position: absolute; + width: 16rpx; + height: 16rpx; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: rgba(185, 130, 255, 1); + border-radius: 50%; + } + } + } + .container { + .date { + font-size: 36rpx; + color: rgba(33, 29, 46, 1); + } + .wrap { + margin-top: 24rpx; + padding: 30rpx; + background: linear-gradient(180deg, #f9f5ff 0%, #ffffff 21.88%, #ffffff 100%); + border-radius: 24rpx 24rpx 24rpx 24rpx; + border: 2rpx solid #ffffff; + .title { + margin-left: -30rpx; + display: flex; + align-items: center; + gap: 20rpx; + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + &::before { + content: ''; + width: 8rpx; + height: 32rpx; + border-radius: 0 4rpx 4rpx 0; + background: #b982ff; + } + } + .list { + .list-item { + margin-top: 24rpx; + display: flex; + gap: 20rpx; + font-size: 32rpx; + color: rgba(105, 104, 110, 1); + &::before { + margin-top: 16rpx; + flex-shrink: 0; + content: ''; + width: 10rpx; + height: 10rpx; + border-radius: 50%; + background-color: #7d7d82; + } + } + } + .next-date { + margin-top: 24rpx; + padding: 24rpx 32rpx; + background: #fff7e9; + border-radius: 16rpx 16rpx 16rpx 16rpx; + border: 2rpx solid #ffffff; + display: flex; + align-items: center; + gap: 16rpx; + .icon { + width: 36rpx; + height: 36rpx; + } + font-size: 32rpx; + color: rgba(248, 166, 26, 1); + } + } + } + } +} diff --git a/src/patient/pages/follow/index.ts b/src/patient/pages/follow/index.ts new file mode 100644 index 0000000..067b6bb --- /dev/null +++ b/src/patient/pages/follow/index.ts @@ -0,0 +1,8 @@ +const _app = getApp(); + +Page({ + data: {}, + onLoad() {}, +}); + +export {} diff --git a/src/patient/pages/follow/index.wxml b/src/patient/pages/follow/index.wxml new file mode 100644 index 0000000..5d2e5d1 --- /dev/null +++ b/src/patient/pages/follow/index.wxml @@ -0,0 +1,22 @@ + + + + + + + + + 复诊时间:2025-06-11 + + 复诊方案 + + 生物制剂IGF-1R抗体(替妥尤单抗) 第2次使用 + 传统免疫抑制剂(如:吗替麦考酚酯、环孢素等、甲氨蝶呤) + + + + 下次复诊时间:2025-06-11 + + + + diff --git a/src/patient/pages/followForm/index.json b/src/patient/pages/followForm/index.json new file mode 100644 index 0000000..42d86f0 --- /dev/null +++ b/src/patient/pages/followForm/index.json @@ -0,0 +1,9 @@ +{ + "navigationStyle": "default", + "navigationBarTitleText": "复诊提醒录入", + "usingComponents": { + "van-stepper": "@vant/weapp/stepper/index", + "van-icon": "@vant/weapp/icon/index", + "popup": "/components/popup/index" + } +} diff --git a/src/patient/pages/followForm/index.scss b/src/patient/pages/followForm/index.scss new file mode 100644 index 0000000..f07dd50 --- /dev/null +++ b/src/patient/pages/followForm/index.scss @@ -0,0 +1,172 @@ +page { + background-color: rgba(246, 248, 249, 1); +} + +.page { + padding: 30rpx 30rpx 200rpx; + .card { + margin-bottom: 24rpx; + padding: 32rpx; + background-color: #fff; + border-radius: 24rpx; + .c-title { + margin-left: -32rpx; + font-size: 36rpx; + color: rgba(33, 29, 46, 1); + display: flex; + align-items: center; + gap: 22rpx; + &::before { + display: block; + content: ''; + width: 8rpx; + height: 32rpx; + background: #b982ff; + } + .sub { + flex: 1; + text-align: right; + font-size: 28rpx; + color: rgba(185, 130, 255, 1); + } + } + .c-title1 { + font-size: 36rpx; + color: rgba(33, 29, 46, 1); + text-align: center; + } + .date { + margin-top: 24rpx; + padding: 0 32rpx; + height: 84rpx; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 16rpx; + background-color: rgba(246, 248, 249, 1); + color: rgba(173, 172, 178, 1); + .content { + font-size: 32rpx; + } + &.active { + color: rgba(33, 29, 46, 1); + } + } + .check-item { + margin-top: 24rpx; + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + padding: 18rpx 32rpx; + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + line-height: 48rpx; + border-radius: 16rpx; + background-color: rgba(246, 248, 249, 1); + border: 1px solid rgba(246, 248, 249, 1); + box-sizing: border-box; + &.active { + border-color: rgba(185, 130, 255, 1); + background: rgba(250, 246, 255, 1); + color: rgba(185, 130, 255, 1); + } + } + .step { + margin-top: 34rpx; + display: flex; + justify-content: center; + .stepper { + display: flex; + align-items: center; + gap: 10rpx; + } + .pm-input { + width: 120rpx; + background-color: #fff; + font-size: 48rpx; + color: rgba(33, 29, 46, 1); + display: flex; + align-items: baseline; + &::after { + display: inline-block; + content: '次'; + font-size: 28rpx; + } + } + .pm { + width: 80rpx; + height: 80rpx; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + font-size: 24rpx; + color: rgba(107, 114, 128, 1); + background-color: rgba(246, 248, 249, 1); + } + } + .tip { + margin-top: 32rpx; + font-size: 28rpx; + color: rgba(248, 166, 26, 1); + text-align: center; + } + .radio-wrap { + margin-top: 24rpx; + display: flex; + gap: 32rpx; + .radio { + flex: 1; + height: 76rpx; + display: flex; + align-items: center; + justify-content: center; + font-size: 32rpx; + color: rgba(173, 172, 178, 1); + background: #f6f8f9; + border-radius: 64rpx 64rpx 64rpx 64rpx; + &.active { + background-color: rgba(185, 130, 255, 1); + color: #fff; + } + } + } + } + .page-footer { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + box-sizing: border-box; + padding: 20rpx 30rpx 80rpx; + display: flex; + align-items: center; + justify-content: space-between; + gap: 26rpx; + background-color: #fff; + box-shadow: 0 10rpx 10rpx rgba(204, 204, 204, 0.3); + .cancel { + flex: 1; + height: 88rpx; + background: #ffffff; + border-radius: 48rpx 48rpx 48rpx 48rpx; + border: 1px solid #b982ff; + font-size: 32rpx; + color: rgba(185, 130, 255, 1); + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: center; + } + .submit { + flex: 1; + height: 88rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 48rpx 48rpx 48rpx 48rpx; + display: flex; + align-items: center; + justify-content: center; + } + } +} diff --git a/src/patient/pages/followForm/index.ts b/src/patient/pages/followForm/index.ts new file mode 100644 index 0000000..44405f1 --- /dev/null +++ b/src/patient/pages/followForm/index.ts @@ -0,0 +1,23 @@ +const _app = getApp(); + +Page({ + data: { + popupShow: false, + popupType: 'popup19', + popupParams: {}, + }, + onLoad() {}, + + // popup 确认(继续退出) + handlePopupOk() { + this.setData({ popupShow: false }) + wx.navigateBack() + }, + + // popup 取消 + handlePopupCancel() { + this.setData({ popupShow: false }) + }, +}); + +export {} diff --git a/src/patient/pages/followForm/index.wxml b/src/patient/pages/followForm/index.wxml new file mode 100644 index 0000000..2588f94 --- /dev/null +++ b/src/patient/pages/followForm/index.wxml @@ -0,0 +1,69 @@ + + + 您的复诊时间 + + + 年 / 月 / 日 + + + + + + 您复诊后的方案是?(多选) + 1、激素静脉冲击治疗 + 2、生物制剂IGF-1R 抗体(替妥尤单抗) + + + 您是第几次使用替妥尤单抗? + + + + + + + + + + + 注:替妥尤单抗常规疗程共 8 次注射(每3周1次) + + + + 您的下次复诊时间 + 配合就医建议周期 + + + + 年 / 月 / 日 + + + + + 21天后 + 1个月后 + 2个月后 + + + + 取消 + 提交 + + + + diff --git a/src/patient/pages/index/index.scss b/src/patient/pages/index/index.scss index d956f4b..ce9aa5b 100644 --- a/src/patient/pages/index/index.scss +++ b/src/patient/pages/index/index.scss @@ -100,6 +100,109 @@ page { height: 48rpx; } } + .follow { + margin: $page-margin; + .empty { + height: 200rpx; + background: #f5f7f6; + border-radius: 24rpx 24rpx 24rpx 24rpx; + border: 2rpx dashed rgba(185, 130, 255, 1); + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: center; + .icon { + width: 92rpx; + height: 92rpx; + } + .content { + font-size: 36rpx; + color: rgba(185, 130, 255, 1); + } + } + .f-container { + padding: 16rpx 20rpx 16rpx 40rpx; + background: linear-gradient(70deg, #e98ff8 0%, #b073ff 100%); + border-radius: 24rpx; + display: flex; + align-items: center; + gap: 42rpx; + .aside { + padding-top: 70rpx; + width: 150rpx; + height: 168rpx; + align-self: flex-end; + box-sizing: border-box; + display: flex; + align-items: baseline; + justify-content: center; + font-size: 28rpx; + color: rgba(34, 34, 34, 0.7); + .a-num { + font-size: 60rpx; + color: rgba(185, 130, 255, 1); + font-weight: bold; + } + } + .wrap { + padding-top: 30rpx; + .title { + display: flex; + align-items: center; + gap: 16rpx; + font-size: 28rpx; + color: rgba(255, 255, 255, 0.97); + .icon { + width: 36rpx; + height: 36rpx; + } + } + .content { + margin-top: 16rpx; + display: flex; + align-items: start; + gap: 10rpx; + .year { + margin-top: 10rpx; + padding-right: 10rpx; + font-size: 28rpx; + color: rgba(255, 255, 255, 0.6); + line-height: 28rpx; + border-right: 1px dashed rgba(255, 255, 255, 0.47); + } + .yd { + display: flex; + align-items: start; + gap: 10rpx; + line-height: 72rpx; + .yd-num { + font-size: 64rpx; + color: rgba(255, 255, 255, 1); + font-weight: bold; + } + .sub { + margin-top: 10rpx; + font-size: 28rpx; + color: rgba(255, 255, 255, 1); + } + } + .week { + margin-top: 28rpx; + margin-left: 10rpx; + width: 96rpx; + height: 36rpx; + display: flex; + align-items: center; + justify-content: center; + font-size: 24rpx; + color: rgba(255, 255, 255, 0.6); + background: rgba(255, 255, 255, 0.24); + border-radius: 88rpx 88rpx 88rpx 88rpx; + } + } + } + } + } .kkd1 { margin: $page-margin; display: grid; diff --git a/src/patient/pages/index/index.ts b/src/patient/pages/index/index.ts index 92a834a..df40ec9 100644 --- a/src/patient/pages/index/index.ts +++ b/src/patient/pages/index/index.ts @@ -40,6 +40,7 @@ Page({ // toastType: 'guideEnterInfo', // toastType: 'guideEnterInfoJump', // toastType: 'noteGuide', + // toastType: 'followGuide', toastShow: false, toastType: '', @@ -578,4 +579,14 @@ Page({ }, }) }, + handleFollow() { + wx.navigateTo({ + url: '/patient/pages/follow/index', + }) + }, + handleFollowEmpty() { + wx.navigateTo({ + url: '/patient/pages/followForm/index', + }) + }, }) diff --git a/src/patient/pages/index/index.wxml b/src/patient/pages/index/index.wxml index f7b5a28..102f53d 100644 --- a/src/patient/pages/index/index.wxml +++ b/src/patient/pages/index/index.wxml @@ -35,6 +35,38 @@ + diff --git a/src/patient/pages/interactivePatient/index.scss b/src/patient/pages/interactivePatient/index.scss index 6e41925..ef5a1a9 100644 --- a/src/patient/pages/interactivePatient/index.scss +++ b/src/patient/pages/interactivePatient/index.scss @@ -332,6 +332,125 @@ page { } } } + .follow { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .f-footer { + margin-top: 24rpx; + display: flex; + gap: 30rpx; + .btn1, + .btn2 { + flex: 1; + font-size: 28rpx; + border-radius: 100rpx; + height: 76rpx; + box-sizing: border-box; + } + .btn1 { + color: #b982ff; + border: 1px solid #b982ff; + display: flex; + align-items: center; + justify-content: center; + } + .btn2 { + padding: 0; + background: linear-gradient(344deg, #ffbcf9 0%, #b982ff 100%); + color: #ffffff; + display: flex; + align-items: center; + justify-content: center; + } + } + } + .follow-form { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .list { + .list-item { + margin-top: 24rpx; + padding: 18rpx 32rpx; + font-size: 28rpx; + color: rgba(105, 104, 110, 1); + line-height: 36rpx; + border-radius: 16rpx; + background-color: rgba(246, 248, 249, 1); + border: 1px solid rgba(246, 248, 249, 1); + box-sizing: border-box; + &.active { + border-color: rgba(185, 130, 255, 1); + background: rgba(250, 246, 255, 1); + color: rgba(185, 130, 255, 1); + } + } + } + .btn { + margin-top: 30rpx; + height: 76rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 64rpx 64rpx 64rpx 64rpx; + } + } + .follow-reset { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .btn { + margin-top: 30rpx; + height: 76rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 64rpx 64rpx 64rpx 64rpx; + } + } + .follow-next { + margin-bottom: 32rpx; + padding: 26rpx 32rpx; + background-color: #fff; + border-radius: 32rpx; + .content { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .btn { + margin-top: 30rpx; + height: 76rpx; + font-size: 32rpx; + color: rgba(255, 255, 255, 1); + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(180deg, #e98ff8 0%, #b073ff 100%); + border-radius: 64rpx 64rpx 64rpx 64rpx; + } + } } } .patient { @@ -462,6 +581,44 @@ page { } } } + .follow-result { + margin-bottom: 32rpx; + padding: 32rpx; + border-radius: 32rpx; + background-color: #fff; + .title { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + } + .list { + margin-top: 20rpx; + padding: 24rpx; + background-color: rgba(246, 248, 249, 1); + border-radius: 16rpx; + .list-item { + font-size: 32rpx; + color: rgba(33, 29, 46, 1); + display: flex; + .blob { + font-weight: bold; + } + &::before { + margin-right: 20rpx; + margin-top: 20rpx; + display: inline-block; + flex-shrink: 0; + content: ''; + width: 10rpx; + height: 10rpx; + border-radius: 50%; + background-color: #7d7d82; + } + &:not(:first-of-type) { + margin-top: 24rpx; + } + } + } + } } } .status { diff --git a/src/patient/pages/interactivePatient/index.wxml b/src/patient/pages/interactivePatient/index.wxml index 9430096..6eeb281 100644 --- a/src/patient/pages/interactivePatient/index.wxml +++ b/src/patient/pages/interactivePatient/index.wxml @@ -12,7 +12,7 @@ {{doctorDetail.doctorName}} -
{{doctorDetail.hospitalName}}
+ {{doctorDetail.hospitalName}} {{doctorDetail.hospitalClassificationName}}{{doctorDetail.hospitalLevelName}}
@@ -104,6 +104,35 @@ {{message.msgContent}} 完善个人信息
+ + + + + +
@@ -141,6 +170,23 @@ 9.其他 + diff --git a/src/patient/pages/my/index.scss b/src/patient/pages/my/index.scss index d556e06..448b91e 100644 --- a/src/patient/pages/my/index.scss +++ b/src/patient/pages/my/index.scss @@ -43,8 +43,36 @@ page { } } } + .kkd { + margin-top: 34rpx; + display: flex; + align-items: center; + gap: 30rpx; + .kkd-item { + padding: 32rpx; + display: flex; + align-items: center; + gap: 24rpx; + font-size: 36rpx; + color: rgba(33, 29, 46, 1); + background: linear-gradient(180deg, #fbefff 0%, #ffffff 100%); + box-shadow: 0rpx 4rpx 32rpx 0rpx rgba(0, 0, 0, 0.06); + border-radius: 24rpx 24rpx 24rpx 24rpx; + border: 1px solid #ffffff; + .icon { + width: 84rpx; + height: 84rpx; + } + &:last-of-type { + background: linear-gradient(180deg, #e3e6ff 0%, #ffffff 100%); + box-shadow: 0rpx 4rpx 32rpx 0rpx rgba(0, 0, 0, 0.06); + border-radius: 24rpx 24rpx 24rpx 24rpx; + border: 1px solid #ffffff; + } + } + } .options-list { - margin-top: 52rpx; + margin-top: 32rpx; padding: 16rpx 28rpx; background: #ffffff; box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.05); diff --git a/src/patient/pages/my/index.wxml b/src/patient/pages/my/index.wxml index aa388e6..5bca891 100644 --- a/src/patient/pages/my/index.wxml +++ b/src/patient/pages/my/index.wxml @@ -24,16 +24,17 @@ - - - - - 我的健康报告 - - - - + + + + 健康档案 + + + + 复诊记录 + +