Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
e5faee66
提交
e5faee66
authored
9月 04, 2025
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复固定头部时出现的导航栏偏移问题(ICV9OH)
上级
7558c176
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
9 行删除
+16
-9
AppMain.vue
ruoyi-ui/src/layout/components/AppMain.vue
+11
-9
index.vue
ruoyi-ui/src/layout/index.vue
+5
-0
没有找到文件。
ruoyi-ui/src/layout/components/AppMain.vue
浏览文件 @
e5faee66
...
@@ -53,12 +53,19 @@ export default {
...
@@ -53,12 +53,19 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.fixed-header
+
.app-main
{
overflow-y
:
auto
;
scrollbar-gutter
:
auto
;
height
:
calc
(
100vh
-
50px
);
min-height
:
0px
;
}
.app-main
:has
(
.copyright
)
{
.app-main
:has
(
.copyright
)
{
padding-bottom
:
36px
;
padding-bottom
:
36px
;
}
}
.fixed-header
+
.app-main
{
.fixed-header
+
.app-main
{
padding
-top
:
50px
;
margin
-top
:
50px
;
}
}
.hasTagsView
{
.hasTagsView
{
...
@@ -68,19 +75,14 @@ export default {
...
@@ -68,19 +75,14 @@ export default {
}
}
.fixed-header
+
.app-main
{
.fixed-header
+
.app-main
{
padding-top
:
84px
;
margin-top
:
84px
;
height
:
calc
(
100vh
-
84px
);
min-height
:
0px
;
}
}
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
// fix css style bug in open el-dialog
.el-popup-parent--hidden
{
.fixed-header
{
padding-right
:
6px
;
}
}
::-webkit-scrollbar
{
::-webkit-scrollbar
{
width
:
6px
;
width
:
6px
;
height
:
6px
;
height
:
6px
;
...
...
ruoyi-ui/src/layout/index.vue
浏览文件 @
e5faee66
...
@@ -77,6 +77,11 @@ export default {
...
@@ -77,6 +77,11 @@ export default {
}
}
}
}
.main-container
:has
(
.fixed-header
)
{
height
:
100vh
;
overflow
:
hidden
;
}
.drawer-bg
{
.drawer-bg
{
background
:
#000
;
background
:
#000
;
opacity
:
0
.3
;
opacity
:
0
.3
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论