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-10-13 10:29:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
260727e1acc7b16bb6af2c874a0c8f5b91fe0c5c
260727e1
1 parent
096a8369
fix(ui): 调整返回顶部按钮的位置和偏移量
统一多个页面的返回顶部按钮样式,将底部位置调整为25vh,偏移量改为600,提升用户体验
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
src/views/checkin/IndexCheckInPage.vue
src/views/courses/CourseDetailPage.vue
src/views/teacher/checkinPage.vue
src/views/teacher/studentPage.vue
src/views/checkin/IndexCheckInPage.vue
View file @
260727e
...
...
@@ -154,7 +154,7 @@
<van-dialog v-model:show="dialog_show" title="标题" show-cancel-button></van-dialog>
<van-back-top right="5vw" bottom="25vh" offset="
4
00" />
<van-back-top right="5vw" bottom="25vh" offset="
6
00" />
<!-- 底部悬浮打卡按钮 -->
<div v-if="!taskDetail.is_finish" class="floating-checkin-button">
...
...
src/views/courses/CourseDetailPage.vue
View file @
260727e
...
...
@@ -325,7 +325,7 @@
</template>
</div>
</van-popup>
<van-back-top right="5vw" bottom="
15vh" offset="4
00" />
<van-back-top right="5vw" bottom="
25vh" offset="6
00" />
</AppLayout>
</template>
...
...
src/views/teacher/checkinPage.vue
View file @
260727e
...
...
@@ -173,7 +173,7 @@
<van-empty v-else description="暂无数据" />
</div>
<van-back-top right="5vw" bottom="
10vh" offset="4
00" />
<van-back-top right="5vw" bottom="
25vh" offset="6
00" />
<div style="height: 5rem;"></div>
</van-config-provider>
...
...
src/views/teacher/studentPage.vue
View file @
260727e
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-06-19 17:12:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-13 10:2
0:21
* @LastEditTime: 2025-10-13 10:2
8:29
* @FilePath: /mlaj/src/views/teacher/studentPage.vue
* @Description: 学生详情页面
-->
...
...
@@ -272,7 +272,6 @@
</div>
</van-list>
<van-empty v-show="activeTab === 'homework' && !checkinDataList.length" description="暂无数据" />
<van-back-top right="5vw" bottom="10vh" offset="400" />
<div style="height: 5rem;"></div>
<!-- 状态筛选弹窗 -->
...
...
@@ -369,6 +368,8 @@
<p class="text-gray-700 text-center">确定要删除这条点评吗?</p>
</div>
</van-dialog>
<van-back-top right="5vw" bottom="25vh" offset="600" />
</div>
</van-config-provider>
</template>
...
...
Please
register
or
login
to post a comment