diff --git a/employee-app/health-checkup/booking-date-selected.html b/employee-app/health-checkup/booking-date-selected.html index fec606b..5e339ef 100644 --- a/employee-app/health-checkup/booking-date-selected.html +++ b/employee-app/health-checkup/booking-date-selected.html @@ -187,8 +187,8 @@
- - + +
当前已预约体检,无法重新选择,请先取消预约
diff --git a/employee-app/health-checkup/booking-hospital.html b/employee-app/health-checkup/booking-hospital.html index b4dd382..3f26d09 100644 --- a/employee-app/health-checkup/booking-hospital.html +++ b/employee-app/health-checkup/booking-hospital.html @@ -110,26 +110,6 @@ .stepper__item--done:hover .stepper__label { text-decoration: underline; text-underline-offset: 3px; } .stepper__line { width: 44px; height: 3px; background: #e8e8e8; margin: 0 8px; margin-bottom: 22px; border-radius: 2px; } .stepper__line--done { background: var(--primary); } - .fee-card { - background: linear-gradient(135deg, #f0fffe 0%, #f7fffd 100%); - border: 1px solid #d7f5f3; - border-radius: 18px; - padding: 16px 18px; - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: 20px; - } - .fee-card__label { - font-size: 13px; - color: var(--primary-dark); - font-weight: 600; - } - .fee-card__amount { - font-size: 26px; - font-weight: 800; - color: var(--primary-dark); - } .section-title { font-size: 16px; font-weight: 700; @@ -179,6 +159,12 @@ font-size: 12px; color: var(--text-muted); } + /* 医院承检类型标签:常规体检与胃肠镜体检互斥,职业体检可与任一叠加 */ + .hospital-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } + .htag { font-size: 10px; line-height: 16px; padding: 0 8px; border-radius: 8px; } + .htag--routine { background: #e6f7ff; color: #1890ff; } + .htag--gastro { background: #f6ffed; color: #52c41a; } + .htag--occupation { background: #fff7e6; color: #fa8c16; } .radio-dot { width: 22px; height: 22px; @@ -297,15 +283,16 @@ .modal-field:last-of-type { border-bottom: none; } .modal-field__label { font-size: 14px; color: var(--text-muted); } .modal-field__value { font-size: 14px; color: var(--text-primary); font-weight: 600; } - .marriage-toggle { + /* 体检类型切换(已婚体检 / 未婚体检) */ + .checkup-type-toggle { display: inline-flex; background: #f5f5f5; border-radius: 20px; overflow: hidden; } - .marriage-toggle__btn { + .checkup-type-toggle__btn { padding: 6px 16px; font-size: 13px; font-weight: 600; border: none; background: transparent; color: var(--text-muted); cursor: pointer; border-radius: 20px; transition: all 0.2s ease; } - .marriage-toggle__btn.active { + .checkup-type-toggle__btn.active { background: var(--primary); color: #fff; } .modal-confirm-btn { @@ -348,32 +335,46 @@
3
预约日期
- -
-
您本年度的体检费用(元)
-
1500.00
-
-
选择医院
🏥
-
宁夏宝石花医院
宁夏银川市
+
+
宁夏宝石花医院
+
宁夏银川市
+
+ 常规体检 + 职业体检 +
+
🏥
-
CQ星龙园医院
陕西西安市
+
+
CQ星龙园医院
+
陕西西安市
+
+ 胃肠镜体检 + 职业体检 +
+
🏥
-
西安CQ医院
陕西西安市
+
+
西安CQ医院
+
陕西西安市
+
+ 常规体检 +
+
@@ -407,10 +408,14 @@
总体检费用 - ¥0.00 + + ¥0.00 + 体检额度 ¥0.00 + +
+
+ 选检项目费用 + + ¥0.00 + 可用额度 ≤ ¥0.00 + +
+
+ 必检项目费用 + + ¥0.00 + 可用额度 ≤ ¥0.00 +
@@ -308,9 +348,21 @@
+ + + diff --git a/employee-app/health-checkup/hospital-checkin.html b/employee-app/health-checkup/hospital-checkin.html index fa4ef56..697050a 100644 --- a/employee-app/health-checkup/hospital-checkin.html +++ b/employee-app/health-checkup/hospital-checkin.html @@ -203,8 +203,8 @@ @@ -245,8 +245,8 @@
- - + +
diff --git a/employee-app/health-checkup/index-inactive.html b/employee-app/health-checkup/index-inactive.html index 1db5060..f27b76d 100644 --- a/employee-app/health-checkup/index-inactive.html +++ b/employee-app/health-checkup/index-inactive.html @@ -224,8 +224,8 @@ - -
+ +
diff --git a/employee-app/health-checkup/index.html b/employee-app/health-checkup/index.html index 072d1f9..e18c328 100644 --- a/employee-app/health-checkup/index.html +++ b/employee-app/health-checkup/index.html @@ -64,6 +64,35 @@ font-weight: 600; color: #1a1a1a; } + .nav-bell { + position: absolute; + right: 14px; + top: 50%; + transform: translateY(-50%); + width: 34px; + height: 34px; + display: flex; + align-items: center; + justify-content: center; + color: #1a1a1a; + text-decoration: none; + } + .nav-bell__badge { + position: absolute; + top: 3px; + right: 0; + min-width: 16px; + height: 16px; + padding: 0 4px; + border-radius: 8px; + background: #ff4d4f; + border: 2px solid #fff; + color: #fff; + font-size: 10px; + font-weight: 700; + line-height: 12px; + text-align: center; + } .scroll-content { flex: 1; overflow-y: auto; @@ -71,62 +100,120 @@ } .scroll-content::-webkit-scrollbar { display: none; } .page-body { padding: 16px; } - .hero-card { - background: linear-gradient(135deg, #ffffff 0%, #f3fffe 100%); - border: 1px solid #e3f6f4; + /* 年度体检计划 Banner 轮播:常规体检 / 胃肠镜体检 / 未开启计划占位,共三张滑动切换 */ + .banner { + position: relative; border-radius: 20px; - padding: 18px 16px; - box-shadow: 0 6px 18px rgba(20, 180, 176, 0.08); + overflow: hidden; + box-shadow: 0 10px 24px rgba(19, 194, 194, 0.12); } - .hero-card__badge { - display: inline-flex; - align-items: center; - gap: 6px; - height: 28px; - padding: 0 10px; - border-radius: 14px; - background: rgba(255, 170, 0, 0.12); - color: #d48806; - font-size: 12px; - font-weight: 600; - margin-bottom: 12px; + .banner__track { + display: flex; + overflow-x: auto; + scroll-snap-type: x mandatory; + scrollbar-width: none; } - .hero-card__title { - font-size: 22px; - line-height: 1.2; - font-weight: 700; - color: #1a1a1a; - margin-bottom: 10px; - } - .hero-card__desc { - font-size: 14px; - line-height: 1.7; - color: #666; - } - .fee-card { - margin-top: 14px; - background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%); - border-radius: 18px; + .banner__track::-webkit-scrollbar { display: none; } + .banner-slide { + flex: 0 0 100%; + scroll-snap-align: center; + position: relative; padding: 16px; color: #fff; - box-shadow: 0 10px 24px rgba(19, 194, 194, 0.22); + overflow: hidden; + display: flex; + flex-direction: column; + cursor: pointer; } - .fee-card__label { - font-size: 13px; - opacity: 0.9; - margin-bottom: 8px; - } - .fee-card__value { - font-size: 30px; - font-weight: 800; + .banner-slide--routine { background: linear-gradient(135deg, #0eb5b0 0%, #35d6c5 100%); } + .banner-slide--gastro { background: linear-gradient(135deg, #12a5c4 0%, #3cc3dc 100%); } + .banner-slide--waiting { background: linear-gradient(135deg, #93a1b3 0%, #c3ccd8 100%); } + /* 右侧大号水印图标 + 圆环装饰,营造 banner 图氛围 */ + .banner-slide__deco { + position: absolute; + right: -14px; + bottom: -24px; + font-size: 104px; line-height: 1; - letter-spacing: 0.5px; + opacity: 0.16; + transform: rotate(-8deg); + pointer-events: none; } - .fee-card__meta { + .banner-slide__ring { + position: absolute; + top: -52px; + right: 40px; + width: 128px; + height: 128px; + border-radius: 50%; + background: rgba(255, 255, 255, 0.1); + pointer-events: none; + } + .banner-slide__title { + font-size: 16px; + font-weight: 800; + line-height: 1.4; + position: relative; + z-index: 1; + } + /* 圆圈进度:固定右下角,按状态推进(已选项目20%→已预约60%→体检中80%→已体检100%) */ + .banner-progress { + position: absolute; + right: 14px; + bottom: 14px; + width: 52px; + height: 52px; + z-index: 1; + display: flex; + align-items: center; + justify-content: center; + } + .banner-progress svg { position: absolute; top: 0; left: 0; } + .banner-progress__text { position: relative; } + .banner-progress__text { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.15; text-align: center; } + .banner-slide__date { margin-top: 10px; font-size: 12px; - opacity: 0.86; + opacity: 0.92; + display: flex; + align-items: center; + gap: 5px; + position: relative; + z-index: 1; } + .banner-slide__fee { margin-top: 12px; position: relative; z-index: 1; } + .banner-chip { + display: inline-flex; + align-items: center; + gap: 4px; + height: 28px; + padding: 0 12px; + border-radius: 14px; + background: rgba(255, 255, 255, 0.2); + font-size: 12px; + font-weight: 600; + } + .banner-chip b { font-size: 15px; font-weight: 800; } + /* 第三张:未开启计划占位图,内容居中 */ + .banner-slide--waiting { align-items: center; justify-content: center; text-align: center; } + .banner-waiting__icon { font-size: 36px; margin-bottom: 12px; opacity: 0.92; } + .banner-waiting__title { font-size: 15px; font-weight: 700; } + .banner-waiting__desc { margin-top: 6px; font-size: 12px; opacity: 0.85; line-height: 1.6; } + .banner__dots { + display: flex; + justify-content: center; + gap: 6px; + margin-top: 10px; + } + .banner__dot { + width: 6px; + height: 6px; + border-radius: 3px; + background: #d4dbe2; + cursor: pointer; + transition: all 0.25s ease; + } + .banner__dot.is-active { width: 18px; background: #13c2c2; } .section-title { font-size: 16px; font-weight: 700; @@ -293,24 +380,67 @@
-
-
- 📋 - 年度体检计划 -
- -
本单位已开展体检计划,请尽快进行体检预约并合理安排时间前往医院进行体检。
+ + + + \ No newline at end of file diff --git a/employee-app/health-checkup/indicator-compare-detail.html b/employee-app/health-checkup/indicator-compare-detail.html new file mode 100644 index 0000000..39f17f6 --- /dev/null +++ b/employee-app/health-checkup/indicator-compare-detail.html @@ -0,0 +1,540 @@ + + + + + + 指标分析 + + + +
+
+ 12:00 +
+ + +
+
+ +
+
+
+
+ + + + diff --git a/employee-app/health-checkup/indicator-compare.html b/employee-app/health-checkup/indicator-compare.html new file mode 100644 index 0000000..b1f1298 --- /dev/null +++ b/employee-app/health-checkup/indicator-compare.html @@ -0,0 +1,509 @@ + + + + + + 重点指标纵向对比 + + + +
+
+ 12:00 +
+ + +
+
+ +
+
+ +
+
+ + + AI + + 五年纵向对比总结 + 2021 - 2025 +
+
+
+
5
+
今年异常
+
+
+
3
+
恶化趋势
+
+
+
1
+
新增异常
+
+
+
2
+
转好恢复
+
+
+
+ 近五年您的心脑血管代谢相关指标呈持续上行趋势:总胆固醇、甘油三酯、BMI 连续三年上升,低密度脂蛋白今年首次越限,尿酸已连续四年高于正常范围;颈部影像提示生理曲度变直已持续两年。好消息是去年轻度偏高的转氨酶(ALT/AST)今年均回归正常。建议将血脂与体重管理列为本年度健康干预的第一优先级。 +
+
内容由 AI 基于历年体检数据生成,仅供参考,不构成诊断依据
+
+ + + +
+ + + + +
+ + + +
+ + + +
+
+ 其他检查项目定性结论 · 历年对比 + +
+
+
+
+
+
+
+ + + + diff --git a/employee-app/health-checkup/message-detail.html b/employee-app/health-checkup/message-detail.html new file mode 100644 index 0000000..2574406 --- /dev/null +++ b/employee-app/health-checkup/message-detail.html @@ -0,0 +1,334 @@ + + + + + + 消息详情 + + + +
+
+ 12:00 +
+ + +
+
+ + + +
+
+
+
+
+
+
+ + + + diff --git a/employee-app/health-checkup/messages.html b/employee-app/health-checkup/messages.html new file mode 100644 index 0000000..0f33a67 --- /dev/null +++ b/employee-app/health-checkup/messages.html @@ -0,0 +1,286 @@ + + + + + + 消息 + + + +
+
+ 12:00 +
+ + +
+
+ + + +
+
+
+ +
+
+ +
+
+
+ 健康体检 + 今天 10:30 +
+
2026年度常规体检报告已生成
+
+
+ + +
+
+ +
+
+
+ 健康体检 + 今天 10:31 +
+
体检指标异常预警
+
+
+ + +
+
+ +
+
+
+ 健康体检 + 今天 10:33 +
+
心脑血管疾病风险预警
+
+
+ + +
+
+ +
+
+
+ 健康体检 + 今天 10:34 +
+
防范痛风发作风险预警
+
+
+ + +
+
+ +
+
+
+ 健康体检 + 08-26 18:00 +
+
明日体检到院提醒
+
+
+ + +
+
+ +
+
+
+ 健康体检 + 2025-09-15 +
+
2025年度体检报告已生成
+
+
+
+ +
+
+
+
+ + + + diff --git a/employee-app/health-checkup/my-appointments-all.html b/employee-app/health-checkup/my-appointments-all.html index 6be79f6..8ce6bd5 100644 --- a/employee-app/health-checkup/my-appointments-all.html +++ b/employee-app/health-checkup/my-appointments-all.html @@ -10,19 +10,17 @@ --primary: #13c2c2; --primary-dark: #0f9b9b; --primary-light: #e6fffb; - --success-bg: #f6ffed; + --success-light: #f6ffed; --success-text: #52c41a; - --warning-bg: #fff7e6; --warning-text: #fa8c16; - --danger-bg: #fff1f0; - --danger-text: #ff4d4f; + --danger: #ff4d4f; + --danger-light: #fff1f0; --text-primary: #1a1a1a; --text-secondary: #666666; --text-muted: #8c8c8c; --bg-page: #f0f2f5; --bg-content: #f7f9fb; - --border: #e8f3f3; - --shadow: 0 10px 24px rgba(19, 194, 194, 0.06); + --shadow: 0 10px 30px rgba(19, 194, 194, 0.08); } body { background: var(--bg-page); @@ -35,80 +33,352 @@ color: var(--text-primary); } .phone-shell { - width: 390px; min-height: 844px; background: var(--bg-content); - border-radius: 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 0 0 2px #e0e0e0; - overflow: hidden; position: relative; display: flex; flex-direction: column; + width: 390px; + min-height: 844px; + background: var(--bg-content); + border-radius: 44px; + box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 0 0 2px #e0e0e0; + overflow: hidden; + position: relative; + display: flex; + flex-direction: column; } .phone-status-bar { - height: 44px; background: #fff; display: flex; align-items: center; - justify-content: space-between; padding: 0 24px; font-size: 12px; font-weight: 600; flex-shrink: 0; + height: 44px; + background: #fff; + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 24px; + font-size: 12px; + font-weight: 600; + flex-shrink: 0; } .phone-status-bar .time { font-size: 15px; font-weight: 700; } .phone-status-bar .icons { display: flex; gap: 6px; align-items: center; } .nav-bar { - height: 44px; display: flex; align-items: center; padding: 0 16px; - background: #fff; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; position: relative; + height: 44px; + display: flex; + align-items: center; + padding: 0 16px; + background: #fff; + border-bottom: 1px solid #f0f0f0; + flex-shrink: 0; + position: relative; } - .nav-back { font-size: 18px; color: var(--text-primary); cursor: pointer; line-height: 1; text-decoration: none; } - .nav-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 17px; font-weight: 600; color: var(--text-primary); } + .nav-back { + font-size: 18px; + color: var(--text-primary); + cursor: pointer; + line-height: 1; + text-decoration: none; + } + .nav-title { + position: absolute; + left: 50%; + transform: translateX(-50%); + font-size: 17px; + font-weight: 600; + color: var(--text-primary); + } + /* 右上角圆形演示下拉 */ + .demo-select { + position: absolute; + right: 12px; + top: 50%; + transform: translateY(-50%); + z-index: 50; + } + .demo-select__trigger { + height: 28px; + padding: 0 12px; + border-radius: 999px; + border: 1px solid rgba(19, 194, 194, 0.35); + background: var(--primary-light); + color: var(--primary-dark); + font-size: 12px; + font-weight: 700; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 4px; + } + .demo-select__menu { + position: absolute; + right: 0; + top: 34px; + width: 128px; + background: #fff; + border-radius: 14px; + box-shadow: 0 12px 32px rgba(0,0,0,0.14); + padding: 6px; + } + .demo-select__item { + display: flex; + align-items: center; + justify-content: space-between; + gap: 8px; + height: 34px; + padding: 0 10px; + border-radius: 10px; + font-size: 13px; + color: var(--text-primary); + cursor: pointer; + } + .demo-select__item:hover { background: #f5f7fa; } + .demo-select__item--active { color: var(--primary-dark); font-weight: 700; background: var(--primary-light); } + .demo-select__item .check { visibility: hidden; font-size: 12px; } + .demo-select__item--active .check { visibility: visible; } .scroll-content { - flex: 1; overflow-y: auto; - background: linear-gradient(180deg, #f0fbfb 0%, #f7f9fb 140px, #f7f9fb 100%); - padding: 14px 16px 20px; + flex: 1; + overflow-y: auto; + background: linear-gradient(180deg, #effbfb 0%, #f7f9fb 180px, #f7f9fb 100%); + padding: 14px 16px 24px; } .scroll-content::-webkit-scrollbar { display: none; } - .tabs { - display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 6px; - background: rgba(255,255,255,0.92); border-radius: 18px; + /* 顶部体检类型 Tab */ + .type-tabs { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 8px; + padding: 5px; + background: rgba(255,255,255,0.92); + border-radius: 16px; box-shadow: 0 8px 20px rgba(19, 194, 194, 0.08); - position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); + margin-bottom: 14px; + position: sticky; + top: 0; + z-index: 5; + backdrop-filter: blur(10px); } - .tabs__item { - height: 36px; border: none; border-radius: 14px; background: transparent; + .type-tabs__btn { + height: 38px; + border: none; + border-radius: 12px; + background: transparent; + color: var(--text-secondary); + font-size: 14px; + font-weight: 600; + cursor: pointer; + } + .type-tabs__btn--active { + background: var(--primary-light); + color: var(--primary-dark); + box-shadow: inset 0 0 0 1px rgba(19, 194, 194, 0.16); + } + .summary-card, .info-card { + background: #fff; + border-radius: 20px; + padding: 18px 16px; + margin-top: 14px; + box-shadow: var(--shadow); + border: 1px solid rgba(19, 194, 194, 0.06); + } + .section-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; } + .summary-list, .info-list { display: flex; flex-direction: column; gap: 14px; } + .summary-item, .info-item { + display: flex; + justify-content: space-between; + gap: 12px; + align-items: flex-start; + } + .summary-item__label, .info-item__label { font-size: 13px; color: var(--text-muted); flex-shrink: 0; } + .summary-item__value, .info-item__value { + font-size: 14px; + color: var(--text-primary); + font-weight: 600; + text-align: right; + line-height: 1.6; + } + /* 签到码卡片 */ + .person-card { + margin-top: 14px; + background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%); + border-radius: 20px; + padding: 16px; + border: 1px solid #e4f7f5; + box-shadow: var(--shadow); + } + .person-card__header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 12px; + } + .code-switch { + width: 28px; height: 28px; + border-radius: 8px; + border: 1px solid #e4f7f5; + background: #f2fbfa; + color: var(--primary-dark); + display: inline-flex; align-items: center; justify-content: center; + cursor: pointer; + } + .code-switch:active { background: var(--primary-light); } + .qrcode-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; } + .code-img { + background: #fff; + border-radius: 12px; + border: 1px solid #eef5f5; + cursor: pointer; + transition: transform 0.2s; + } + .code-img:hover { transform: scale(1.04); } + .code-img--qr { width: 160px; height: 160px; } + .code-img--bar { width: 224px; height: 132px; } + .qrcode-wrap__hint { font-size: 12px; color: var(--text-muted); } + /* 条形码/二维码互斥显隐 */ + .person-card .code-only--bar { display: flex; } + .person-card .code-only--qr { display: none; } + .person-card--qr .code-only--bar { display: none; } + .person-card--qr .code-only--qr { display: flex; } + /* 放大遮罩 */ + .qr-overlay { + display: none; + position: fixed; + inset: 0; + background: rgba(0,0,0,0.6); + z-index: 100; + justify-content: center; + align-items: center; + cursor: pointer; + } + .qr-overlay--visible { display: flex; } + .qr-overlay__img--qr { width: 260px; height: 260px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); background:#fff; } + .qr-overlay__img--bar { width: 300px; height: 176px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); background:#fff; } + /* 体检须知 */ + .tips-card { + margin-top: 14px; + background: #fff; + border-radius: 20px; + padding: 16px; + border: 1px solid #eef5f5; + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04); + } + .tips-card__title { font-size: 15px; font-weight: 700; margin-bottom: 10px; } + .tips-card__item { + display: flex; + gap: 8px; + font-size: 13px; + line-height: 1.7; + color: var(--text-secondary); + margin-bottom: 8px; + } + .tips-card__item:last-child { margin-bottom: 0; } + .tips-card__dot { + width: 6px; height: 6px; border-radius: 50%; + background: var(--primary); margin-top: 8px; flex-shrink: 0; + } + /* 体检进度 */ + .progress-card { + margin-top: 14px; + background: #fff; + border-radius: 20px; + padding: 18px 16px; + box-shadow: var(--shadow); + border: 1px solid rgba(19, 194, 194, 0.06); + } + .progress-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } + .progress-card__title { font-size: 16px; font-weight: 700; } + .progress-card__ratio { font-size: 13px; color: var(--primary-dark); font-weight: 600; } + .progress-bar-lg { + height: 10px; border-radius: 999px; background: #eef3f3; + overflow: hidden; margin-bottom: 16px; + } + .progress-bar-lg__fill { + height: 100%; border-radius: 999px; + background: linear-gradient(90deg, #13c2c2 0%, #5cdbd3 100%); + } + .project-tabs { + display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; + } + .project-tabs__btn { + height: 34px; border: none; border-radius: 12px; background: #f5f7fa; color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; - text-decoration: none; display: flex; align-items: center; justify-content: center; + transition: all 0.2s; } - .tabs__item--active { + .project-tabs__btn--active { background: var(--primary-light); color: var(--primary-dark); box-shadow: inset 0 0 0 1px rgba(19, 194, 194, 0.16); } - .summary-bar { - margin: 14px 0 12px; padding: 16px; border-radius: 20px; + .project-list { display: flex; flex-direction: column; gap: 8px; } + .project-item { + display: flex; align-items: center; gap: 10px; padding: 10px 12px; + border-radius: 14px; background: #f9fbfb; border: 1px solid #f0f5f5; + } + .project-item__icon { + width: 28px; height: 28px; border-radius: 8px; + display: flex; align-items: center; justify-content: center; + flex-shrink: 0; font-size: 14px; + } + .project-item__icon--done { background: var(--success-light); color: var(--success-text); } + .project-item__icon--pending { background: #fff7e6; color: var(--warning-text); } + .project-item__name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text-primary); } + .project-item__status { font-size: 12px; font-weight: 600; } + .project-item__status--done { color: var(--success-text); } + .project-item__status--pending { color: var(--warning-text); } + /* 已选体检项目(取消详情) */ + .project-section__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } + .project-section__count { font-size: 13px; color: var(--text-muted); } + .project-section__count em { font-style: normal; color: var(--primary-dark); font-weight: 700; } + .fee-tabs { + display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; + padding: 5px; background: #f5f7f7; border-radius: 14px; margin-bottom: 14px; + } + .fee-tab { + height: 34px; border: none; border-radius: 10px; background: transparent; + color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; + } + .fee-tab--active { background: #fff; color: var(--primary-dark); box-shadow: 0 2px 8px rgba(0,0,0,0.06); } + .project-list-panel { max-height: 280px; overflow-y: auto; padding-right: 2px; } + .project-list-panel::-webkit-scrollbar { display: none; } + .picked-item { + display: flex; align-items: center; gap: 12px; padding: 12px 14px; + background: #f9fbfb; border-radius: 14px; border: 1px solid #eef5f5; + } + .picked-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; } + .picked-item__info { flex: 1; } + .picked-item__name { font-size: 14px; font-weight: 600; margin-bottom: 2px; } + .picked-item__desc { font-size: 12px; color: var(--text-muted); } + .picked-item__price { font-size: 13px; font-weight: 700; color: var(--primary-dark); flex-shrink: 0; } + .picked-item__badge { + display: inline-flex; align-items: center; height: 20px; padding: 0 8px; + border-radius: 10px; font-size: 10px; font-weight: 600; flex-shrink: 0; + } + .picked-item__badge--normal { background: #f5f5f5; color: var(--text-muted); } + .picked-item__badge--key { background: #fff1f0; color: #ff4d4f; } + /* 底部操作按钮(重新预约/立即预约) */ + .rebook-btn { + display: block; + width: 100%; + height: 48px; + margin-top: 16px; + border: none; + border-radius: 24px; + font-size: 15px; + font-weight: 600; + color: #fff; background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%); - color: #fff; box-shadow: 0 12px 24px rgba(19, 194, 194, 0.2); + box-shadow: 0 10px 20px rgba(19, 194, 194, 0.22); + cursor: pointer; } - .summary-bar__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; } - .summary-bar__desc { font-size: 13px; line-height: 1.7; opacity: 0.92; } - .appointment-list { display: flex; flex-direction: column; gap: 12px; } - .appointment-card { - background: #fff; border-radius: 20px; padding: 16px; - border: 1px solid rgba(19, 194, 194, 0.06); box-shadow: var(--shadow); + /* 无预约信息空态 */ + .empty { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + padding: 64px 24px 40px; } - .appointment-card[data-status="done"], - .appointment-card[data-status="cancelled"] { opacity: 0.94; } - .appointment-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; } - .appointment-card__title { font-size: 16px; font-weight: 700; color: var(--text-primary); } - .appointment-card__status { flex-shrink: 0; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; } - .appointment-card__status--pending { background: var(--warning-bg); color: var(--warning-text); } - .appointment-card__status--done { background: var(--success-bg); color: var(--success-text); } - .appointment-card__status--cancelled { background: var(--danger-bg); color: var(--danger-text); } - .appointment-card__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-bottom: 12px; } - .meta-item { background: #f9fbfb; border-radius: 14px; padding: 10px 12px; border: 1px solid #f0f5f5; } - .meta-item__label { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; } - .meta-item__value { font-size: 13px; color: var(--text-primary); font-weight: 600; line-height: 1.5; } - .appointment-card__progress { margin-bottom: 14px; } - .progress-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 12px; color: var(--text-secondary); } - .progress-bar { height: 8px; border-radius: 999px; background: #eef3f3; overflow: hidden; } - .progress-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #13c2c2 0%, #5cdbd3 100%); } - .appointment-card__actions { display: flex; gap: 10px; } - .appointment-card__btn { - flex: 1; height: 40px; border-radius: 20px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; - } - .appointment-card__btn--ghost { background: #f5f7fa; color: var(--text-secondary); border: 1px solid #ebeff2; } - .appointment-card__btn--primary { - background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%); - color: #fff; box-shadow: 0 8px 20px rgba(19, 194, 194, 0.18); + .empty__icon { + width: 88px; height: 88px; border-radius: 50%; + background: #fff; box-shadow: var(--shadow); + display: flex; align-items: center; justify-content: center; + margin-bottom: 18px; } + .empty__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; } + .empty__desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; max-width: 260px; } + .hidden { display: none !important; } @@ -120,81 +390,493 @@
+ +
-
- 全部 - 待体检 - 已体检 - 已取消 + +
+ +
-
- -
-
-
常规体检
-
待体检
+ +
+
+
+
体检签到码
+ +
-
-
体检医院
宁夏宝石花医院
-
预约日期
2026-03-23
+
+ + + + + TJ2026032300871 + + 点击条码可放大查看
-
-
体检进度5/26
-
+
+ + + + + + + + + + + + + + + + + + + 点击二维码可放大查看
-
- -
-
-
常规体检
-
已体检
+
+
常规体检
+
+
体检医院
宁夏宝石花医院
+
预约日期
2026-03-23
+
体检员工
张旭
+
单位部门
采油一厂·xx作业区
+
状态
待体检
-
-
体检医院
宁夏宝石花医院
-
预约日期
2026-03-23
-
-
-
体检进度26/26
-
-
-
- -
-
-
胃肠镜体检
-
已取消
+
+
+
体检进度
+
5 / 26 项
-
-
体检医院
宁夏宝石花医院
-
预约日期
2026-03-10
+
+ +
+ +
- +
+
- -
-
-
常规体检
-
待体检
-
-
-
体检医院
宁夏宝石花医院
-
预约日期
2026-03-23
-
-
-
体检进度0/26
-
-
+
+ + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + +
+
+ + diff --git a/employee-app/health-checkup/my-appointments-cancelled.html b/employee-app/health-checkup/my-appointments-cancelled.html deleted file mode 100644 index 0881caf..0000000 --- a/employee-app/health-checkup/my-appointments-cancelled.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - 我的预约 - - - - - - diff --git a/employee-app/health-checkup/my-appointments-detail-cancelled.html b/employee-app/health-checkup/my-appointments-detail-cancelled.html deleted file mode 100644 index e96ee3c..0000000 --- a/employee-app/health-checkup/my-appointments-detail-cancelled.html +++ /dev/null @@ -1,439 +0,0 @@ - - - - - - 体检预约详情 - - - -
-
- 12:00 -
- - -
-
- - - -
- - -
-
-
-
已取消
-
-
- -
-
常规体检
-
-
-
体检医院
-
宁夏宝石花医院
-
-
-
预约日期
-
2026-03-23
-
-
-
体检员工
-
张旭
-
-
-
单位部门
-
采油一厂·xx作业区
-
- -
-
- - -
-
-
已选体检项目
- 14 -
- -
- - -
-
-
-
-
- - -
-
- - - - \ No newline at end of file diff --git a/employee-app/health-checkup/my-appointments-detail-done.html b/employee-app/health-checkup/my-appointments-detail-done.html deleted file mode 100644 index f12c705..0000000 --- a/employee-app/health-checkup/my-appointments-detail-done.html +++ /dev/null @@ -1,668 +0,0 @@ - - - - - - 体检预约详情 - - - -
-
- 12:00 -
- - -
-
- - - -
- - -
-
-
-
已体检
-
-
- -
-
常规体检
-
-
-
体检医院
-
宁夏宝石花医院
-
-
-
预约日期
-
2026-03-23
-
-
-
体检员工
-
张旭
-
-
-
单位部门
-
采油一厂·xx作业区
-
- -
-
- - -
-
-
体检进度
-
26 / 26 项
-
-
- - -
- - -
- - -
- - - -
- - -
-
- - - - - - - - - -
- - - - - - - - - - - - - - - - - -
- - - \ No newline at end of file diff --git a/employee-app/health-checkup/my-appointments-detail-gastro-done.html b/employee-app/health-checkup/my-appointments-detail-gastro-done.html deleted file mode 100644 index fb962e0..0000000 --- a/employee-app/health-checkup/my-appointments-detail-gastro-done.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - 胃肠镜预约详情 - - - -
-
- 12:00 -
- - -
-
- - - -
- - -
-
-
-
已体检
-
-
- -
-
胃肠镜体检
-
-
-
体检医院
-
宁夏宝石花医院
-
-
-
体检员工
-
刘韵琴
-
-
-
体检地址
-
银川市西夏区怀远路148号
-
-
-
体检日期
-
2026年3月23日
-
-
-
体检项目
-
胃肠镜体检
-
-
-
- - -
-
-
体检进度
-
2 / 2 项
-
-
- - -
- - -
- - -
- - - -
- -
-
- - - - diff --git a/employee-app/health-checkup/my-appointments-detail-gastro.html b/employee-app/health-checkup/my-appointments-detail-gastro.html deleted file mode 100644 index e20fce1..0000000 --- a/employee-app/health-checkup/my-appointments-detail-gastro.html +++ /dev/null @@ -1,765 +0,0 @@ - - - - - - 胃肠镜预约详情 - - - -
-
- 12:00 -
- - -
-
- - - -
- - -
-
-
-
待体检
-
- -
- -
-
胃肠镜体检
-
-
-
体检医院
-
宁夏宝石花医院
-
-
-
体检员工
-
刘韵琴
-
-
-
体检地址
-
银川市西夏区怀远路148号
-
-
-
体检日期
-
2026年3月23日
-
-
-
体检项目
-
胃肠镜体检
-
-
-
- - -
-
体检须知
-
检查前3天请清淡饮食,避免高纤维、高脂肪食物。
-
检查前一天晚上需服用肠道清洁剂,具体用法请遵医嘱。
-
检查当天需空腹,禁食禁水至少8小时。
-
请携带本人身份证件按时前往医院。
-
若选择无痛胃肠镜,检查后24小时内请勿驾车。
-
若需取消预约,请至少提前一天操作。
-
- -
-
体检签到码
-
- - - - - - - - - - - - - - - - - - - - - - - - - 点击二维码可放大查看 -
-
- - -
-
-
体检进度
-
0 / 2 项
-
-
- - -
- - -
- - -
- - - -
- -
-
- - -
- - - - - - - - - - - - - - - - - -
- -
- -
-
-
是否确认取消预约
-
-
- 体检医院 - 宁夏宝石花医院 -
-
- 预约日期 - 2026-03-23 -
-
-
- - -
-
-
- - diff --git a/employee-app/health-checkup/my-appointments-detail.html b/employee-app/health-checkup/my-appointments-detail.html deleted file mode 100644 index 69b9c0c..0000000 --- a/employee-app/health-checkup/my-appointments-detail.html +++ /dev/null @@ -1,771 +0,0 @@ - - - - - - 体检预约详情 - - - -
-
- 12:00 -
- - -
-
- - - -
- - -
-
-
-
待体检
-
- -
- -
-
常规体检
-
-
-
体检医院
-
宁夏宝石花医院
-
-
-
预约日期
-
2026-03-23
-
-
-
体检员工
-
张旭
-
-
-
单位部门
-
采油一厂·xx作业区
-
- -
-
- -
-
体检签到码
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - 点击二维码可放大查看 -
-
- - -
-
-
体检进度
-
5 / 26 项
-
-
- - -
- - -
- - -
- - - -
- - -
-
- - - - - - - - - -
- - - - - - - - - - - - - - - - - -
- -
- -
-
-
是否确认取消预约
-
-
- 体检医院 - 宁夏宝石花医院 -
-
- 预约日期 - 2026-03-23 -
-
-
- - -
-
-
- - \ No newline at end of file diff --git a/employee-app/health-checkup/my-appointments-done.html b/employee-app/health-checkup/my-appointments-done.html deleted file mode 100644 index 48be5a4..0000000 --- a/employee-app/health-checkup/my-appointments-done.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - 我的预约 - - - - - - diff --git a/employee-app/health-checkup/my-appointments.html b/employee-app/health-checkup/my-appointments.html deleted file mode 100644 index 999a4a9..0000000 --- a/employee-app/health-checkup/my-appointments.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - 我的预约 - - - - - - \ No newline at end of file diff --git a/employee-app/health-checkup/report-query.html b/employee-app/health-checkup/report-query.html index 8fb55de..9cd7b0c 100644 --- a/employee-app/health-checkup/report-query.html +++ b/employee-app/health-checkup/report-query.html @@ -417,8 +417,8 @@
- - @@ -752,6 +752,16 @@ function toggleVoice(btn) { btn.classList.toggle('is-playing'); } + + /* [交互] 返回导航:URL 带 msg 参数(从体检消息详情进入)时返回该消息详情,否则返回报告列表 */ + function goBack() { + var msgId = new URLSearchParams(location.search).get('msg'); + location.href = msgId ? 'message-detail.html?id=' + msgId : 'reports.html'; + } + (function () { + var msgId = new URLSearchParams(location.search).get('msg'); + if (msgId) document.getElementById('backBtn').lastChild.textContent = ' 返回消息详情'; + })(); diff --git a/employee-app/health-checkup/reports.html b/employee-app/health-checkup/reports.html index 7fd4523..e0ae893 100644 --- a/employee-app/health-checkup/reports.html +++ b/employee-app/health-checkup/reports.html @@ -35,24 +35,52 @@ .scroll-content { flex: 1; overflow-y: auto; background: linear-gradient(180deg, #f3fbfb 0%, #f7f9fb 160px, #f7f9fb 100%); } .scroll-content::-webkit-scrollbar { display: none; } .page-body { padding: 16px; } - /* 顶部 AI 解读大卡片 */ - .ai-card { - background: linear-gradient(135deg, #ffffff 0%, #e6fffb 100%); - border: 1px solid #b5f5ec; border-radius: 20px; padding: 20px 18px; - box-shadow: 0 6px 18px rgba(20, 180, 176, 0.10); position: relative; overflow: hidden; + /* 体检报告汇总卡 */ + .sum-card { + background: linear-gradient(135deg, #1ec6c6 0%, #0d9292 100%); + border-radius: 20px; padding: 16px 18px; + box-shadow: 0 10px 26px rgba(17, 155, 155, 0.30); + position: relative; overflow: hidden; + display: flex; align-items: center; gap: 14px; color: #fff; } - .ai-card::after { - content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; - border-radius: 50%; background: rgba(19, 194, 194, 0.08); + .sum-card::after { + content: ''; position: absolute; right: -36px; top: -40px; width: 130px; height: 130px; + border-radius: 50%; background: rgba(255, 255, 255, 0.10); } - .ai-card__badge { - display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; - border-radius: 13px; background: rgba(19, 194, 194, 0.12); color: #08979c; - font-size: 12px; font-weight: 600; margin-bottom: 10px; + .sum-card::before { + content: ''; position: absolute; right: 30px; bottom: -52px; width: 100px; height: 100px; + border-radius: 50%; background: rgba(255, 255, 255, 0.06); } - .ai-card__title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; position: relative; z-index: 1; } - .ai-card__sub { font-size: 13px; color: #13c2c2; font-weight: 600; margin-bottom: 8px; position: relative; z-index: 1; } - .ai-card__desc { font-size: 13px; line-height: 1.7; color: #666; position: relative; z-index: 1; } + .sum-card__num { font-size: 34px; font-weight: 800; line-height: 1; display: flex; align-items: baseline; gap: 2px; } + .sum-card__num small { font-size: 13px; font-weight: 600; opacity: 0.85; } + .sum-card__cap { font-size: 11px; opacity: 0.78; margin-top: 5px; } + .sum-card__divider { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.30); flex-shrink: 0; } + .sum-card__meta { display: flex; flex-direction: column; gap: 8px; font-size: 12px; position: relative; z-index: 1; } + .sum-card__meta .k { opacity: 0.75; margin-right: 8px; } + .sum-card__meta .v { font-weight: 700; } + .sum-card__timeline { margin-left: auto; flex-shrink: 0; position: relative; z-index: 1; } + /* 五年趋势分析入口(精简条卡) */ + .trend-entry { + margin-top: 10px; + display: flex; align-items: center; gap: 10px; + padding: 11px 14px; border-radius: 16px; + background: linear-gradient(135deg, #e6fbfb 0%, #f2fdfa 100%); + border: 1px solid #b5f5ec; + box-shadow: 0 4px 16px rgba(17, 155, 155, 0.06); + cursor: pointer; + } + .trend-entry:active { transform: scale(0.985); } + .trend-entry__icon { + width: 34px; height: 34px; border-radius: 11px; background: #fff; + border: 1px solid #b5f5ec; display: flex; align-items: center; justify-content: center; + color: #0d9292; flex-shrink: 0; + } + .trend-entry__icon svg { width: 18px; height: 18px; } + .trend-entry__main { flex: 1; min-width: 0; } + .trend-entry__title { font-size: 13px; font-weight: 700; color: #0d7878; margin-bottom: 2px; } + .trend-entry__desc { font-size: 11px; color: #666; } + .trend-entry__go { display: flex; align-items: center; color: #119b9b; flex-shrink: 0; } + .trend-entry__go svg { width: 14px; height: 14px; } /* 报告列表 */ .section-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 22px 2px 12px; } .report-list { display: flex; flex-direction: column; gap: 12px; } @@ -97,16 +125,41 @@
- -
-
- - AI解读 + +
+
+
10
+
累计体检年份
-
体检报告解读
-
依托 AI 技术,自动解析体检报告数据,提供专业指标解读、风险评估与个性化健康指导。
-
-
查看报告解读
+
+
+
起始年份2012
+
报告总数11 份
+
+ + + + + + + + 2021 + 2025 + +
+ + +
+
+ +
+
+
五年趋势分析
+
17 项重点指标 · 较2024新增异常 1 / 改善 2
+
+ + +
@@ -168,6 +221,34 @@
+ +
+
+ +
+
+
+ 2022年度体检报告 + 常规体检 +
+
CQ星龙园医院
+
+ +
+ +
+
+ +
+
+
+ 2021年度体检报告 + 常规体检 +
+
CQ星龙园医院
+
+ +
diff --git a/employee-app/health-consult/expert-list.html b/employee-app/health-consult/expert-list.html index e27de7b..d9f92c2 100644 --- a/employee-app/health-consult/expert-list.html +++ b/employee-app/health-consult/expert-list.html @@ -80,9 +80,9 @@
- + @@ -252,6 +252,9 @@ /* ===== 根据 URL 参数动态切换页面内容 ===== */ (function() { var params = new URLSearchParams(window.location.search); + /* 从体检消息详情进入时(带 msg 参数),返回按钮指向该消息详情页 */ + var msgId = params.get('msg'); + if (msgId) document.getElementById('navBack').href = '../health-checkup/message-detail.html?id=' + msgId; var type = params.get('type'); var name = params.get('name'); if (!name) return; @@ -273,6 +276,14 @@ { n: '李明远', t: '主任医师', h: '北京协和医院·心内科', tags: ['高血压','心衰'], s: '4.9', c: '2100', r: '97%' }, { n: '赵雪梅', t: '主任医师', h: '广州中山医院·心内科', tags: ['高血压','冠心病'], s: '4.8', c: '1560', r: '95%' }, { n: '孙志强', t: '副主任医师', h: '北京天坛医院·心内科', tags: ['高血压','心律失常'], s: '4.7', c: '920', r: '92%' } + ], + '高脂血症': [ + { n: '吴永康', t: '主任医师', h: '上海瑞金医院·内分泌代谢科', tags: ['高脂血症','糖尿病'], s: '4.9', c: '1420', r: '95%' }, + { n: '郑晓芬', t: '副主任医师', h: '广州中山医院·心内科', tags: ['高脂血症','动脉硬化'], s: '4.7', c: '780', r: '93%' } + ], + '痛风': [ + { n: '黄承志', t: '主任医师', h: '北京协和医院·风湿免疫科', tags: ['痛风','高尿酸血症'], s: '4.9', c: '1680', r: '96%' }, + { n: '马文彬', t: '副主任医师', h: '上海瑞金医院·风湿免疫科', tags: ['痛风','关节炎'], s: '4.8', c: '940', r: '94%' } ] }; diff --git a/index.html b/index.html index 5a00854..635b2bf 100644 --- a/index.html +++ b/index.html @@ -593,17 +593,15 @@ const SITE_MAP = [ { file:'booking-project-selected.html', label:'预约-已选项目' }, { file:'booking-date.html', label:'预约-选择日期' }, { file:'booking-date-selected.html', label:'预约-已选日期' }, - { file:'my-appointments-detail.html', label:'预约详情' }, - { file:'my-appointments-detail-done.html', label:'预约详情-已完成' }, - { file:'my-appointments-detail-cancelled.html', label:'预约详情-已取消' }, - { file:'my-appointments.html', label:'我的预约-待体检' }, - { file:'my-appointments-all.html', label:'我的预约-全部' }, - { file:'my-appointments-done.html', label:'我的预约-已完成' }, - { file:'my-appointments-cancelled.html', label:'我的预约-已取消' }, + { file:'my-appointments-all.html', label:'我的预约' }, { file:'hospital-checkin.html', label:'到院体检' }, { file:'reports.html', label:'体检报告' }, { file:'report-query.html', label:'报告查询详情' }, + { file:'indicator-compare.html', label:'指标纵向对比总览' }, + { file:'indicator-compare-detail.html', label:'指标纵向对比详情' }, { file:'report-gastro.html', label:'胃肠镜报告详情' }, + { file:'messages.html', label:'消息列表' }, + { file:'message-detail.html', label:'消息详情' }, { file:'project-detail.html', label:'体检项目详情' } ] }, { name:'体重管理', dir:'employee-app/weight-management', entry:'weight-main-v2.html', prd:'employee-app/weight-management/doc/PRD.md', done:true, pages:[