用户信息显示优化

This commit is contained in:
liuwei
2025-04-14 17:53:10 +08:00
parent a77536d3df
commit e2a3177692
2 changed files with 7 additions and 16 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
<el-col :span="6">
<div v-if="currentUser.success" style="display: flex; flex-direction: column; align-items: center;">
<div v-if="currentUser.data.avatar" style="margin-bottom: 10px;">
<img :src="'/static/images/' + currentUser.data.avatar" style="width: 80px; height: 80px; border-radius: 50%;" />
<img :src="'/static/' + currentUser.data.avatar" style="width: 80px; height: 80px; border-radius: 50%;" />
</div>
<div style="text-align: center;">
<div style="font-size: 18px; font-weight: bold;">{% raw %}{{ currentUser.data.nickname }}{% endraw %}</div>