Browse Source

调整页面布局,增加内容容器,优化页脚位置

re
谢亚昕 3 months ago
parent
commit
cb10b9c8f4
  1. 5
      src/views/layouts/pure.pug
  2. 2
      src/views/layouts/root.pug

5
src/views/layouts/pure.pug

@ -5,8 +5,9 @@ block $$head
block pageHead
block $$content
block pageContent
footer
.content(style="flex:1;height:0")
block pageContent
footer
include /htmx/footer.pug
block $$scripts

2
src/views/layouts/root.pug

@ -32,7 +32,7 @@ html(lang="zh-CN")
height: initial;
}
div(data-simplebar style="height: 100%")
div(style="height: 100%; display: flex; flex-direction: column" id="aaaa")
div(style="height: 100%; display: flex; flex-direction: column")
block $$content
block $$scripts
+js('lib/bg-change.js')

Loading…
Cancel
Save