Kaynağa Gözat

chore: auto bump version and changelog [skip ci]

iwt 1 ay önce
ebeveyn
işleme
4a9f195a26

+ 1 - 63
cfc-frontend/pages/wealth/index.vue

@@ -34,16 +34,6 @@
    <text>👶 切换到孩子视角</text>
  </view>
 
- <!-- 用户卡片 -->
-      <view class="user-card" @click="goToProfile">
-        <view class="avatar">👤</view>
-        <view class="user-info">
-          <text class="nickname">{{ nickname || '未设置昵称' }}</text>
-          <text class="role">{{ role === 'parent' ? '家长模式' : (role === 'child' ? '孩子模式' : '成长规划师模式') }}</text>
-        </view>
-        <text class="card-arrow">›</text>
-      </view>
-
       <!-- 身克富杠杆警告 -->
       <body-wealth-alert 
         :status="bodyWealthStatus" 
@@ -176,10 +166,6 @@
           <text>📊 积分记录</text>
           <text class="arrow">›</text>
         </view>
-        <view class="menu-item" @click="goToPromotion">
-          <text>📣 推广中心</text>
-          <text class="arrow">›</text>
-        </view>
         <view class="menu-item logout-item" @click="logout">
           <text>🚪 退出登录</text>
           <text class="arrow">›</text>
@@ -214,7 +200,6 @@ export default {
       isLoggedIn: false,
       role: 'parent',
       isSwitchedChild: false,
-      nickname: '',
       // 五维评分
       bodyScore: 0,
       mindScore: 0,
@@ -275,9 +260,6 @@ export default {
     this.role = currentRole
     this.isSwitchedChild = uni.getStorageSync('isSwitchedChild') || false
 
-    var userInfo = uni.getStorageSync('userInfo')
-    this.nickname = (userInfo && userInfo.nickname) || ''
-
     this.loadChildren()
     this.loadWealthDetail()
     this.loadWealthData()
@@ -488,9 +470,6 @@ export default {
     goToPointsLogs() {
       uni.navigateTo({ url: '/pages/points/points' })
     },
-    goToPromotion() {
-      uni.navigateTo({ url: '/pages/promotion/index' })
-    },
     goToShop() {
       uni.navigateTo({ url: '/pages/shop/index/index' })
     },
@@ -556,47 +535,6 @@ export default {
   color: #999;
 }
 
-/* 用户卡片 */
-.user-card {
-  display: flex;
-  align-items: center;
-  background: #fff;
-  margin: 0 30rpx 20rpx;
-  border-radius: 20rpx;
-  padding: 30rpx;
-  box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
-}
-.avatar {
-  width: 100rpx;
-  height: 100rpx;
-  border-radius: 50%;
-  background: linear-gradient(135deg, #F59E0B, #FBBF24);
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  font-size: 48rpx;
-  margin-right: 24rpx;
-  flex-shrink: 0;
-}
-.user-info {
-  flex: 1;
-}
-.nickname {
-  font-size: 34rpx;
-  font-weight: bold;
-  color: #333;
-  margin-bottom: 8rpx;
-}
-.role {
-  font-size: 24rpx;
-  color: #999;
-}
-.card-arrow {
-  color: #ccc;
-  font-size: 40rpx;
-  margin-left: 16rpx;
-}
-
 /* 切换区域 */
 .switch-section {
   margin: 0 30rpx 20rpx;
@@ -720,7 +658,7 @@ export default {
   box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
 }
 .service-item {
-  width: 33.33%;
+  width: 25%;
   display: flex;
   flex-direction: column;
   align-items: center;

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-a9dbc540f1653e77605dae7c845a62f80ec94016
+5c83cfdc129bef443e607f8f1aa45c5b673223bb