Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-12-04 13:29:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0491b3d268b5fdb11302f2a0b83b1c3fb3c7e15
c0491b3d
1 parent
931e47ba
fix(teacher): 添加匿名用户显示并移除无用图标
移除未使用的图标显示,并在用户名未设置时显示默认的"匿名用户"
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/teacher/myClassPage.vue
src/views/teacher/myClassPage.vue
View file @
c0491b3
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-01-20 10:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-1
1-07 18:03:23
* @LastEditTime: 2025-1
2-04 13:28:55
* @FilePath: /mlaj/src/views/teacher/myClassPage.vue
* @Description: 我的班级页面
-->
...
...
@@ -16,12 +16,12 @@
<van-image round width="4rem" height="4rem"
:src="currentUser.avatar || 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="cover" class="mr-3" />
<div class="flex-1">
<h2 class="text-lg font-bold text-gray-800">{{ currentUser.name }}</h2>
<div class="flex items-center mt-1">
<h2 class="text-lg font-bold text-gray-800">{{ currentUser.name
|| '匿名用户'
}}</h2>
<
!-- <
div class="flex items-center mt-1">
<van-icon name="clock-o" size="22" color="#10b981" class="mr-1" />
<van-icon name="chat-o" size="22" color="#10b981" class="mr-1" />
<van-icon name="comment-circle-o" size="22" color="#10b981" />
</div>
</div>
-->
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment