Files
hms/apps/miniprogram-uniapp/src/pages/legal/privacy-policy.vue
iven 2c567bd772 fix(mp): T40 UI 审查全量修复 + 设计体系一致性优化
Phase 0 基础设施:
- statusTag.ts: getStatusInlineStyle() 移除内联 borderRadius/padding/fontSize,仅返回 {background, color}
- 新增 SEVERITY_COLORS + getSeverityStyle() + getSeverityLabel() 统一告警严重程度样式
- variables.scss: 新增 9 个语义颜色别名 ($success/$danger/$warning/$info 等)
- mixins.scss: 新增 status-inline mixin 统一状态标签样式
- 7 个消费者页面添加 @include status-inline CSS 补偿

Phase 1 HIGH 修复 (4 页面):
- P46 随访管理: 移除 getTypeStyle() 硬编码 fontSize,替换文字 Loading 为组件
- P45 咨询详情医护: 添加 Loading/ErrorState 三态模板 + error ref
- P02 健康数据: 添加 loading ref + Loading 组件 + 错误 toast 提示
- P48 告警中心: 替换本地 SEVERITY_COLORS/SEVERITY_LABELS 为 statusTag.ts 导出

Phase 2 全局一致性:
- 2.1 触控补全: 17 页面为可点击元素添加 min-height: $touch-min
- 2.2 字号替换: 19 文件 31 处硬编码 px → Design Token CSS 变量
- 2.3 颜色替换: 18 文件 ~50 处硬编码十六进制 → SCSS 语义变量
- 2.4 elder-mode.scss: 新增 9 个选择器到触控放大清单

Phase 3 LOW 修复:
- 3.1 统一 Loading: 21 页面旧式文字加载 → <Loading> 组件
- 3.2 useElderClass: 8 页面补全长者模式 class 绑定
- 3.3 零散修复: 按钮 44px→48px,诊断记录添加 scroll-view 无限加载

同时新增 UniApp (Vue 3 + Vite) 小程序完整代码库 (146 文件)
2026-05-15 11:22:51 +08:00

42 lines
1.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<scroll-view scroll-y class="legal-page">
<rich-text class="legal-content" :nodes="PRIVACY_CONTENT" />
<view class="legal-footer">
<text class="legal-footer-text">如有疑问请联系客服</text>
</view>
</scroll-view>
</template>
<script setup lang="ts">
const PRIVACY_CONTENT = `
<h3>隐私政策</h3>
<p>更新日期2026年4月24日</p>
<p>生效日期2026年4月24日</p>
<h4>一、我们收集的信息</h4>
<p>1. <b>注册信息</b>:微信授权获取的 openid、手机号码</p>
<p>2. <b>健康数据</b>:您主动录入的血压、血糖、心率、体重等健康指标</p>
<p>3. <b>就诊信息</b>:预约记录、就诊人信息、体检报告</p>
<p>4. <b>设备信息</b>:设备型号、操作系统版本</p>
<h4>二、信息使用目的</h4>
<p>1. 提供健康数据记录和趋势分析</p>
<p>2. 预约挂号和就诊管理</p>
<p>3. 个性化健康建议</p>
<p>4. 改进服务质量</p>
<h4>三、信息保护</h4>
<p>我们采用 AES-256 加密存储敏感数据,严格限制数据访问权限。</p>
<h4>四、信息共享</h4>
<p>未经您的同意,我们不会与第三方共享您的个人信息,法律法规要求除外。</p>
<h4>五、您的权利</h4>
<p>您有权查询、更正、删除您的个人信息。</p>
<h4>六、隐私政策更新</h4>
<p>我们可能会不时更新本隐私政策。更新后的政策将在平台上公布。</p>
`
</script>
<style lang="scss" scoped>
.legal-page { height: 100vh; background: $bg; padding: 24px; box-sizing: border-box; }
.legal-content { font-size: var(--tk-font-body); line-height: var(--tk-line-height); color: $tx; }
.legal-footer { margin-top: 40px; text-align: center; }
.legal-footer-text { font-size: var(--tk-font-cap); color: $tx3; }
</style>