diff --git a/components/hq-icon/hq-icon.vue b/components/hq-icon/hq-icon.vue
index 74993b1..3b63dd5 100644
--- a/components/hq-icon/hq-icon.vue
+++ b/components/hq-icon/hq-icon.vue
@@ -22,7 +22,7 @@ export default {
/** 图标名,或历史 emoji(自动映射) */
name: { type: String, default: 'flower' },
/** 尺寸,单位 rpx */
- size: { type: [Number, String], default: 40 },
+ size: { type: [Number, String], default: 44 },
/** 颜色 */
color: { type: String, default: '#E8604C' },
/** 描边宽度 */
diff --git a/components/hq-tabbar/hq-tabbar.vue b/components/hq-tabbar/hq-tabbar.vue
index fe82376..b9e4642 100644
--- a/components/hq-tabbar/hq-tabbar.vue
+++ b/components/hq-tabbar/hq-tabbar.vue
@@ -10,7 +10,7 @@
>
@@ -66,7 +66,7 @@ export default {
display: flex;
align-items: center;
justify-content: space-between;
- height: 104rpx;
+ height: 116rpx;
}
.hq-tab {
@@ -75,14 +75,14 @@ export default {
flex-direction: column;
align-items: center;
justify-content: center;
- padding: 8rpx 0;
- border-radius: 24rpx;
+ padding: 10rpx 0;
+ border-radius: 26rpx;
transition: background-color 0.2s ease;
}
.hq-tab-label {
- margin-top: 6rpx;
- font-size: 22rpx;
+ margin-top: 10rpx;
+ font-size: 23rpx;
color: #B9A79E;
letter-spacing: 1rpx;
}
diff --git a/docs/04-前端设计系统与联调验证.md b/docs/04-前端设计系统与联调验证.md
index 4aa01b3..a55788f 100644
--- a/docs/04-前端设计系统与联调验证.md
+++ b/docs/04-前端设计系统与联调验证.md
@@ -89,6 +89,23 @@
| 兼容历史数据 | 后端返回的 emoji 字段(如 `cover_emoji`)由 `resolveIcon()` 自动映射成矢量图标 |
| 语义映射 | `iconForContentType / iconForMood / iconForReminder / iconForSymptom / iconForVaccine / iconForRelation` |
+**图标尺寸阶梯(rpx)**——保证"放大后仍然协调"的统一尺度:
+
+| 场景 | 尺寸 | 说明 |
+|---|---|---|
+| 导航 / 主 Tab | 48 | 底部导航,选中态配 `#FFF1E9` 胶囊底 |
+| 首页快捷入口 | 52 | 容器 112×112、圆角 36,视觉重量与文字标签平衡 |
+| 情绪选择 / 大按钮组 | 50 | 容器 76 高,图标占容器约 2/3 |
+| 区块内容图标(列表卡) | 42 | 容器 84×84,配副标题层级 |
+| 建议/子 Tab 行内图标 | 32 | 与 24rpx 文字同行,垂直居中 |
+| 单元格 / 设置项 | 40 | 左侧图标,右侧文字与箭头 |
+| 内联标签 / 症状胶囊 | 28 | 与 24rpx 文字搭配 |
+| 勾选态 | 22–24 | 圆形勾选容器 38–46 |
+| 空状态 / 会员锁 | 96 | 大留白插图感,颜色 `#E6D3C9` |
+| 内容详情头图 | 78 | 标题上方主视觉 |
+
+描边随尺寸微调:≥42rpx 用 `stroke 1.6–1.8`,≤32rpx 用 `1.8–1.9`,勾选等小尺寸用 `2.4`,保证线宽视觉一致、不糊不飘。
+
**硬规则**
1. 页面与组件中**不允许出现 emoji 或字符图标**(含 ✓ ✿ ☾ ⚡ ☎ 等),一律使用 ``;
2. 新增图标必须先加入 `utils/icons.js` 的 `PATHS`,再在页面引用;
diff --git a/pages/consult/index.vue b/pages/consult/index.vue
index 8d42ffa..6556f6e 100644
--- a/pages/consult/index.vue
+++ b/pages/consult/index.vue
@@ -7,7 +7,7 @@
-
+
如果此刻很难,请先联系热线
全国心理援助热线 12356 · 紧急情况请拨 120
@@ -18,7 +18,7 @@
-
+
@@ -83,7 +83,7 @@
-
+
还没有咨询预约
@@ -240,7 +240,7 @@ export default {
.crisis {
display: flex;
align-items: center;
- padding: 24rpx 28rpx;
+ padding: 28rpx 30rpx;
border-radius: 28rpx;
background: linear-gradient(135deg, #FFF1E0 0%, #FFE3D3 100%);
border: 2rpx solid #F7DCC8;
@@ -279,9 +279,9 @@ export default {
}
.counselor-avatar {
- width: 88rpx;
- height: 88rpx;
- border-radius: 28rpx;
+ width: 100rpx;
+ height: 100rpx;
+ border-radius: 30rpx;
background-color: #FFF1E9;
display: flex;
align-items: center;
diff --git a/pages/content/detail.vue b/pages/content/detail.vue
index d1993fc..b93d39a 100644
--- a/pages/content/detail.vue
+++ b/pages/content/detail.vue
@@ -1,7 +1,7 @@
-
+
{{ detail.title || '' }}
{{ detail.summary }}
diff --git a/pages/cycle/index.vue b/pages/cycle/index.vue
index e86bac9..521b220 100644
--- a/pages/cycle/index.vue
+++ b/pages/cycle/index.vue
@@ -73,7 +73,7 @@
:class="{ 'hq-chip-active': form.symptom_ids.indexOf(tag.id) > -1 }"
@tap="toggleTag(tag.id)"
>
-
+
{{ tag.name }}
@@ -93,8 +93,8 @@
>
@@ -490,7 +490,7 @@ export default {
}
.chip-icon {
- margin-right: 6rpx;
+ margin-right: 8rpx;
}
.pain-row {
@@ -531,9 +531,9 @@ export default {
}
.mood-btn {
- width: 64rpx;
- height: 64rpx;
- border-radius: 20rpx;
+ width: 76rpx;
+ height: 76rpx;
+ border-radius: 24rpx;
background-color: #FFF4EE;
display: flex;
align-items: center;
diff --git a/pages/cycle/report.vue b/pages/cycle/report.vue
index cdbcbe8..c3013f6 100644
--- a/pages/cycle/report.vue
+++ b/pages/cycle/report.vue
@@ -55,7 +55,7 @@
-
+
本期还没有症状记录
diff --git a/pages/family/index.vue b/pages/family/index.vue
index 67c3aff..4c48628 100644
--- a/pages/family/index.vue
+++ b/pages/family/index.vue
@@ -49,7 +49,7 @@
-
+
还没有绑定家人\n生成邀请码发给 TA 即可
@@ -94,7 +94,7 @@
-
+
{{ item.title }}
{{ item.summary }}
@@ -360,9 +360,9 @@ export default {
}
.member-avatar {
- width: 72rpx;
- height: 72rpx;
- border-radius: 24rpx;
+ width: 82rpx;
+ height: 82rpx;
+ border-radius: 26rpx;
background-color: #FFF1E9;
display: flex;
align-items: center;
diff --git a/pages/health/index.vue b/pages/health/index.vue
index b4cfd50..44420b6 100644
--- a/pages/health/index.vue
+++ b/pages/health/index.vue
@@ -23,7 +23,8 @@
{{ tab.title }}
@@ -33,7 +34,7 @@
-
+
{{ item.title }}
@@ -47,7 +48,7 @@
-
+
该阶段暂无建议内容\n可以先记录身体状态
@@ -151,7 +152,7 @@ export default {
.tab {
flex: 1;
- height: 76rpx;
+ height: 84rpx;
border-radius: 24rpx;
background-color: #FFFFFF;
margin-right: 12rpx;
@@ -192,9 +193,9 @@ export default {
}
.item-left {
- width: 72rpx;
- height: 72rpx;
- border-radius: 24rpx;
+ width: 84rpx;
+ height: 84rpx;
+ border-radius: 26rpx;
background-color: #FFF4EE;
display: flex;
align-items: center;
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 4a6d429..d128cdc 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -4,7 +4,7 @@
-
+
花期
@@ -69,7 +69,7 @@
-
+
{{ item.label }}
@@ -91,7 +91,7 @@
-
+
{{ home.jijing.title }}
{{ home.jijing.summary }}
@@ -110,7 +110,7 @@
-
+
{{ item.title }}
{{ item.desc }}
@@ -279,9 +279,9 @@ export default {
}
.brand-mark {
- width: 72rpx;
- height: 72rpx;
- border-radius: 24rpx;
+ width: 84rpx;
+ height: 84rpx;
+ border-radius: 28rpx;
background: linear-gradient(135deg, #F58C7C 0%, #E8604C 100%);
display: flex;
align-items: center;
@@ -296,7 +296,7 @@ export default {
}
.brand-name {
- font-size: 36rpx;
+ font-size: 38rpx;
font-weight: 600;
letter-spacing: 6rpx;
color: #3E2C27;
@@ -309,8 +309,8 @@ export default {
}
.brand-avatar {
- width: 72rpx;
- height: 72rpx;
+ width: 80rpx;
+ height: 80rpx;
border-radius: 50%;
background-color: #FFFFFF;
border: 2rpx solid #F5E7DF;
@@ -320,7 +320,7 @@ export default {
}
.brand-avatar-text {
- font-size: 28rpx;
+ font-size: 30rpx;
color: #E8604C;
font-weight: 600;
}
@@ -497,17 +497,17 @@ export default {
}
.quick-icon {
- width: 96rpx;
- height: 96rpx;
- border-radius: 32rpx;
+ width: 112rpx;
+ height: 112rpx;
+ border-radius: 36rpx;
display: flex;
align-items: center;
justify-content: center;
}
.quick-label {
- margin-top: 12rpx;
- font-size: 22rpx;
+ margin-top: 14rpx;
+ font-size: 24rpx;
color: #8C7367;
}
@@ -602,20 +602,14 @@ export default {
.reminder-item {
display: flex;
- align-items: flex-start;
- padding: 20rpx 0;
+ align-items: center;
+ padding: 22rpx 0;
}
.reminder-item + .reminder-item {
border-top: 2rpx solid #F5E7DF;
}
-.reminder-icon {
- font-size: 36rpx;
- margin-right: 20rpx;
- line-height: 1.2;
-}
-
.reminder-body {
flex: 1;
display: flex;
diff --git a/pages/login/index.vue b/pages/login/index.vue
index 7585ddf..a7bb5c3 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -3,8 +3,8 @@
-
-
+
+
花期
@@ -15,7 +15,7 @@
-
+
-
+
-
+
{{ selected === plan.id ? '已选择' : '点击选择' }}
@@ -285,8 +285,8 @@ export default {
}
.plan-check-circle {
- width: 32rpx;
- height: 32rpx;
+ width: 38rpx;
+ height: 38rpx;
border-radius: 50%;
border: 2rpx solid #E4D3C9;
display: flex;
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index 9210305..b06cd55 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -61,7 +61,7 @@
-
+
应用锁
@@ -72,7 +72,7 @@
-
+
仅本地存储
-
+
{{ item.label }}
-
+
提醒时间
@@ -475,9 +475,9 @@ export default {
}
.avatar {
- width: 108rpx;
- height: 108rpx;
- border-radius: 36rpx;
+ width: 116rpx;
+ height: 116rpx;
+ border-radius: 38rpx;
background: linear-gradient(135deg, #F58C7C 0%, #E8604C 100%);
display: flex;
align-items: center;
@@ -486,7 +486,7 @@ export default {
}
.avatar-text {
- font-size: 44rpx;
+ font-size: 48rpx;
color: #FFFFFF;
font-weight: 600;
}
diff --git a/pages/mood/firstaid.vue b/pages/mood/firstaid.vue
index 9bf262f..c9ba741 100644
--- a/pages/mood/firstaid.vue
+++ b/pages/mood/firstaid.vue
@@ -6,7 +6,7 @@
-
+
如果可以,先告诉一个人「我现在不太好」
需要专业支持:{{ data.hotline && data.hotline.phone ? data.hotline.phone : '12356' }}
@@ -15,7 +15,7 @@
-
+
{{ item.title }}
{{ item.summary }}
@@ -28,7 +28,7 @@
-
+
加载中…
@@ -105,7 +105,7 @@ export default {
.hotline {
display: flex;
align-items: center;
- padding: 24rpx 28rpx;
+ padding: 28rpx 30rpx;
border-radius: 28rpx;
background: linear-gradient(135deg, #FFF1E0 0%, #FFE3D3 100%);
border: 2rpx solid #F7DCC8;
diff --git a/pages/mood/index.vue b/pages/mood/index.vue
index b76cd75..4ca17bd 100644
--- a/pages/mood/index.vue
+++ b/pages/mood/index.vue
@@ -17,8 +17,8 @@
>
{{ m.text }}
@@ -126,7 +126,7 @@
-
+
@@ -145,7 +145,7 @@
-
+
还没有情绪记录\n记录一次,就能看见自己的情绪脉络
@@ -157,7 +157,7 @@
-
+
{{ item.title }}
@@ -352,8 +352,8 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
- padding: 20rpx 0;
- border-radius: 24rpx;
+ padding: 24rpx 0;
+ border-radius: 26rpx;
background-color: #FFF9F5;
margin-right: 12rpx;
}
@@ -368,8 +368,8 @@ export default {
}
.mood-option-text {
- margin-top: 8rpx;
- font-size: 22rpx;
+ margin-top: 10rpx;
+ font-size: 23rpx;
color: #8C7367;
}
@@ -584,9 +584,9 @@ export default {
}
.record-left {
- width: 64rpx;
- height: 64rpx;
- border-radius: 20rpx;
+ width: 76rpx;
+ height: 76rpx;
+ border-radius: 24rpx;
background-color: #FFF4EE;
display: flex;
align-items: center;
@@ -655,9 +655,9 @@ export default {
}
.content-left {
- width: 72rpx;
- height: 72rpx;
- border-radius: 24rpx;
+ width: 84rpx;
+ height: 84rpx;
+ border-radius: 26rpx;
background-color: #FFF4EE;
display: flex;
align-items: center;
diff --git a/pages/parenting/index.vue b/pages/parenting/index.vue
index 34f054d..e8808d0 100644
--- a/pages/parenting/index.vue
+++ b/pages/parenting/index.vue
@@ -64,7 +64,7 @@
按月龄推荐
-
+
{{ item.title }}
{{ item.summary }}
@@ -80,7 +80,7 @@
-
+
{{ item.title }}
@@ -489,8 +489,8 @@ export default {
}
.task-check {
- width: 38rpx;
- height: 38rpx;
+ width: 44rpx;
+ height: 44rpx;
border-radius: 50%;
border: 2rpx solid #E4D3C9;
display: flex;
diff --git a/pages/prepare/index.vue b/pages/prepare/index.vue
index a26b34d..83a37b3 100644
--- a/pages/prepare/index.vue
+++ b/pages/prepare/index.vue
@@ -105,7 +105,7 @@
-
+
{{ item.title }}
{{ item.due_date.slice(5) }}
@@ -124,7 +124,7 @@
会员权益
-
+
开通会员后可查看受孕窗口、频率与体位建议
@@ -498,7 +498,7 @@ export default {
}
.lh-btn {
- height: 76rpx;
+ height: 84rpx;
padding: 0 32rpx;
}
@@ -575,8 +575,8 @@ export default {
}
.task-check {
- width: 40rpx;
- height: 40rpx;
+ width: 46rpx;
+ height: 46rpx;
border-radius: 50%;
border: 2rpx solid #E4D3C9;
display: flex;
diff --git a/pages/relation/index.vue b/pages/relation/index.vue
index fd8eeb5..d73c865 100644
--- a/pages/relation/index.vue
+++ b/pages/relation/index.vue
@@ -29,7 +29,7 @@
-
+
{{ item.title }}
@@ -46,7 +46,7 @@
-
+
{{ item.title }}
会员
@@ -265,8 +265,8 @@ export default {
}
.task-check {
- width: 40rpx;
- height: 40rpx;
+ width: 46rpx;
+ height: 46rpx;
border-radius: 50%;
border: 2rpx solid #E4D3C9;
display: flex;