diff --git a/src/app.ts b/src/app.ts index 0e3c7b3..cbd248d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -196,13 +196,13 @@ App({ if (type.includes(0) && [0, 1, 2].includes(loginType)) { return true } - if ([0, 1].includes(loginType)) { + if (type.includes(0) || type.includes(1)) { wx.reLaunch({ url: '/patient/pages/login/index', }) return false } - if (loginType === 2) { + if (type.includes(2)) { wx.reLaunch({ url: '/pages/login/index', }) diff --git a/src/components/toast/index.scss b/src/components/toast/index.scss index e8d9a0a..a177d1d 100644 --- a/src/components/toast/index.scss +++ b/src/components/toast/index.scss @@ -2751,20 +2751,13 @@ .popup-qw { .popup-container { width: 630rpx; - height: 788rpx; + height: 802rpx; overflow: hidden; .code { - margin: 264rpx auto 0; + margin: 342rpx auto 0; display: block; - width: 284rpx; - height: 284rpx; - } - .tip { - margin-top: 48rpx; - font-size: 32rpx; - color: #211d2e; - text-align: center; - line-height: 44rpx; + width: 264rpx; + height: 264rpx; } } } diff --git a/src/components/toast/index.wxml b/src/components/toast/index.wxml index 3490997..33ed6be 100644 --- a/src/components/toast/index.wxml +++ b/src/components/toast/index.wxml @@ -801,7 +801,15 @@ {{params.title}} - {{params.content}} + + GO-QOL生活质量量表,是《中国甲状腺相关眼病诊断和治疗指南(2022年)》中提及的唯一可居家自测的甲状腺眼病评估量表,反映了疾病对患者生活质量的影响。得分越低影响越大,让患者主观感受清晰可见。 + + + 《中国甲状腺相关眼病诊断和治疗指南(2022年)》指出,剂量越高短期效果可能越好,但不良反应也会更大,并且同一疗程需严格控制累积剂量。 + 且风险与用药剂量和用药时间相关。 + + 规范记录每次用药时间、剂量与不适反应,可帮助及时发现风险线索,便于医生综合评估疗效与安全性并调整方案;这是用药安全管理的关键一步。 + @@ -836,11 +844,6 @@ style="background: url('{{imageUrl}}bg49.png?t={{Timestamp}}') no-repeat top center/100%" > - - 长按识别二维码 - - 添加客服人员 - diff --git a/src/images/share.png b/src/images/share.png index 3bf9f5b..b2ff452 100644 Binary files a/src/images/share.png and b/src/images/share.png differ diff --git a/src/pages/d_patientDetail/index.ts b/src/pages/d_patientDetail/index.ts index 282ea45..cae3ab9 100644 --- a/src/pages/d_patientDetail/index.ts +++ b/src/pages/d_patientDetail/index.ts @@ -210,10 +210,10 @@ Page({ }, handleAnchor(anchor) { if (anchor == 'qol') { - wx.pageScrollTo({ selector: '#qol' }) + wx.pageScrollTo({ selector: '#qol', offsetTop: -80 }) } if (anchor == 'hormone') { - wx.pageScrollTo({ selector: '#hormone' }) + wx.pageScrollTo({ selector: '#hormone', offsetTop: -80 }) } }, getQolDetail() { diff --git a/src/pages/d_patientDetail/index.wxml b/src/pages/d_patientDetail/index.wxml index e42130f..ba2ffd6 100644 --- a/src/pages/d_patientDetail/index.wxml +++ b/src/pages/d_patientDetail/index.wxml @@ -40,6 +40,14 @@ + 甲状腺眼病分级 + {{detail.DiseaseStageName}} + + + 甲状腺眼病分期 + {{detail.DiseasePeriodName}} + + Graves病病史 {{detail.IsGravesName}} @@ -145,8 +153,9 @@ + - + 生活质量评分趋势 diff --git a/src/pages/d_qolDetail/index.scss b/src/pages/d_qolDetail/index.scss index e000fae..0c15a1b 100644 --- a/src/pages/d_qolDetail/index.scss +++ b/src/pages/d_qolDetail/index.scss @@ -248,7 +248,7 @@ page { &.green { color: #1ec580; } - &:first-of-type { + &:not(:last-of-type) { color: #211d2e !important; } } diff --git a/src/pages/d_qolDetail/index.wxml b/src/pages/d_qolDetail/index.wxml index 01cd7a0..cd567f1 100644 --- a/src/pages/d_qolDetail/index.wxml +++ b/src/pages/d_qolDetail/index.wxml @@ -26,15 +26,15 @@ {{item.CreateDate}} {{item.TotalScore}} - {{item.changeTotalScore}} + {{item.changeTotalScore}} {{item.VisionScore}} - {{item.changeVisionScore}} + {{item.changeVisionScore}} {{item.AppearanceScore}} - + {{item.changeAppearanceScore}} @@ -123,7 +123,7 @@ @@ -132,7 +132,7 @@ @@ -141,7 +141,7 @@ @@ -150,7 +150,7 @@ @@ -159,7 +159,7 @@ @@ -168,7 +168,7 @@ @@ -177,7 +177,7 @@ @@ -186,7 +186,7 @@ @@ -195,7 +195,7 @@ @@ -204,7 +204,7 @@ @@ -213,7 +213,7 @@ @@ -222,7 +222,7 @@ @@ -231,7 +231,7 @@ @@ -240,7 +240,7 @@ @@ -249,7 +249,7 @@ @@ -258,7 +258,7 @@ diff --git a/src/patient/pages/doctor/index.scss b/src/patient/pages/doctor/index.scss index 75fcb7b..38dae8d 100644 --- a/src/patient/pages/doctor/index.scss +++ b/src/patient/pages/doctor/index.scss @@ -133,16 +133,33 @@ page { line-height: 48rpx; } .tag { - flex-shrink: 0; + margin-right: 12rpx; display: inline-block; vertical-align: 2rpx; - padding: 2rpx 12rpx; + padding: 0 12rpx; font-size: 24rpx; - line-height: 32rpx; + line-height: 36rpx; color: #ffffff; background: linear-gradient(90deg, #ffd650 0%, #f8a61a 100%); border-radius: 6rpx; } + .medical { + display: inline-block; + box-sizing: border-box; + padding: 0 12rpx 0 8rpx; + font-size: 24rpx; + line-height: 36rpx; + color: #ffffff; + border-radius: 6rpx; + gap: 2rpx; + background: linear-gradient(210deg, #1ec580 0%, #4feaaa 100%); + .m-icon { + vertical-align: -4rpx; + display: inline-block; + width: 28rpx; + height: 28rpx; + } + } } .content { margin-top: 16rpx; @@ -181,23 +198,6 @@ page { border: 1px solid #b982ff; box-sizing: border-box; } - .medical { - margin-right: 22rpx; - box-sizing: border-box; - padding: 0 12rpx 0 8rpx; - font-size: 24rpx; - line-height: 36rpx; - color: #ffffff; - border-radius: 6rpx; - display: flex; - align-items: center; - gap: 2rpx; - background: linear-gradient(210deg, #1ec580 0%, #4feaaa 100%); - .m-icon { - width: 28rpx; - height: 28rpx; - } - } .drug { padding-right: 8rpx; display: inline-flex; diff --git a/src/patient/pages/doctor/index.wxml b/src/patient/pages/doctor/index.wxml index 7a2b211..3e5a30e 100644 --- a/src/patient/pages/doctor/index.wxml +++ b/src/patient/pages/doctor/index.wxml @@ -69,6 +69,10 @@ {{item.HospitalClassificationName}}{{item.HospitalLevelName}} + + + 医保 + @@ -86,10 +90,6 @@ {{item.DoctorNum}}名医生 - - - 医保 - 院内有药 diff --git a/src/patient/pages/index/index.scss b/src/patient/pages/index/index.scss index 812f33b..c618919 100644 --- a/src/patient/pages/index/index.scss +++ b/src/patient/pages/index/index.scss @@ -106,7 +106,7 @@ page { grid-template-columns: repeat(2, 1fr); gap: 30rpx; .k-qol { - padding: 48rpx 0rpx 22rpx 32rpx; + padding: 0 0rpx 22rpx 32rpx; background: linear-gradient( 180deg, rgba(239, 226, 255, 0.52) 0%, @@ -116,6 +116,7 @@ page { border-radius: 32rpx 32rpx 32rpx 32rpx; border: 2rpx solid #ffffff; .title { + padding-top: 48rpx; font-size: 36rpx; color: #211d2e; line-height: 48rpx; @@ -191,7 +192,7 @@ page { } .k-hormones { position: relative; - padding: 48rpx 0rpx 22rpx 32rpx; + padding: 0 0rpx 22rpx 32rpx; background: linear-gradient( 180deg, rgba(255, 227, 253, 0.52) 0%, @@ -208,6 +209,7 @@ page { height: 104rpx; } .title { + padding-top: 48rpx; position: relative; z-index: 1; font-size: 36rpx; diff --git a/src/patient/pages/index/index.ts b/src/patient/pages/index/index.ts index 3aac1d6..04d235a 100644 --- a/src/patient/pages/index/index.ts +++ b/src/patient/pages/index/index.ts @@ -46,7 +46,7 @@ Page({ toastShow: false, toastType: '', - toastParams: {close:true} as any, + toastParams: { close: true } as any, sliderTop: 0, @@ -577,10 +577,7 @@ Page({ 1: '生活质量自评', 2: '激素记录', }[type], - content: { - 1: 'GO-QOL生活质量量表,是《中国甲状腺相关眼病诊断和治疗指南(2022年)》中提及的唯一可居家自测的甲状腺眼病评估量表,反映了疾病对患者生活质量的影响。得分越低影响越大,让患者主观感受清晰可见。', - 2: '激素治疗不是“越多越好”。《中国甲状腺相关眼病诊断和治疗指南(2022年)》指出,剂量越高短期效果可能越好,但不良反应也会更大,并且同一疗程需严格控制累积剂量。 激素相关风险包括肝损伤、血压升高、血糖升高、电解质紊乱、消化道出血和感染等,且风险与用药剂量和用药时间相关。 规范记录每次用药时间、剂量与不适反应,可帮助及时发现风险线索,便于医生综合评估疗效与安全性并调整方案;这是用药安全管理的关键一步。', - }[type], + type, close: true, }, }) diff --git a/src/patient/pages/liveDetail/index.scss b/src/patient/pages/liveDetail/index.scss index 5b5b77b..e5b1c33 100644 --- a/src/patient/pages/liveDetail/index.scss +++ b/src/patient/pages/liveDetail/index.scss @@ -62,7 +62,7 @@ } } .qw { - margin-top: 22rpx; + margin-top: 32rpx; .q-img { display: block; width: 100%; @@ -70,7 +70,7 @@ } .screen { position: relative; - margin-top: 30rpx; + margin-top: 32rpx; padding: 16rpx 32rpx 16rpx; background: rgba(246, 248, 249, 1); box-sizing: border-box; @@ -190,7 +190,7 @@ } } .content { - margin-top: 24rpx; + margin-top: 32rpx; .c-title { font-size: 36rpx; color: #333333; @@ -225,11 +225,12 @@ align-items: center; justify-content: center; font-size: 24rpx; - color: #b982ff; gap: 8rpx; white-space: nowrap; + color: #211d2e; .c-item { padding: 0 8rpx; + color: #b982ff; line-height: 48rpx; background-color: #fff; min-width: 50rpx; diff --git a/src/patient/pages/liveDetail/index.wxml b/src/patient/pages/liveDetail/index.wxml index 1c23ab0..b503fad 100644 --- a/src/patient/pages/liveDetail/index.wxml +++ b/src/patient/pages/liveDetail/index.wxml @@ -43,7 +43,7 @@ - + - 详情介绍 倒计时 - + {{timeData.days}} diff --git a/src/patient/pages/liveResult/index.scss b/src/patient/pages/liveResult/index.scss index 37a32f5..2ac6869 100644 --- a/src/patient/pages/liveResult/index.scss +++ b/src/patient/pages/liveResult/index.scss @@ -96,7 +96,7 @@ page { } .go-live { position: fixed; - bottom: 116rpx; + bottom: 166rpx; left: 50%; transform: translateX(-50%); width: 670rpx; @@ -112,7 +112,7 @@ page { } .go-share { position: fixed; - bottom: 116rpx; + bottom: 166rpx; left: 50%; padding: 0 32rpx 0 12rpx; transform: translateX(-50%); diff --git a/src/patient/pages/medical/index.scss b/src/patient/pages/medical/index.scss index 75428fe..971ec15 100644 --- a/src/patient/pages/medical/index.scss +++ b/src/patient/pages/medical/index.scss @@ -63,6 +63,9 @@ page { width: 100%; height: 100%; } + &.active { + color: #211d2e; + } } } .submit-btn { diff --git a/src/patient/pages/medical/index.wxml b/src/patient/pages/medical/index.wxml index 7683374..254829c 100644 --- a/src/patient/pages/medical/index.wxml +++ b/src/patient/pages/medical/index.wxml @@ -25,7 +25,7 @@ cname="{{cityName}}" bind:ok="handleChangeSite" > - + {{provinceName}}{{provinceName == cityName ? '' : cityName}} 选择省份城市 @@ -37,7 +37,7 @@ 我就诊的医院 - + {{hostipalName}} 选择就诊医院 diff --git a/src/utils/page.ts b/src/utils/page.ts index e51ce6f..2f55ea1 100644 --- a/src/utils/page.ts +++ b/src/utils/page.ts @@ -39,7 +39,8 @@ function page(config: WechatMiniprogram.Page.Instance