|
|
@@ -236,13 +236,6 @@
|
|
|
<text class="empty-text">暂无报告和测评结果</text>
|
|
|
<text class="empty-sub">上传报告或完成测评开启健康之旅</text>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 新增:查看测评方案入口 -->
|
|
|
- <view class="plan-entry" @click="goToAssessmentPlans">
|
|
|
- <text class="entry-icon">📋</text>
|
|
|
- <text class="entry-text">查看我的测评方案</text>
|
|
|
- <text class="entry-arrow">›</text>
|
|
|
- </view>
|
|
|
</view>
|
|
|
|
|
|
<view class="section section-plan">
|
|
|
@@ -516,15 +509,6 @@ export default {
|
|
|
}
|
|
|
uni.navigateTo({ url: url })
|
|
|
},
|
|
|
- // 跳转到测评方案列表
|
|
|
- goToAssessmentPlans: function() {
|
|
|
- var familyId = this.familyId || uni.getStorageSync('familyId')
|
|
|
- if (!familyId) {
|
|
|
- uni.showToast({ title: '请先选择家庭', icon: 'none' })
|
|
|
- return
|
|
|
- }
|
|
|
- uni.navigateTo({ url: '/pages/assessment-plan/list?familyId=' + familyId })
|
|
|
- },
|
|
|
_reportTypeLabel: function(type) {
|
|
|
var map = { gut_flora: '肠道', physical_exam: '体检', tongue: '舌诊', blood: '血液' }
|
|
|
return map[type] || '健康报告'
|
|
|
@@ -712,21 +696,6 @@ export default {
|
|
|
.score-value { font-size: 36rpx; font-weight: bold; color: #F97316; }
|
|
|
.score-unit { font-size: 22rpx; color: #999; margin-left: 4rpx; }
|
|
|
|
|
|
-/* ===== 测评方案入口 ===== */
|
|
|
-.plan-entry {
|
|
|
- background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
|
|
|
- border-radius: 16rpx;
|
|
|
- padding: 28rpx 30rpx;
|
|
|
- margin-top: 24rpx;
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- box-shadow: 0 4rpx 16rpx rgba(59, 130, 246, 0.3);
|
|
|
-}
|
|
|
-.entry-icon { font-size: 40rpx; margin-right: 16rpx; }
|
|
|
-.entry-text { font-size: 28rpx; color: #fff; font-weight: bold; flex: 1; }
|
|
|
-.entry-arrow { font-size: 36rpx; color: #fff; }
|
|
|
.quiz-btn { background: #F97316; color: #fff; font-size: 24rpx; border: none; border-radius: 20rpx; padding: 10rpx 30rpx; height: 56rpx; line-height: 36rpx; margin: 0; }
|
|
|
.section-data-view { margin: 16rpx 24rpx; }
|
|
|
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12rpx; }
|