Commit 2d8d3237 by YunaiV

code review:会员中心

parent a4841acc
......@@ -18,6 +18,7 @@ export interface UserVO {
areaName: string | undefined
levelName: string | null
point: number | undefined | null
totalPoint: number | undefined | null
experience: number | null | undefined
}
......
......@@ -4,7 +4,7 @@
<template #label>
<descriptions-item-label label=" 等级 " icon="svg-icon:member_level" />
</template>
{{ user.levelName || 0 }}
{{ user.levelName || '无' }}
</el-descriptions-item>
<el-descriptions-item>
<template #label>
......@@ -22,8 +22,9 @@
<template #label>
<descriptions-item-label label=" 总积分 " icon="ep:coin" />
</template>
{{ 0 }}
{{ user.totalPoint || 0 }}
</el-descriptions-item>
<!-- TODO 芋艿:后续接入余额、支付金额 -->
<el-descriptions-item>
<template #label>
<descriptions-item-label label=" 当前余额 " icon="svg-icon:member_balance" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment