fix(mp): 行业标准第二轮审计修复 — 安全存储+UX+合规

- 安全:AI聊天历史、患者档案、设备同步数据统一走 secureSet/secureGet 加密存储
- 合规:TabBar "消息" 改为 "助手" 消除命名误导
- 合规:新增 .env.production 模板配置 HTTPS API URL
- UX:AI发送按钮 40→44px、反馈按钮 32→44px、协议勾选框 44px 点击热区
- UX:5处硬编码 10-12px 字号替换为 design token(DoctorTabBar/ShortcutButton/TodoAlert/mall)
- UX:6处安全区域写法统一(全部使用 --tk-page-padding/--tk-tabbar-space + env fallback)
- 新增 safe-bottom-padded / safe-bottom-tabbar 两个 mixin

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
iven
2026-05-21 14:06:29 +08:00
parent d576b8ba8f
commit 345e46002a
16 changed files with 51 additions and 33 deletions

View File

@@ -44,7 +44,7 @@
}
&__label {
font-size: 10px;
font-size: var(--tk-font-micro);
color: $tx3;
line-height: 1.2;
transition: color 0.15s ease;

View File

@@ -37,14 +37,14 @@
text-align: center;
background: $dan;
color: $white;
font-size: 11px;
font-size: var(--tk-font-micro);
font-weight: 700;
border-radius: $r-pill;
padding: 0 4px;
}
&__label {
font-size: 12px;
font-size: var(--tk-font-cap);
color: $tx2;
}

View File

@@ -44,7 +44,7 @@
&__subtitle {
display: block;
font-size: 12px;
font-size: var(--tk-font-cap);
color: $tx3;
margin-top: 2px;
overflow: hidden;