|
|
@@ -99,19 +99,19 @@
|
|
|
<PlayfulCard variant="flat" shadow="sm" :clickable="true" @click="goToSelfCheck" class="selfcheck-card-wide">
|
|
|
<view class="selfcheck-card-content">
|
|
|
<view class="selfcheck-icon-wrap">
|
|
|
- <view class="selfcheck-icon-circle" style="background: #FF8C42;">
|
|
|
+ <view class="selfcheck-icon-circle selfcheck-icon-body">
|
|
|
<text class="selfcheck-icon-char">身</text>
|
|
|
</view>
|
|
|
- <view class="selfcheck-icon-circle" style="background: #6366F1;">
|
|
|
+ <view class="selfcheck-icon-circle selfcheck-icon-wisdom">
|
|
|
<text class="selfcheck-icon-char">智</text>
|
|
|
</view>
|
|
|
- <view class="selfcheck-icon-circle" style="background: #F59E0B;">
|
|
|
+ <view class="selfcheck-icon-circle selfcheck-icon-wealth">
|
|
|
<text class="selfcheck-icon-char">富</text>
|
|
|
</view>
|
|
|
- <view class="selfcheck-icon-circle" style="background: #10B981;">
|
|
|
+ <view class="selfcheck-icon-circle selfcheck-icon-action">
|
|
|
<text class="selfcheck-icon-char">行</text>
|
|
|
</view>
|
|
|
- <view class="selfcheck-icon-circle" style="background: #FF6B9D;">
|
|
|
+ <view class="selfcheck-icon-circle selfcheck-icon-mind">
|
|
|
<text class="selfcheck-icon-char">心</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -494,6 +494,7 @@
|
|
|
<script>
|
|
|
import { getFamilyMemberList, getChildren, getPendingReviewTasks, getPendingWishes, approveTask, rejectTask, getChildCompletionStats, getParentDashboard, getFamilyEnergySandbox, getEnergySandbox, getUnlockStatus, getEnergyOverview, getActivityList, getProductsByDomain, getContactList, getFeaturedArticles, getActiveAlerts, dismissAlert, getFamilyRanking, getChallengeList, getCircleList, getCircleRanking, getInviteQrCode, switchToFamilyMember, getSelfCheckStatus } from '../../utils/api.js'
|
|
|
import store from '../../store/index.js'
|
|
|
+import { BrandColors } from '../../utils/brand-colors.js'
|
|
|
import PlayfulCard from '../../components/PlayfulCard.vue'
|
|
|
import PlayfulButton from '../../components/PlayfulButton.vue'
|
|
|
import BaseBadge from '../../components/BaseBadge.vue'
|
|
|
@@ -577,11 +578,11 @@ export default {
|
|
|
articlesLoading: false,
|
|
|
isLoggedIn: false,
|
|
|
gradientColors: [
|
|
|
- 'linear-gradient(135deg, #10B981, #34D399)',
|
|
|
- 'linear-gradient(135deg, #0EA5E9, #38BDF8)',
|
|
|
- 'linear-gradient(135deg, #8B5CF6, #C084FC)',
|
|
|
- 'linear-gradient(135deg, #F97316, #FB923C)',
|
|
|
- 'linear-gradient(135deg, #6366F1, #818CF8)'
|
|
|
+ 'linear-gradient(135deg, ' + BrandColors.success + ', ' + BrandColors.successLight3 + ')',
|
|
|
+ 'linear-gradient(135deg, ' + BrandColors.infoSky + ', ' + BrandColors.infoLight + ')',
|
|
|
+ 'linear-gradient(135deg, ' + BrandColors.violet + ', ' + BrandColors.violetLighter + ')',
|
|
|
+ 'linear-gradient(135deg, ' + BrandColors.primary + ', ' + BrandColors.primaryLight + ')',
|
|
|
+ 'linear-gradient(135deg, ' + BrandColors.wisdom + ', ' + BrandColors.wisdomLight + ')'
|
|
|
],
|
|
|
selectedMemberId: null,
|
|
|
// L1 即时反馈状态
|
|
|
@@ -1596,7 +1597,7 @@ export default {
|
|
|
.pending-info { flex: 1; min-width: 0; }
|
|
|
.pending-count { font-size: 36rpx; font-weight: 800; display: block; }
|
|
|
.pending-label { font-size: 22rpx; color: $facade-text-body; margin-top: 4rpx; display: block; }
|
|
|
-.pink-color { color: #EC4899; }
|
|
|
+.pink-color { color: $accent-pink; }
|
|
|
.orange-color { color: $brand-primary; }
|
|
|
|
|
|
/* ========================================
|
|
|
@@ -2008,7 +2009,7 @@ export default {
|
|
|
|
|
|
/* 无数据:邀请加入样式 */
|
|
|
.circle-card-invite {
|
|
|
- background: linear-gradient(135deg, $status-success-tint-2, #ECFDF5);
|
|
|
+ background: linear-gradient(135deg, $status-success-tint-2, $status-success-tint);
|
|
|
}
|
|
|
.circle-invite-content {
|
|
|
padding: 32rpx 24rpx;
|
|
|
@@ -2024,7 +2025,7 @@ export default {
|
|
|
.circle-invite-title {
|
|
|
font-size: 30rpx;
|
|
|
font-weight: 700;
|
|
|
- color: #065F46;
|
|
|
+ color: $status-success-strong;
|
|
|
}
|
|
|
.circle-invite-desc {
|
|
|
font-size: 24rpx;
|
|
|
@@ -2058,6 +2059,13 @@ export default {
|
|
|
align-items: center;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
+// 五维自检图标底色(全局维度令牌)
|
|
|
+.selfcheck-icon-body { background: $dim-body; }
|
|
|
+.selfcheck-icon-wisdom { background: $dim-wisdom; }
|
|
|
+.selfcheck-icon-wealth { background: $dim-wealth; }
|
|
|
+.selfcheck-icon-action { background: $dim-action; }
|
|
|
+.selfcheck-icon-mind { background: $dim-mind; }
|
|
|
+
|
|
|
.selfcheck-icon-circle {
|
|
|
width: 52rpx;
|
|
|
height: 52rpx;
|
|
|
@@ -2230,7 +2238,7 @@ export default {
|
|
|
.empty-family-title {
|
|
|
font-size: 34rpx;
|
|
|
font-weight: 600;
|
|
|
- color: #9A3412;
|
|
|
+ color: $mat-orange-deep;
|
|
|
margin-bottom: 10rpx;
|
|
|
}
|
|
|
.empty-family-desc {
|