feat: 体重管理模块—目标管理多状态交互、承诺签订流程、类型切换导航
- goal-management: 7种状态页面(未选目标无/有活动、已选个人目标、待审核/通过/驳回/已签署),右上角类型切换菜单,返回按钮携带类型跳回目标承诺页 - goal-commitment: 类型状态同步跳转目标管理,按类型动态显示提示文字,默认类型改为未选目标-有活动 - promise-signing: 横屏承诺签订页,支持放弃签订二次确认 - my-promise: 证书风格已签署承诺书展示页 - basic-info: 身高测量底部弹窗交互
This commit is contained in:
+118
-97
@@ -29,55 +29,63 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
.module__title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
|
||||
.module__more { font-size: 12px; color: #999; cursor: pointer; }
|
||||
/* 体重管理 */
|
||||
.weight-header { background: linear-gradient(135deg, #ff6b6b, #ff9a56); border-radius: 12px 12px 0 0; margin: -16px -16px 0; padding: 16px 16px 20px; position: relative; }
|
||||
.weight-header__title { font-size: 20px; font-weight: 700; color: #fff; }
|
||||
.weight-header__info { position: absolute; top: 12px; right: 16px; font-size: 11px; color: rgba(255,255,255,0.85); }
|
||||
.weight-header__info strong { color: #fff; }
|
||||
.weight-ball-section { background: #fff; border-radius: 0 0 12px 12px; margin-bottom: 16px; overflow: hidden; }
|
||||
.weight-avatars { display: flex; align-items: center; justify-content: space-around; padding: 20px 16px 16px; }
|
||||
.weight-avatar-side { text-align: center; flex: 1; }
|
||||
.weight-avatar__img { width: 56px; height: 72px; margin: 0 auto 8px; position: relative; }
|
||||
.weight-avatar__img svg { width: 100%; height: 100%; }
|
||||
.weight-avatar__label { font-size: 13px; color: #666; margin-bottom: 4px; }
|
||||
.weight-avatar__val { font-size: 22px; font-weight: 700; color: #1a1a1a; }
|
||||
.weight-avatar__bmi { font-size: 12px; color: #999; margin-top: 2px; }
|
||||
.weight-ball-wrap { text-align: center; flex: 0 0 auto; position: relative; z-index: 1; margin: 0 8px; }
|
||||
.weight-ball-wrap__top { font-size: 12px; color: #666; margin-bottom: 2px; }
|
||||
.weight-ball-wrap__ruler { width: 2px; height: 12px; background: #ddd; margin: 0 auto 2px; }
|
||||
.weight-ball { width: 150px; height: 150px; border-radius: 50%; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(24,144,255,0.15); }
|
||||
.weight-ball__bg { position: absolute; inset: 0; background: linear-gradient(180deg, #f0f8ff 0%, #e6f7ff 50%, #7ec8e3 100%); }
|
||||
.weight-ball__wave { position: absolute; bottom: 0; left: 0; right: 0; height: 55%; }
|
||||
.weight-module { padding: 0; overflow: hidden; background: linear-gradient(180deg, #ff6a5f 0%, #ff8a6b 40%, #f5f7fa 100%); }
|
||||
.weight-header { position: relative; padding: 14px 16px 26px; display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
|
||||
.weight-header__watermark { position: absolute; left: 14px; top: 8px; font-size: 22px; font-weight: 900; letter-spacing: 2px; color: rgba(255,255,255,0.22); font-family: 'Arial Black', sans-serif; }
|
||||
.weight-header__tab { display: inline-block; background: #c8332c; color: #fff; font-size: 15px; font-weight: 700; padding: 6px 22px 6px 14px; border-radius: 8px 18px 0 18px; position: relative; margin-top: 14px; }
|
||||
.weight-header__tab::after { content: ''; position: absolute; right: -4px; top: 4px; width: 6px; height: 6px; background: #fff; border-radius: 50%; box-shadow: -2px 6px 0 #fff; }
|
||||
.weight-header__info { font-size: 12px; color: #fff; font-weight: 500; margin-top: 14px; }
|
||||
.weight-header__info strong { color: #fff; font-size: 14px; font-weight: 700; margin: 0 1px; }
|
||||
.weight-card { background: #fff; border-radius: 16px; margin: 0 12px 12px; padding: 18px 12px 18px; position: relative; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
|
||||
.weight-avatars { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
|
||||
.weight-avatar-side { width: 78px; position: relative; display: flex; align-items: center; justify-content: center; }
|
||||
.weight-avatar__badge { position: absolute; top: -18px; right: -8px; background: #fff; color: #ff4d4f; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 12px; border: 1px solid #ff4d4f; z-index: 2; text-decoration: none; cursor: pointer; }
|
||||
.weight-avatar__img { width: 64px; height: 96px; }
|
||||
.weight-avatar__img svg { width: 100%; height: 100%; display: block; }
|
||||
.weight-avatar__label { font-size: 13px; color: #999; margin-bottom: 6px; }
|
||||
.weight-avatar__val { font-size: 26px; font-weight: 800; color: #1a1a1a; line-height: 1; }
|
||||
.weight-avatar__bmi { font-size: 12px; color: #bbb; margin-top: 4px; }
|
||||
.weight-ball-wrap { text-align: center; flex: 1; position: relative; }
|
||||
.weight-ball-wrap__top { font-size: 12px; color: #36cfc9; margin-bottom: 2px; position: absolute; top: 12px; left: 0; right: 0; z-index: 3; }
|
||||
.weight-ball { width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(54,207,201,0.18); }
|
||||
.weight-ball__bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, #ffffff 0%, #e8fbfa 40%, #b6f0eb 100%); }
|
||||
.weight-ball__wave { position: absolute; bottom: 0; left: 0; right: 0; height: 58%; }
|
||||
.weight-ball__wave svg { width: 100%; height: 100%; display: block; }
|
||||
.weight-ball__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
|
||||
.weight-ball__rulers { position: absolute; inset: 0; pointer-events: none; }
|
||||
.weight-ball__rulers::before, .weight-ball__rulers::after { content: ''; position: absolute; top: 8px; bottom: 8px; width: 1px; background: repeating-linear-gradient(to bottom, rgba(54,207,201,0.4) 0 4px, transparent 4px 8px); }
|
||||
.weight-ball__rulers::before { left: 14px; }
|
||||
.weight-ball__rulers::after { right: 14px; }
|
||||
.weight-ball__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; padding-top: 18px; }
|
||||
.weight-ball__val { font-size: 36px; font-weight: 800; color: #1a1a1a; line-height: 1; }
|
||||
.weight-ball__unit { font-size: 13px; color: #333; }
|
||||
.weight-ball__meta { font-size: 11px; color: #666; margin-top: 2px; }
|
||||
.weight-middle { padding: 0 16px 16px; display: flex; justify-content: center; }
|
||||
.weight-change { text-align: center; }
|
||||
.weight-change__label { font-size: 12px; color: #999; }
|
||||
.weight-change__val { font-size: 20px; font-weight: 700; color: #1890ff; margin: 4px 0; }
|
||||
.weight-change__val.negative { color: #52c41a; }
|
||||
.weight-change__need { font-size: 12px; color: #faad14; }
|
||||
.weight-change__need span { font-weight: 600; }
|
||||
.daily-date { font-size: 13px; color: #666; text-align: center; margin-bottom: 12px; font-weight: 600; }
|
||||
.daily-checkin { display: flex; gap: 10px; margin-bottom: 16px; }
|
||||
.checkin-card { flex: 1; border-radius: 12px; padding: 14px 10px; text-align: center; color: #fff; }
|
||||
.checkin-card--eat { background: linear-gradient(135deg, #52c41a, #73d13d); }
|
||||
.checkin-card--move { background: linear-gradient(135deg, #fa8c16, #ffa940); }
|
||||
.checkin-card--weight { background: linear-gradient(135deg, #722ed1, #9254de); }
|
||||
.checkin-card__icon { font-size: 22px; margin-bottom: 4px; }
|
||||
.checkin-card__val { font-size: 18px; font-weight: 800; line-height: 1.2; }
|
||||
.checkin-card__unit { font-size: 12px; font-weight: 400; }
|
||||
.checkin-card__recommend { font-size: 11px; opacity: 0.85; margin-top: 4px; }
|
||||
.checkin-card__days { font-size: 11px; opacity: 0.85; margin-top: 2px; }
|
||||
.bmi-section { background: #f8f9fa; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
|
||||
.bmi-formula { font-size: 13px; color: #666; text-align: center; margin-bottom: 12px; }
|
||||
.bmi-table { display: flex; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background: #fff; }
|
||||
.bmi-table__cell { flex: 1; text-align: center; padding: 10px 4px; border-right: 1px solid #e0e0e0; }
|
||||
.bmi-table__cell:last-child { border-right: none; }
|
||||
.weight-ball__val .weight-ball__unit { font-size: 12px; color: #333; font-weight: 500; margin-left: 2px; }
|
||||
.weight-ball__meta { font-size: 11px; color: #36a39f; margin-top: 2px; }
|
||||
.weight-change-row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 16px; padding: 0 4px; }
|
||||
.weight-change-row__cell { text-align: center; flex: 1; }
|
||||
.weight-change-row__label { font-size: 13px; color: #999; margin-bottom: 6px; }
|
||||
.weight-change-row__val { font-size: 26px; font-weight: 800; color: #1a1a1a; line-height: 1; }
|
||||
.weight-change-row__val.negative { color: #36cfc9; }
|
||||
.weight-change-row__sub { font-size: 12px; color: #bbb; margin-top: 6px; }
|
||||
.weight-change-row__need { font-size: 12px; color: #faad14; margin-top: 6px; }
|
||||
.daily-card { background: #fff; border-radius: 16px; margin: 0 12px 12px; padding: 14px 14px 16px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
|
||||
.daily-date { font-size: 14px; color: #1f1f1f; text-align: center; margin-bottom: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; }
|
||||
.daily-date::before, .daily-date::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #ff7a6b, transparent); max-width: 90px; }
|
||||
.daily-checkin { display: flex; gap: 10px; }
|
||||
.checkin-card { flex: 1; border-radius: 14px; padding: 14px 8px 12px; text-align: center; color: #fff; position: relative; }
|
||||
.checkin-card--eat { background: linear-gradient(160deg, #6ee16e 0%, #3ec46a 100%); }
|
||||
.checkin-card--move { background: linear-gradient(160deg, #ffb066 0%, #ff8a3d 100%); }
|
||||
.checkin-card--weight { background: linear-gradient(160deg, #b08cff 0%, #8b6cff 100%); }
|
||||
.checkin-card__label { font-size: 14px; font-weight: 600; margin-bottom: 6px; opacity: 0.95; }
|
||||
.checkin-card__val { font-size: 20px; font-weight: 800; line-height: 1.1; }
|
||||
.checkin-card__unit { font-size: 11px; font-weight: 500; margin-left: 1px; }
|
||||
.checkin-card__recommend { font-size: 11px; opacity: 0.92; margin-top: 8px; line-height: 1.5; }
|
||||
.checkin-card__days { font-size: 11px; opacity: 0.92; line-height: 1.5; }
|
||||
.bmi-card { background: #fff; border-radius: 16px; margin: 0 12px 4px; padding: 14px 14px 16px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
|
||||
.bmi-formula { font-size: 13px; color: #555; text-align: center; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
|
||||
.bmi-table { display: flex; padding: 14px 0 8px; }
|
||||
.bmi-table__cell { flex: 1; text-align: center; }
|
||||
.bmi-table__range { font-size: 12px; color: #333; font-weight: 600; }
|
||||
.bmi-table__label { font-size: 11px; color: #999; margin-top: 4px; }
|
||||
.bmi-center-note { font-size: 11px; color: #999; text-align: center; margin-top: 10px; }
|
||||
.bmi-table__label { font-size: 12px; color: #999; margin-top: 8px; }
|
||||
.bmi-center-note { font-size: 11px; color: #b0b0b0; text-align: center; margin-top: 6px; }
|
||||
/* 健康数据 */
|
||||
.health-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
|
||||
.health-scroll::-webkit-scrollbar { display: none; }
|
||||
@@ -162,106 +170,119 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
|
||||
</div>
|
||||
</div>
|
||||
<!-- 体重管理模块 -->
|
||||
<div class="module" style="padding:0;overflow:hidden;">
|
||||
<div class="weight-module">
|
||||
<div class="weight-header">
|
||||
<span class="weight-header__title">体重管理</span>
|
||||
<span class="weight-header__watermark">WEIGHT</span>
|
||||
<span class="weight-header__tab">体重管理</span>
|
||||
<span class="weight-header__info">体重管理活动 <strong>58</strong> 天,第 <strong>8</strong> 名 ›</span>
|
||||
</div>
|
||||
<div class="weight-ball-section">
|
||||
<!-- 当前/目标/初始 卡片 -->
|
||||
<div class="weight-card">
|
||||
<div class="weight-avatars">
|
||||
<div class="weight-avatar-side">
|
||||
<div class="weight-avatar__img">
|
||||
<svg viewBox="0 0 56 72" fill="none">
|
||||
<circle cx="28" cy="12" r="10" fill="#FFD591"/>
|
||||
<rect x="16" y="22" width="24" height="20" rx="4" fill="#FF4D4F"/>
|
||||
<rect x="12" y="42" width="10" height="22" rx="4" fill="#FF4D4F"/>
|
||||
<rect x="34" y="42" width="10" height="22" rx="4" fill="#FF4D4F"/>
|
||||
<circle cx="22" cy="10" r="1.5" fill="#333"/>
|
||||
<circle cx="34" cy="10" r="1.5" fill="#333"/>
|
||||
<path d="M25 14 Q28 16 31 14" stroke="#333" stroke-width="1" fill="none"/>
|
||||
<svg viewBox="0 0 64 80" fill="none">
|
||||
<circle cx="32" cy="13" r="10" fill="#FFD591"/>
|
||||
<path d="M14 30 Q14 24 20 24 L44 24 Q50 24 50 30 L50 50 Q50 56 44 56 L20 56 Q14 56 14 50 Z" fill="#FF4D4F"/>
|
||||
<rect x="10" y="22" width="10" height="14" rx="3" fill="#FF4D4F" transform="rotate(-20 15 28)"/>
|
||||
<rect x="44" y="22" width="10" height="14" rx="3" fill="#FF4D4F" transform="rotate(20 49 28)"/>
|
||||
<rect x="16" y="52" width="12" height="20" rx="3" fill="#1f1f1f"/>
|
||||
<rect x="36" y="52" width="12" height="20" rx="3" fill="#1f1f1f"/>
|
||||
<rect x="14" y="70" width="14" height="6" rx="2" fill="#36cfc9"/>
|
||||
<rect x="36" y="70" width="14" height="6" rx="2" fill="#36cfc9"/>
|
||||
<circle cx="27" cy="11" r="1.4" fill="#333"/>
|
||||
<circle cx="37" cy="11" r="1.4" fill="#333"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="weight-avatar__label">初始体重</div>
|
||||
<div class="weight-avatar__val">73.5</div>
|
||||
<div class="weight-avatar__bmi">BMI 23.6</div>
|
||||
</div>
|
||||
<div class="weight-ball-wrap">
|
||||
<div class="weight-ball-wrap__top">当前体重</div>
|
||||
<div class="weight-ball-wrap__ruler"></div>
|
||||
<div class="weight-ball">
|
||||
<div class="weight-ball__bg"></div>
|
||||
<div class="weight-ball__rulers"></div>
|
||||
<div class="weight-ball__wave">
|
||||
<svg viewBox="0 0 150 82" preserveAspectRatio="none">
|
||||
<path d="M0 30 Q25 15 50 30 Q75 45 100 30 Q125 15 150 30 L150 82 L0 82 Z" fill="#36cfc9" opacity="0.7"/>
|
||||
<path d="M0 35 Q25 20 50 35 Q75 50 100 35 Q125 20 150 35 L150 82 L0 82 Z" fill="#1890ff" opacity="0.5"/>
|
||||
<svg viewBox="0 0 150 90" preserveAspectRatio="none">
|
||||
<path d="M0 30 Q25 12 50 30 Q75 48 100 30 Q125 12 150 30 L150 90 L0 90 Z" fill="#36cfc9" opacity="0.85"/>
|
||||
<path d="M0 40 Q25 22 50 40 Q75 58 100 40 Q125 22 150 40 L150 90 L0 90 Z" fill="#5cdbd3" opacity="0.55"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="weight-ball__content">
|
||||
<span class="weight-ball__val">62.6</span>
|
||||
<span class="weight-ball__unit">公斤</span>
|
||||
<span class="weight-ball__val">62.6<span class="weight-ball__unit">公斤</span></span>
|
||||
<span class="weight-ball__meta">BMI 23.6</span>
|
||||
<span class="weight-ball__meta">体脂率 20%</span>
|
||||
<span class="weight-ball__meta">体脂率:20%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="weight-avatar-side">
|
||||
<a href="../weight-management/goal-commitment.html" class="weight-avatar__badge">目标承诺</a>
|
||||
<div class="weight-avatar__img">
|
||||
<svg viewBox="0 0 56 72" fill="none">
|
||||
<circle cx="28" cy="12" r="10" fill="#FFD591"/>
|
||||
<rect x="16" y="22" width="24" height="20" rx="4" fill="#1890ff"/>
|
||||
<rect x="12" y="42" width="10" height="22" rx="4" fill="#1890ff"/>
|
||||
<rect x="34" y="42" width="10" height="22" rx="4" fill="#1890ff"/>
|
||||
<circle cx="22" cy="10" r="1.5" fill="#333"/>
|
||||
<circle cx="34" cy="10" r="1.5" fill="#333"/>
|
||||
<path d="M25 14 Q28 16 31 14" stroke="#333" stroke-width="1" fill="none"/>
|
||||
<svg viewBox="0 0 64 80" fill="none">
|
||||
<circle cx="32" cy="13" r="10" fill="#FFD591"/>
|
||||
<path d="M14 30 Q14 24 20 24 L44 24 Q50 24 50 30 L50 50 Q50 56 44 56 L20 56 Q14 56 14 50 Z" fill="#FF4D4F"/>
|
||||
<rect x="10" y="22" width="10" height="14" rx="3" fill="#FF4D4F" transform="rotate(-20 15 28)"/>
|
||||
<rect x="44" y="22" width="10" height="14" rx="3" fill="#FF4D4F" transform="rotate(20 49 28)"/>
|
||||
<rect x="16" y="52" width="12" height="20" rx="3" fill="#1f1f1f"/>
|
||||
<rect x="36" y="52" width="12" height="20" rx="3" fill="#1f1f1f"/>
|
||||
<rect x="14" y="70" width="14" height="6" rx="2" fill="#36cfc9"/>
|
||||
<rect x="36" y="70" width="14" height="6" rx="2" fill="#36cfc9"/>
|
||||
<circle cx="27" cy="11" r="1.4" fill="#333"/>
|
||||
<circle cx="37" cy="11" r="1.4" fill="#333"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div style="font-size:11px;color:#ff4d4f;margin-bottom:4px;">目标承诺</div>
|
||||
<div class="weight-avatar__label">目标体重</div>
|
||||
<div class="weight-avatar__val">56</div>
|
||||
<div class="weight-avatar__bmi">BMI 22.5</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="weight-middle">
|
||||
<div class="weight-change">
|
||||
<div class="weight-change__label">体重变化</div>
|
||||
<div class="weight-change__val negative">-10.9</div>
|
||||
<div class="weight-change__need">还要减 <span>6.6</span></div>
|
||||
<div class="weight-change-row">
|
||||
<div class="weight-change-row__cell">
|
||||
<div class="weight-change-row__label">初始体重</div>
|
||||
<div class="weight-change-row__val">73.5</div>
|
||||
<div class="weight-change-row__sub">BMI 23.6</div>
|
||||
</div>
|
||||
<div class="weight-change-row__cell">
|
||||
<div class="weight-change-row__label">体重变化</div>
|
||||
<div class="weight-change-row__val negative">-10.9 <span style="font-size:14px;">▼</span></div>
|
||||
<div class="weight-change-row__need">还要减 6.6</div>
|
||||
</div>
|
||||
<div class="weight-change-row__cell">
|
||||
<div class="weight-change-row__label">目标体重</div>
|
||||
<div class="weight-change-row__val">56</div>
|
||||
<div class="weight-change-row__sub">BMI 22.5</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding:0 16px;">
|
||||
<!-- 今日打卡 -->
|
||||
<div class="daily-card">
|
||||
<div class="daily-date">2025年08月12日</div>
|
||||
<div class="daily-checkin">
|
||||
<div class="checkin-card checkin-card--eat">
|
||||
<div class="checkin-card__icon">🍽️</div>
|
||||
<div class="checkin-card__label">吃</div>
|
||||
<div class="checkin-card__val">1086<span class="checkin-card__unit">kcal</span></div>
|
||||
<div class="checkin-card__recommend">推荐 1950千卡</div>
|
||||
<div class="checkin-card__days">累计行动52天</div>
|
||||
</div>
|
||||
<div class="checkin-card checkin-card--move">
|
||||
<div class="checkin-card__icon">🏃</div>
|
||||
<div class="checkin-card__label">动</div>
|
||||
<div class="checkin-card__val">12586<span class="checkin-card__unit">步</span></div>
|
||||
<div class="checkin-card__recommend">推荐 12000步</div>
|
||||
<div class="checkin-card__days">累计行动362天</div>
|
||||
</div>
|
||||
<div class="checkin-card checkin-card--weight">
|
||||
<div class="checkin-card__icon">⚖️</div>
|
||||
<div class="checkin-card__label">体重</div>
|
||||
<div class="checkin-card__val">62.60<span class="checkin-card__unit">kg</span></div>
|
||||
<div class="checkin-card__recommend">推荐 75-80公斤</div>
|
||||
<div class="checkin-card__days">累计行动3122天</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bmi-section">
|
||||
<div class="bmi-formula">BMI = 体重(kg) ÷ 身高(m)²</div>
|
||||
<div class="bmi-table">
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">BMI<18.5</div><div class="bmi-table__label">消瘦</div></div>
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">18.5≤BMI<24</div><div class="bmi-table__label">正常</div></div>
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">24≤BMI<28</div><div class="bmi-table__label">超重</div></div>
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">BMI≥28</div><div class="bmi-table__label">肥胖</div></div>
|
||||
</div>
|
||||
<div class="bmi-center-note">(中心型肥胖:男性腰围≥90cm、女性≥85cm)</div>
|
||||
</div>
|
||||
<!-- BMI 说明 -->
|
||||
<div class="bmi-card">
|
||||
<div class="bmi-formula">BMI = 体重(kg) ÷ 身高(m)²</div>
|
||||
<div class="bmi-table">
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">BMI<18.5</div><div class="bmi-table__label">消瘦</div></div>
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">18.5≤BMI<24</div><div class="bmi-table__label">正常</div></div>
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">24≤BMI<28</div><div class="bmi-table__label">超重</div></div>
|
||||
<div class="bmi-table__cell"><div class="bmi-table__range">BMI≥28</div><div class="bmi-table__label">肥胖</div></div>
|
||||
</div>
|
||||
<div class="bmi-center-note">(中心型肥胖:男性腰围≥90cm、女性≥85cm)</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 健康数据模块 -->
|
||||
|
||||
Reference in New Issue
Block a user