hookehuyr

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

移除未使用的图标显示,并在用户名未设置时显示默认的"匿名用户"
......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-01-20 10:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-11-07 18:03:23
* @LastEditTime: 2025-12-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" />&nbsp;
<van-icon name="chat-o" size="22" color="#10b981" class="mr-1" />&nbsp;
<van-icon name="comment-circle-o" size="22" color="#10b981" />&nbsp;
</div>
</div> -->
</div>
</div>
</div>
......