feat: 健康仪表盘配色调整 + 登录页品牌升级 + iOS 配置 + 隐私文案修订 + 文档清理

## UI 配色
- 健康仪表盘: 背景从蓝紫粉三色渐变改为 #4FACFE 纯色蓝, 白字清晰不抢眼
- app_colors / app_design_tokens / app_theme: 配色体系微调
- 多个 widget 和页面跟随配色更新(health_drawer/admin_drawer/doctor_drawer/enterprise_widgets 等)

## 登录页品牌升级
- 新增品牌素材: drawer_background_v2 / login_background_v2 / health_login_character_transparent
- login_page 重构, 接入新品牌视觉
- app.dart 启动流程调整

## iOS / Android 配置
- Info.plist: 权限描述调整
- AppIcon / LaunchImage: 资源更新
- AndroidManifest: 权限微调

## 隐私文案修订
- privacy.html: 蓝牙设备描述调整为"标准蓝牙血压服务", 移除未上线设备类型表述
- terms.html: 移除"在线医生咨询"相关条款, 服务范围收窄

## 通知中心
- notification_center_page: 重构通知项布局

## 其他
- 删除已完成的计划/spec 文档(ui-system-first-pass / apple-sign-in / secondary-page-color-refresh / notification-preferences-design / ui-design-system)
- 新增 native_navigation_test
- 新增 HANDOFF 交接文档
- home_message_order_test 更新
- .gitignore 调整
This commit is contained in:
MingNian
2026-07-16 22:30:23 +08:00
parent 528859686f
commit 6e5d3e64cd
44 changed files with 624 additions and 1234 deletions

View File

@@ -196,7 +196,7 @@ class _NotificationCenterPageState
'通知中心',
style: TextStyle(
fontSize: 19,
fontWeight: FontWeight.w800,
fontWeight: FontWeight.w600,
color: AppColors.textPrimary,
),
),
@@ -396,7 +396,7 @@ class _UnreadHint extends StatelessWidget {
TextSpan(
text: '$unreadCount',
style: const TextStyle(
fontWeight: FontWeight.w800,
fontWeight: FontWeight.w600,
color: AppColors.errorText,
),
),
@@ -507,115 +507,118 @@ class _NotificationRow extends StatelessWidget {
child: InkWell(
onTap: onTap,
child: Container(
constraints: const BoxConstraints(minHeight: 82),
color: Colors.white,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(14, 10, 10, 10),
child: Row(
children: [
Container(
width: 40,
height: 40,
decoration: BoxDecoration(
color: visual.lightColor,
borderRadius: AppRadius.smBorder,
ConstrainedBox(
constraints: BoxConstraints(minHeight: showDivider ? 81 : 82),
child: Padding(
padding: const EdgeInsets.fromLTRB(14, 10, 10, 10),
child: Row(
children: [
Container(
width: 40,
height: 40,
decoration: BoxDecoration(
color: visual.lightColor,
borderRadius: AppRadius.smBorder,
),
child: Icon(visual.icon, size: 21, color: visual.color),
),
child: Icon(visual.icon, size: 21, color: visual.color),
),
const SizedBox(width: 11),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Row(
children: [
Expanded(
child: Text(
item.title,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontSize: 15,
fontWeight: item.isRead
? FontWeight.w700
: FontWeight.w800,
color: AppColors.textPrimary,
height: 1.2,
const SizedBox(width: 11),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Row(
children: [
Expanded(
child: Text(
item.title,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontSize: 15,
fontWeight: item.isRead
? FontWeight.w600
: FontWeight.w700,
color: AppColors.textPrimary,
height: 1.2,
),
),
),
const SizedBox(width: 6),
Container(
padding: const EdgeInsets.symmetric(
horizontal: 6,
vertical: 2,
),
decoration: BoxDecoration(
color: visual.lightColor,
borderRadius: AppRadius.pillBorder,
),
child: Text(
visual.label,
style: TextStyle(
fontSize: 11,
fontWeight: FontWeight.w600,
color: visual.color,
),
),
),
],
),
const SizedBox(height: 4),
Text(
item.message,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 13,
height: 1.2,
fontWeight: FontWeight.w500,
color: AppColors.textSecondary,
),
const SizedBox(width: 6),
),
],
),
),
const SizedBox(width: 8),
SizedBox(
width: 68,
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
if (item.isRead)
const SizedBox(height: 8)
else
Container(
padding: const EdgeInsets.symmetric(
horizontal: 6,
vertical: 2,
),
decoration: BoxDecoration(
color: visual.lightColor,
borderRadius: AppRadius.pillBorder,
),
child: Text(
visual.label,
style: TextStyle(
fontSize: 11,
fontWeight: FontWeight.w800,
color: visual.color,
),
width: 8,
height: 8,
decoration: const BoxDecoration(
color: AppColors.error,
shape: BoxShape.circle,
),
),
],
),
const SizedBox(height: 4),
Text(
item.message,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 13,
height: 1.2,
fontWeight: FontWeight.w500,
color: AppColors.textSecondary,
),
),
],
),
),
const SizedBox(width: 8),
SizedBox(
width: 68,
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
if (item.isRead)
const SizedBox(height: 8)
else
Container(
width: 8,
height: 8,
decoration: const BoxDecoration(
color: AppColors.error,
shape: BoxShape.circle,
const SizedBox(height: 7),
Text(
_formatTime(item.createdAt),
maxLines: 1,
textAlign: TextAlign.right,
style: const TextStyle(
fontSize: 11,
fontWeight: FontWeight.w600,
color: AppColors.textHint,
),
),
const SizedBox(height: 7),
Text(
_formatTime(item.createdAt),
maxLines: 1,
textAlign: TextAlign.right,
style: const TextStyle(
fontSize: 11,
fontWeight: FontWeight.w600,
color: AppColors.textHint,
),
),
],
],
),
),
),
],
],
),
),
),
if (showDivider)