hookehuyr

fix(teacher): 添加匿名用户显示并移除无用图标

移除未使用的图标显示,并在用户名未设置时显示默认的"匿名用户"
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2025-01-20 10:00:00 3 * @Date: 2025-01-20 10:00:00
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2025-11-07 18:03:23 5 + * @LastEditTime: 2025-12-04 13:28:55
6 * @FilePath: /mlaj/src/views/teacher/myClassPage.vue 6 * @FilePath: /mlaj/src/views/teacher/myClassPage.vue
7 * @Description: 我的班级页面 7 * @Description: 我的班级页面
8 --> 8 -->
...@@ -16,12 +16,12 @@ ...@@ -16,12 +16,12 @@
16 <van-image round width="4rem" height="4rem" 16 <van-image round width="4rem" height="4rem"
17 :src="currentUser.avatar || 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="cover" class="mr-3" /> 17 :src="currentUser.avatar || 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="cover" class="mr-3" />
18 <div class="flex-1"> 18 <div class="flex-1">
19 - <h2 class="text-lg font-bold text-gray-800">{{ currentUser.name }}</h2> 19 + <h2 class="text-lg font-bold text-gray-800">{{ currentUser.name || '匿名用户' }}</h2>
20 - <div class="flex items-center mt-1"> 20 + <!-- <div class="flex items-center mt-1">
21 <van-icon name="clock-o" size="22" color="#10b981" class="mr-1" />&nbsp; 21 <van-icon name="clock-o" size="22" color="#10b981" class="mr-1" />&nbsp;
22 <van-icon name="chat-o" size="22" color="#10b981" class="mr-1" />&nbsp; 22 <van-icon name="chat-o" size="22" color="#10b981" class="mr-1" />&nbsp;
23 <van-icon name="comment-circle-o" size="22" color="#10b981" />&nbsp; 23 <van-icon name="comment-circle-o" size="22" color="#10b981" />&nbsp;
24 - </div> 24 + </div> -->
25 </div> 25 </div>
26 </div> 26 </div>
27 </div> 27 </div>
......