hookehuyr

refactor(studentPage): 调整状态筛选按钮位置至统计标签页下显示

...@@ -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-30 17:45:27 5 + * @LastEditTime: 2025-07-02 18:02:18
6 * @FilePath: /mlaj/src/views/teacher/studentPage.vue 6 * @FilePath: /mlaj/src/views/teacher/studentPage.vue
7 * @Description: 学生详情页面 7 * @Description: 学生详情页面
8 --> 8 -->
...@@ -91,16 +91,6 @@ ...@@ -91,16 +91,6 @@
91 </van-row> 91 </van-row>
92 </div> 92 </div>
93 93
94 - <!-- 功能按钮 -->
95 - <div class="mt-4 px-4">
96 - <!-- 状态筛选 -->
97 - <div class="flex items-center justify-end mb-4">
98 - <div @click="showStatusPopup = true" class="flex items-center text-sm text-gray-600 cursor-pointer">
99 - <span>{{ formatStatus(statusFilter) }}</span>
100 - <van-icon name="arrow-down" size="14" class="ml-1" />
101 - </div>
102 - </div>
103 - </div>
104 94
105 <!-- 使用van-sticky包裹van-tabs实现粘性布局 --> 95 <!-- 使用van-sticky包裹van-tabs实现粘性布局 -->
106 <div class="bg-white" style="margin: 1rem;"> 96 <div class="bg-white" style="margin: 1rem;">
...@@ -112,6 +102,16 @@ ...@@ -112,6 +102,16 @@
112 </van-tabs> 102 </van-tabs>
113 </van-sticky> 103 </van-sticky>
114 </div> 104 </div>
105 + <!-- 功能按钮 -->
106 + <div v-show="activeTab === 'statistics'" class="mt-4 px-4" style="padding-right: 1.25rem;">
107 + <!-- 状态筛选 -->
108 + <div class="flex items-center justify-end mb-4">
109 + <div @click="showStatusPopup = true" class="flex items-center text-sm text-gray-600 cursor-pointer">
110 + <span>{{ formatStatus(statusFilter) }}</span>
111 + <van-icon name="arrow-down" size="14" class="ml-1" />
112 + </div>
113 + </div>
114 + </div>
115 115
116 <!-- 记录列表 --> 116 <!-- 记录列表 -->
117 <van-list v-show="activeTab === 'statistics'" v-model:loading="recordLoading" :finished="recordFinished" 117 <van-list v-show="activeTab === 'statistics'" v-model:loading="recordLoading" :finished="recordFinished"
......