diff --git a/src/views/layouts/pure.pug b/src/views/layouts/pure.pug index 284849d..d1f8828 100644 --- a/src/views/layouts/pure.pug +++ b/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 diff --git a/src/views/layouts/root.pug b/src/views/layouts/root.pug index c11642e..05e76fd 100644 --- a/src/views/layouts/root.pug +++ b/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')