Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2d8d3237
authored
Aug 26, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review:会员中心
parent
a4841acc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/api/member/user/index.ts
+1
-0
src/views/member/user/detail/UserAccountInfo.vue
+3
-2
No files found.
src/api/member/user/index.ts
View file @
2d8d3237
...
@@ -18,6 +18,7 @@ export interface UserVO {
...
@@ -18,6 +18,7 @@ export interface UserVO {
areaName
:
string
|
undefined
areaName
:
string
|
undefined
levelName
:
string
|
null
levelName
:
string
|
null
point
:
number
|
undefined
|
null
point
:
number
|
undefined
|
null
totalPoint
:
number
|
undefined
|
null
experience
:
number
|
null
|
undefined
experience
:
number
|
null
|
undefined
}
}
...
...
src/views/member/user/detail/UserAccountInfo.vue
View file @
2d8d3237
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<template
#
label
>
<template
#
label
>
<descriptions-item-label
label=
" 等级 "
icon=
"svg-icon:member_level"
/>
<descriptions-item-label
label=
" 等级 "
icon=
"svg-icon:member_level"
/>
</
template
>
</
template
>
{{ user.levelName ||
0
}}
{{ user.levelName ||
'无'
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
<
template
#
label
>
...
@@ -22,8 +22,9 @@
...
@@ -22,8 +22,9 @@
<
template
#
label
>
<
template
#
label
>
<descriptions-item-label
label=
" 总积分 "
icon=
"ep:coin"
/>
<descriptions-item-label
label=
" 总积分 "
icon=
"ep:coin"
/>
</
template
>
</
template
>
{{ 0 }}
{{
user.totalPoint ||
0 }}
</el-descriptions-item>
</el-descriptions-item>
<!-- TODO 芋艿:后续接入余额、支付金额 -->
<el-descriptions-item>
<el-descriptions-item>
<
template
#
label
>
<
template
#
label
>
<descriptions-item-label
label=
" 当前余额 "
icon=
"svg-icon:member_balance"
/>
<descriptions-item-label
label=
" 当前余额 "
icon=
"svg-icon:member_balance"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment