feat: 添加后台全局页脚
This commit is contained in:
@@ -45,6 +45,11 @@
|
||||
</transition>
|
||||
</router-view>
|
||||
</n-layout-content>
|
||||
|
||||
<n-layout-footer bordered class="footer">
|
||||
<span>© 2026 {{ appName }}</span>
|
||||
<span>备案信息待补充</span>
|
||||
</n-layout-footer>
|
||||
</n-layout>
|
||||
</n-layout>
|
||||
</template>
|
||||
@@ -188,7 +193,19 @@ onUnmounted(() => window.removeEventListener('resize', resizeHandler));
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.content {
|
||||
height: calc(100vh - 56px);
|
||||
height: calc(100vh - var(--admin-header-height) - var(--admin-footer-height));
|
||||
}
|
||||
.footer {
|
||||
height: var(--admin-footer-height);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
padding: 0 16px;
|
||||
color: var(--n-text-color-3);
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.fade-enter-active,
|
||||
.fade-leave-active {
|
||||
|
||||
Reference in New Issue
Block a user