Skip to content

Commit

Permalink
style(frontend): 优化页面布局和底部菜单样式
Browse files Browse the repository at this point in the history
-调整 RouterView 的样式,增加底部填充
- 修改底部菜单的布局方式,从 sticky 改为 fixed,并设置宽度为 100%
- 更新 App.vue 文件中的相关代码
  • Loading branch information
sparkmemory committed Jan 10, 2025
1 parent 338ce91 commit 7c52cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
00b8e620dca5bab58d37996f0f350d0a
fab5f9aa38ff92389d6726864c83c7cd
4 changes: 2 additions & 2 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ function toggleFullscreen(e) {
<n-message-provider >
<n-modal-provider>
<n-grid x-gap="12" :cols="1">
<n-gi>
<n-gi style="padding-bottom: 70px">
<RouterView />
</n-gi>
<n-gi style="position: sticky;bottom:0;z-index: 9999;">
<n-gi style="position: fixed;bottom:0;z-index: 9999;width: 100%">
<n-card size="small">
<n-menu style="font-size: 18px;"
v-model:value="activeKey"
Expand Down

0 comments on commit 7c52cd1

Please sign in to comment.