菜单固定于上方
This commit is contained in:
@@ -118,5 +118,6 @@
|
||||
color: #069f99;
|
||||
overflow: hidden;
|
||||
word-break: keep-all;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
@@ -191,7 +191,7 @@ body {
|
||||
}
|
||||
|
||||
.layout {
|
||||
min-height: 100vh !important;
|
||||
min-height: calc(100vh - 10px) !important;
|
||||
overflow-x: hidden;
|
||||
|
||||
&.mobile {
|
||||
|
||||
+3
-2
@@ -16,8 +16,9 @@ const enquireScreen = function (call) {
|
||||
call && call(1)
|
||||
}
|
||||
}
|
||||
enquireJs.register('screen and (max-width: 1087.99px)', handler)
|
||||
enquireJs.register('screen and (max-width: 767.99px)', handler2)
|
||||
// 将max-width设为0,防止转换为手机模式,将菜单隐藏至左侧
|
||||
enquireJs.register('screen and (max-width: 0px)', handler)
|
||||
enquireJs.register('screen and (max-width: 0px)', handler2)
|
||||
}
|
||||
|
||||
export default enquireScreen
|
||||
Reference in New Issue
Block a user