|
@@ -26,7 +26,7 @@
|
|
|
<view class="level-icon"></view>
|
|
<view class="level-icon"></view>
|
|
|
<text class="level-name">{{ profile.levelName }}</text>
|
|
<text class="level-name">{{ profile.levelName }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="points-value">{{ profile.points }}</text>
|
|
|
|
|
|
|
+ <text class="points-value">{{ profile.aggregateScore }}</text>
|
|
|
<text class="points-label">积分</text>
|
|
<text class="points-label">积分</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -37,7 +37,7 @@
|
|
|
<view class="progress-fill" :style="{ width: profile.levelProgress + '%' }"></view>
|
|
<view class="progress-fill" :style="{ width: profile.levelProgress + '%' }"></view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="progress-values">
|
|
<view class="progress-values">
|
|
|
- <text class="current-value">当前{{ profile.points }}</text>
|
|
|
|
|
|
|
+ <text class="current-value">当前{{ profile.aggregateScore }}</text>
|
|
|
<text class="target-value">目标{{ profile.nextLevelPoints }}</text>
|
|
<text class="target-value">目标{{ profile.nextLevelPoints }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="upgrade-tip">再获得{{ profile.pointsToNextLevel }}积分即可晋升{{ profile.nextLevelName }}等级</view>
|
|
<view class="upgrade-tip">再获得{{ profile.pointsToNextLevel }}积分即可晋升{{ profile.nextLevelName }}等级</view>
|
|
@@ -210,7 +210,8 @@ export default {
|
|
|
currentLevelPoints: 0,
|
|
currentLevelPoints: 0,
|
|
|
nextLevelPoints: 100,
|
|
nextLevelPoints: 100,
|
|
|
pointsToNextLevel: 0,
|
|
pointsToNextLevel: 0,
|
|
|
- levelProgress: 0
|
|
|
|
|
|
|
+ levelProgress: 0,
|
|
|
|
|
+ aggregateScore: 0,
|
|
|
},
|
|
},
|
|
|
// 签到相关
|
|
// 签到相关
|
|
|
isSignedToday: false,
|
|
isSignedToday: false,
|
|
@@ -330,7 +331,8 @@ export default {
|
|
|
currentLevelPoints: matchmakerInfo.current_level_points || 0,
|
|
currentLevelPoints: matchmakerInfo.current_level_points || 0,
|
|
|
nextLevelPoints: matchmakerInfo.next_level_points || 100,
|
|
nextLevelPoints: matchmakerInfo.next_level_points || 100,
|
|
|
pointsToNextLevel: matchmakerInfo.points_to_next_level || 0,
|
|
pointsToNextLevel: matchmakerInfo.points_to_next_level || 0,
|
|
|
- levelProgress: matchmakerInfo.level_progress || 0
|
|
|
|
|
|
|
+ levelProgress: matchmakerInfo.level_progress || 0,
|
|
|
|
|
+ aggregateScore: matchmakerInfo.aggregate_score || 0,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|