|
|
@@ -2,7 +2,57 @@
|
|
|
<view class="container">
|
|
|
<view v-if="!isLoggedIn">
|
|
|
<PageBanner theme="body" tagline="科学管理全家健康" quote="身体健康是幸福的基础" />
|
|
|
- <LoginGuideCard title="登录后查看全家健康数据" :features="['申请专业测评','查看健康报告和诊断结果','了解家人健康状态']" />
|
|
|
+ <!-- 品牌定位语 -->
|
|
|
+ <view class="brand-strap"><text class="brand-strap-text">科学管理全家健康数据</text></view>
|
|
|
+ <!-- 痛点卡 -->
|
|
|
+ <view class="pain-card">
|
|
|
+ <text class="pain-quote">指标正常 ≠ 健康</text>
|
|
|
+ <text class="pain-desc">孩子反复生病,你扛了多少次了?</text>
|
|
|
+ </view>
|
|
|
+ <!-- 功能预览 -->
|
|
|
+ <view class="guest-features">
|
|
|
+ <view class="feat-card" @click="goPage('/pages/health/report-upload')">
|
|
|
+ <text class="feat-icon">📋</text>
|
|
|
+ <text class="feat-title">上传健康报告</text>
|
|
|
+ <text class="feat-desc">体检/肠道/舌诊 · AI解读</text>
|
|
|
+ </view>
|
|
|
+ <view class="feat-card" @click="goPage('/pages/body/detail')">
|
|
|
+ <text class="feat-icon">🧠</text>
|
|
|
+ <text class="feat-title">认知能力测评</text>
|
|
|
+ <text class="feat-desc">记忆力·注意力·逻辑推理</text>
|
|
|
+ </view>
|
|
|
+ <view class="feat-card" @click="goPage('/pages/mind/index')">
|
|
|
+ <text class="feat-icon">💖</text>
|
|
|
+ <text class="feat-title">心理健康测评</text>
|
|
|
+ <text class="feat-desc">情绪稳定·抗压能力</text>
|
|
|
+ </view>
|
|
|
+ <view class="feat-card" @click="goPlanSummary">
|
|
|
+ <text class="feat-icon">📝</text>
|
|
|
+ <text class="feat-title">智能健康方案</text>
|
|
|
+ <text class="feat-desc">选维度·选成员·定目标</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 自测入口 -->
|
|
|
+ <view class="self-test-card" @click="goSelfTest">
|
|
|
+ <view class="self-test-head">
|
|
|
+ <text class="self-test-icon">⚡</text>
|
|
|
+ <view class="self-test-info">
|
|
|
+ <text class="self-test-title">15题五维健康自检</text>
|
|
|
+ <text class="self-test-sub">约20秒,了解家人健康概况</text>
|
|
|
+ </view>
|
|
|
+ <text class="self-test-arrow">›</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 登录引导 -->
|
|
|
+ <view class="login-guide-section">
|
|
|
+ <LoginGuideCard
|
|
|
+ title="解锁全家健康数据"
|
|
|
+ :items="[
|
|
|
+ '查看七维雷达图与健康报告AI解读',
|
|
|
+ '完成测评获取个性化健康方案',
|
|
|
+ '每日打卡追踪身体/情绪/认知趋势'
|
|
|
+ ]" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view v-else>
|
|
|
<PageBanner theme="body" tagline="看见·主动健康闭环" quote="采集→看见→行动" />
|
|
|
@@ -194,6 +244,8 @@ export default {
|
|
|
goReportDetail: function(report) {
|
|
|
uni.navigateTo({ url: '/pages/health/report-list' + (report && report.id ? '?reportId=' + report.id : '') })
|
|
|
},
|
|
|
+ goSelfTest: function() { uni.navigateTo({ url: '/pages/health/survey-questionnaire?dim=all' }) },
|
|
|
+
|
|
|
goPlanSummary: function() {
|
|
|
var url = '/pages/health/health-plan-summary'
|
|
|
if (this.selectedMemberId) url += '?memberId=' + this.selectedMemberId
|