style: 回退调整navbar的高度为56
This commit is contained in:
parent
287cc34535
commit
647e553c99
|
@ -147,7 +147,7 @@
|
||||||
// TODO:卡片高度调整,写上数值的注释
|
// TODO:卡片高度调整,写上数值的注释
|
||||||
const cardOverHeight = computed(() => {
|
const cardOverHeight = computed(() => {
|
||||||
const contentPadding = 32; // 16+16 上下内容边距
|
const contentPadding = 32; // 16+16 上下内容边距
|
||||||
const navbarHeight = 54; // 顶部导航高度
|
const navbarHeight = 56; // 顶部导航高度
|
||||||
const layoutContentPaddingBottom = 16; // 卡片到底部距离
|
const layoutContentPaddingBottom = 16; // 卡片到底部距离
|
||||||
if (isFullScreen.value) {
|
if (isFullScreen.value) {
|
||||||
return 106;
|
return 106;
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
<a-layout class="layout-content" :style="paddingStyle">
|
<a-layout class="layout-content" :style="paddingStyle">
|
||||||
<a-spin :loading="appStore.loading" :tip="appStore.loadingTip">
|
<a-spin :loading="appStore.loading" :tip="appStore.loadingTip">
|
||||||
<a-scrollbar class="flex h-[calc(100vh-54px)] flex-col gap-[8px] overflow-auto">
|
<a-scrollbar class="flex h-[calc(100vh-56px)] flex-col gap-[8px] overflow-auto">
|
||||||
<MsBreadCrumb />
|
<MsBreadCrumb />
|
||||||
<a-layout-content>
|
<a-layout-content>
|
||||||
<slot name="page">
|
<slot name="page">
|
||||||
|
|
Loading…
Reference in New Issue