fix(miniprogram): 多角色找茬模式发现并修复 16 个问题
P0 Bug: - 健康 AI 建议幽灵路径 pkg-appointment → appointment/create - 血糖 indicator_type 始终 blood_sugar,不区分空腹/餐后 - 商城订单页 switchTab 跳转非 TabBar 页面 P1 设计系统: - Profile/Index 页 emoji 图标替换为衬线首字 - Profile 硬编码颜色替换为 SCSS 变量 class - alerts/action-inbox 两个页面全面接入设计系统 - ai-report/detail 删除重复 mixin 定义 - ErrorBoundary 添加重试按钮移除 emoji - 新增 $r-xs: 8px 圆角变量 P1 导航/交互: - Profile 补充 4 个缺失菜单(透析/知情同意/用药/活动) - Settings 隐私政策改为跳转实际页面 - 全局启用 enablePullDownRefresh - 首页/健康页添加下拉刷新 - 咨询/消息列表添加分页加载更多 - 医生端患者列表改为上拉加载 - 首页/健康页间距统一为 24px
This commit is contained in:
@@ -1,34 +1,37 @@
|
||||
@import '../../../styles/variables.scss';
|
||||
@import '../../../styles/mixins.scss';
|
||||
|
||||
.alerts-page {
|
||||
min-height: 100vh;
|
||||
background: #f5f5f5;
|
||||
background: $bg;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
.alerts-tabs {
|
||||
display: flex;
|
||||
background: #fff;
|
||||
background: $card;
|
||||
padding: 20px 16px;
|
||||
gap: 16px;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid $bd;
|
||||
}
|
||||
|
||||
.alerts-tab {
|
||||
padding: 8px 20px;
|
||||
border-radius: 20px;
|
||||
background: #f0f0f0;
|
||||
border-radius: $r-pill;
|
||||
background: $surface-alt;
|
||||
}
|
||||
|
||||
.alerts-tab.active {
|
||||
background: #C4623A;
|
||||
background: $pri;
|
||||
}
|
||||
|
||||
.alerts-tab-text {
|
||||
font-size: 26px;
|
||||
color: #666;
|
||||
color: $tx2;
|
||||
}
|
||||
|
||||
.alerts-tab-text.active {
|
||||
color: #fff;
|
||||
color: $card;
|
||||
}
|
||||
|
||||
.alerts-list {
|
||||
@@ -36,10 +39,11 @@
|
||||
}
|
||||
|
||||
.alert-card {
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
background: $card;
|
||||
border-radius: $r;
|
||||
padding: 24px;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: $shadow-sm;
|
||||
}
|
||||
|
||||
.alert-header {
|
||||
@@ -51,7 +55,7 @@
|
||||
|
||||
.alert-badge {
|
||||
padding: 4px 16px;
|
||||
border-radius: 8px;
|
||||
border-radius: $r-sm;
|
||||
}
|
||||
|
||||
.alert-badge.sev-info {
|
||||
@@ -88,17 +92,17 @@
|
||||
}
|
||||
|
||||
.alert-badge.sev-urgent .alert-badge-text {
|
||||
color: #fff;
|
||||
color: $card;
|
||||
}
|
||||
|
||||
.alert-time {
|
||||
font-size: 24px;
|
||||
color: #999;
|
||||
color: $tx3;
|
||||
}
|
||||
|
||||
.alert-title {
|
||||
font-size: 28px;
|
||||
color: #333;
|
||||
color: $tx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@@ -112,23 +116,23 @@
|
||||
|
||||
.alerts-empty-text {
|
||||
font-size: 30px;
|
||||
color: #999;
|
||||
color: $tx3;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.alerts-empty-hint {
|
||||
font-size: 26px;
|
||||
color: #bbb;
|
||||
color: $tx3;
|
||||
}
|
||||
|
||||
.alerts-empty-action {
|
||||
margin-top: 24px;
|
||||
padding: 16px 48px;
|
||||
background: #C4623A;
|
||||
border-radius: 32px;
|
||||
background: $pri;
|
||||
border-radius: $r-pill;
|
||||
}
|
||||
|
||||
.alerts-empty-action-text {
|
||||
color: #fff;
|
||||
color: $card;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user