feat: 新增健康画像与历史咨询摘要模块,咨询结束页增加AI摘要卡片;应急大屏增加生活习惯画像

This commit is contained in:
liuyunqin
2026-08-12 17:30:17 +08:00
parent 55b88b2bad
commit 5761ce7399
6 changed files with 571 additions and 1 deletions
@@ -132,6 +132,14 @@ body::before{content:'';position:fixed;inset:0;z-index:-1;
.wearable-alert-item__time{color:var(--text-dim);flex-shrink:0;}
.wearable-alert-item__type{color:var(--danger);font-weight:500;}
/* Portrait habit tags */
.portrait-habits{display:flex;flex-wrap:wrap;gap:5px;}
.portrait-habit-tag{padding:3px 10px;border-radius:3px;font-size:10px;display:flex;align-items:center;gap:3px;}
.portrait-habit-tag--danger{background:rgba(255,77,79,0.1);color:var(--danger);}
.portrait-habit-tag--warn{background:rgba(250,173,20,0.1);color:var(--warning);}
.portrait-habit-tag--neutral{background:rgba(255,255,255,0.04);color:var(--text-dim);}
.portrait-habit-tag--good{background:rgba(82,196,26,0.1);color:var(--success);}
/* ========== Map Area ========== */
.map-wrap{position:absolute;inset:0;overflow:hidden;
background:radial-gradient(ellipse at 50% 45%,rgba(24,144,255,0.05) 0%,transparent 55%),var(--map-bg);}
@@ -426,6 +434,21 @@ body::before{content:'';position:fixed;inset:0;z-index:-1;
</div>
</div>
</div>
<!-- 7. 生活习惯 -->
<div class="portrait-section">
<div class="portrait-section__title">生活习惯</div>
<div class="portrait-habits">
<span class="portrait-habit-tag portrait-habit-tag--danger">🚬 吸烟 10支/天</span>
<span class="portrait-habit-tag portrait-habit-tag--warn">🍺 偶尔饮酒</span>
<span class="portrait-habit-tag portrait-habit-tag--warn">🏃 运动不足(<1次/</span>
<span class="portrait-habit-tag portrait-habit-tag--warn">😴 睡眠不足(<6h</span>
<span class="portrait-habit-tag portrait-habit-tag--neutral">🍚 主食偏多</span>
<span class="portrait-habit-tag portrait-habit-tag--neutral">🥬 蔬菜摄入偏少</span>
<span class="portrait-habit-tag portrait-habit-tag--warn">🧂 口味偏咸</span>
<span class="portrait-habit-tag portrait-habit-tag--good">💧 饮水充足</span>
</div>
</div>
</div>
</div>
</div>