|
@@ -160,17 +160,17 @@
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 孩子版 -->
|
|
<!-- 孩子版 -->
|
|
|
<view class="sub-dim-grid" v-else>
|
|
<view class="sub-dim-grid" v-else>
|
|
|
- <view class="sub-dim-card">
|
|
|
|
|
|
|
+ <view class="sub-dim-card" @click="childSubDimClick('education')">
|
|
|
<text class="sub-dim-score">{{ wealthEducation || '-' }}</text>
|
|
<text class="sub-dim-score">{{ wealthEducation || '-' }}</text>
|
|
|
<text class="sub-dim-label">学业成绩</text>
|
|
<text class="sub-dim-label">学业成绩</text>
|
|
|
<text class="sub-dim-desc">测评综合</text>
|
|
<text class="sub-dim-desc">测评综合</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="sub-dim-card">
|
|
|
|
|
|
|
+ <view class="sub-dim-card" @click="childSubDimClick('social')">
|
|
|
<text class="sub-dim-score">{{ wealthSocial || '-' }}</text>
|
|
<text class="sub-dim-score">{{ wealthSocial || '-' }}</text>
|
|
|
<text class="sub-dim-label">社交筹码</text>
|
|
<text class="sub-dim-label">社交筹码</text>
|
|
|
<text class="sub-dim-desc">活动参与</text>
|
|
<text class="sub-dim-desc">活动参与</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="sub-dim-card">
|
|
|
|
|
|
|
+ <view class="sub-dim-card" @click="childSubDimClick('points')">
|
|
|
<text class="sub-dim-score">{{ wealthPoints || '-' }}</text>
|
|
<text class="sub-dim-score">{{ wealthPoints || '-' }}</text>
|
|
|
<text class="sub-dim-label">规则博弈</text>
|
|
<text class="sub-dim-label">规则博弈</text>
|
|
|
<text class="sub-dim-desc">积分效率</text>
|
|
<text class="sub-dim-desc">积分效率</text>
|
|
@@ -184,17 +184,17 @@
|
|
|
<text class="section-title">🔥 心的子维度</text>
|
|
<text class="section-title">🔥 心的子维度</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="sub-dim-grid heart-sub-dim">
|
|
<view class="sub-dim-grid heart-sub-dim">
|
|
|
- <view class="sub-dim-card">
|
|
|
|
|
|
|
+ <view class="sub-dim-card" @click="childSubDimClick('emotion')">
|
|
|
<text class="sub-dim-score">{{ heartEmotionStable || '-' }}</text>
|
|
<text class="sub-dim-score">{{ heartEmotionStable || '-' }}</text>
|
|
|
<text class="sub-dim-label">情绪稳定</text>
|
|
<text class="sub-dim-label">情绪稳定</text>
|
|
|
<text class="sub-dim-desc">EMI情绪管理</text>
|
|
<text class="sub-dim-desc">EMI情绪管理</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="sub-dim-card">
|
|
|
|
|
|
|
+ <view class="sub-dim-card" @click="childSubDimClick('understanding')">
|
|
|
<text class="sub-dim-score">{{ heartUnderstanding || '-' }}</text>
|
|
<text class="sub-dim-score">{{ heartUnderstanding || '-' }}</text>
|
|
|
<text class="sub-dim-label">理解包容</text>
|
|
<text class="sub-dim-label">理解包容</text>
|
|
|
<text class="sub-dim-desc">共情+社交适应</text>
|
|
<text class="sub-dim-desc">共情+社交适应</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="sub-dim-card">
|
|
|
|
|
|
|
+ <view class="sub-dim-card" @click="childSubDimClick('legacy')">
|
|
|
<text class="sub-dim-score">{{ heartLegacy || '-' }}</text>
|
|
<text class="sub-dim-score">{{ heartLegacy || '-' }}</text>
|
|
|
<text class="sub-dim-label">传承传递</text>
|
|
<text class="sub-dim-label">传承传递</text>
|
|
|
<text class="sub-dim-desc">未来开放</text>
|
|
<text class="sub-dim-desc">未来开放</text>
|
|
@@ -408,19 +408,19 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
goToCheckin() {
|
|
goToCheckin() {
|
|
|
- uni.navigateTo({ url: '/pages/wealth/checkin' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/wealth-sub/checkin' })
|
|
|
},
|
|
},
|
|
|
goToInsurance() {
|
|
goToInsurance() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/wealth-sub/insurance-list' })
|
|
|
},
|
|
},
|
|
|
goToCreator() {
|
|
goToCreator() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/promotion/index' })
|
|
|
},
|
|
},
|
|
|
goToBadges() {
|
|
goToBadges() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/rewards/badge' })
|
|
|
},
|
|
},
|
|
|
goToGrowthReport() {
|
|
goToGrowthReport() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/growth/index' })
|
|
|
},
|
|
},
|
|
|
goToPointsLogs() {
|
|
goToPointsLogs() {
|
|
|
uni.navigateTo({ url: '/pages/points/points' })
|
|
uni.navigateTo({ url: '/pages/points/points' })
|
|
@@ -432,13 +432,27 @@ export default {
|
|
|
uni.navigateTo({ url: '/pages/profile/index' })
|
|
uni.navigateTo({ url: '/pages/profile/index' })
|
|
|
},
|
|
},
|
|
|
goToIncome() {
|
|
goToIncome() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/promotion/commission' })
|
|
|
},
|
|
},
|
|
|
goToAchievements() {
|
|
goToAchievements() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/rewards/badge' })
|
|
|
},
|
|
},
|
|
|
goToNetwork() {
|
|
goToNetwork() {
|
|
|
- uni.showToast({ title: '即将上线', icon: 'none' })
|
|
|
|
|
|
|
+ uni.navigateTo({ url: '/pages/promotion/team' })
|
|
|
|
|
+ },
|
|
|
|
|
+ childSubDimClick(key) {
|
|
|
|
|
+ var routes = {
|
|
|
|
|
+ education: '/pages/assessment/results',
|
|
|
|
|
+ social: '/pages/activity/index',
|
|
|
|
|
+ points: '/pages/points/mall',
|
|
|
|
|
+ emotion: '/pages/mind-detail/emotion-report',
|
|
|
|
|
+ understanding: '/pages/mind-detail/emotion-trend',
|
|
|
|
|
+ legacy: '/pages/wishes/index'
|
|
|
|
|
+ }
|
|
|
|
|
+ var url = routes[key]
|
|
|
|
|
+ if (url) {
|
|
|
|
|
+ uni.navigateTo({ url: url })
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|