refactor(teacher): 移除点评功能并调整学生页面样式
移除checkinPage中的点评功能相关代码 调整studentPage的标签样式和间距
Showing
2 changed files
with
5 additions
and
5 deletions
| ... | @@ -156,7 +156,7 @@ | ... | @@ -156,7 +156,7 @@ |
| 156 | </div> | 156 | </div> |
| 157 | 157 | ||
| 158 | <!-- 右侧:点评 --> | 158 | <!-- 右侧:点评 --> |
| 159 | - <div class="flex items-center cursor-pointer" @click="openCommentPopup(post)"> | 159 | + <!-- <div class="flex items-center cursor-pointer" @click="openCommentPopup(post)"> |
| 160 | <van-icon | 160 | <van-icon |
| 161 | name="comment-o" | 161 | name="comment-o" |
| 162 | :color="post.is_commented ? '#10b981' : '#999'" | 162 | :color="post.is_commented ? '#10b981' : '#999'" |
| ... | @@ -166,7 +166,7 @@ | ... | @@ -166,7 +166,7 @@ |
| 166 | <span class="text-sm" :class="post.is_commented ? 'text-green-600' : 'text-gray-500'"> | 166 | <span class="text-sm" :class="post.is_commented ? 'text-green-600' : 'text-gray-500'"> |
| 167 | {{ post.is_commented ? '已点评' : '点评' }} | 167 | {{ post.is_commented ? '已点评' : '点评' }} |
| 168 | </span> | 168 | </span> |
| 169 | - </div> | 169 | + </div> --> |
| 170 | </div> | 170 | </div> |
| 171 | </div> | 171 | </div> |
| 172 | </van-list> | 172 | </van-list> | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2025-06-19 17:12:19 | 3 | * @Date: 2025-06-19 17:12:19 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2025-06-20 10:12:20 | 5 | + * @LastEditTime: 2025-06-20 11:41:22 |
| 6 | * @FilePath: /mlaj/src/views/teacher/studentPage.vue | 6 | * @FilePath: /mlaj/src/views/teacher/studentPage.vue |
| 7 | * @Description: 学生详情页面 | 7 | * @Description: 学生详情页面 |
| 8 | --> | 8 | --> |
| ... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
| 28 | </div> | 28 | </div> |
| 29 | <!-- 标签 --> | 29 | <!-- 标签 --> |
| 30 | <div class="flex flex-wrap gap-2"> | 30 | <div class="flex flex-wrap gap-2"> |
| 31 | - <van-tag v-for="tag in studentInfo.tags" :key="tag" type="success" size="large"> | 31 | + <van-tag v-for="tag in studentInfo.tags" :key="tag" type="success" size="large" plain> |
| 32 | {{ tag }} | 32 | {{ tag }} |
| 33 | </van-tag> | 33 | </van-tag> |
| 34 | </div> | 34 | </div> |
| ... | @@ -90,7 +90,7 @@ | ... | @@ -90,7 +90,7 @@ |
| 90 | </div> | 90 | </div> |
| 91 | 91 | ||
| 92 | <!-- 功能按钮 --> | 92 | <!-- 功能按钮 --> |
| 93 | - <div class="mt-2 px-4"> | 93 | + <div class="mt-4 px-4"> |
| 94 | <!-- 状态筛选 --> | 94 | <!-- 状态筛选 --> |
| 95 | <div class="flex items-center justify-end mb-4"> | 95 | <div class="flex items-center justify-end mb-4"> |
| 96 | <div @click="showStatusPopup = true" class="flex items-center text-sm text-gray-600 cursor-pointer"> | 96 | <div @click="showStatusPopup = true" class="flex items-center text-sm text-gray-600 cursor-pointer"> | ... | ... |
-
Please register or login to post a comment