You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< template >
< el -descriptions :column ="2" >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 等级 " icon = "svg-icon:member_level" / >
< / template >
{ { user . levelName || '无' } }
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 成长值 " icon = "ep:suitcase" / >
< / template >
{ { user . experience || 0 } }
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 当前积分 " icon = "ep:coin" / >
< / template >
{ { user . point || 0 } }
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 总积分 " icon = "ep:coin" / >
< / template >
{ { user . totalPoint || 0 } }
< / e l - d e s c r i p t i o n s - i t e m >
<!-- TODO 芋艿 : 后续接入余额 、 支付金额 -- >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 当前余额 " icon = "svg-icon:member_balance" / >
< / template >
{ { 0 } }
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 支出金额 " icon = "svg-icon:member_expenditure_balance" / >
< / template >
{ { 0 } }
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item >
< template # label >
< descriptions -item -label label = " 充值金额 " icon = "svg-icon:member_recharge_balance" / >
< / template >
{ { 0 } }
< / e l - d e s c r i p t i o n s - i t e m >
< / e l - d e s c r i p t i o n s >
< / template >
< script setup lang = "ts" >
import { DescriptionsItemLabel } from '@/components/Descriptions'
import * as UserApi from '@/api/member/user'
const { user } = defineProps < { user : UserApi . UserVO } > ( )
< / script >
< style scoped lang = "scss" >
. cell - item {
display : inline ;
}
. cell - item : : after {
content : ':' ;
}
< / style >