feat: 优化钱钱系统显示

This commit is contained in:
陈淳
2024-01-15 15:44:55 +08:00
parent 56760a0aac
commit 71108b6ba8
4 changed files with 5 additions and 4 deletions

View File

@@ -110,6 +110,7 @@ const Init = () => {
userInfo.nick = props.userInfo.nick; userInfo.nick = props.userInfo.nick;
userInfo.role = props.userInfo.role; userInfo.role = props.userInfo.role;
userInfo.id = props.userInfo.id; userInfo.id = props.userInfo.id;
userInfo.money=props.userInfo.money;
userInfo.level = props.userInfo.level; userInfo.level = props.userInfo.level;
userInfo.userLimit = props.userInfo.userLimit; userInfo.userLimit = props.userInfo.userLimit;
iconUrl.value = iconUrlHandler(userInfo.icon); iconUrl.value = iconUrlHandler(userInfo.icon);

View File

@@ -45,7 +45,7 @@
<div class="line"></div> <div class="line"></div>
<div class="bottom"> <div class="bottom">
<div class="header"> <div class="header">
<div class="score">积分3005</div> <div class="score">钱钱{{ userInfo.money }}</div>
<div class="status"> <div class="status">
<span>状态</span> <span>状态</span>
<span> {{ getStatusInfo(userInfo.userLimit) }}</span> <span> {{ getStatusInfo(userInfo.userLimit) }}</span>

View File

@@ -123,8 +123,8 @@
<template v-if="isPointFinished"> <template v-if="isPointFinished">
<InfoCard <InfoCard
:items="pointList" :items="pointList"
header="本月排行" header="财富排行"
text="更多" text="关于钱钱"
height="400" height="400"
> >
<template #item="temp"> <template #item="temp">

View File

@@ -61,7 +61,7 @@
<el-tab-pane label="修改密码" name="resetPwd"> <el-tab-pane label="修改密码" name="resetPwd">
<resetPwd /> <resetPwd />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="账号设置" name="accountSetting"> <el-tab-pane label="第三方快捷登录" name="accountSetting">
<accountSet /> <accountSet />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>