- 调整 default.vue 中的主容器样式,使其更加灵活 - 在 home/index.vue 和 profile/index.vue 中应用 flex 布局,提高页面结构的适应性 - 优化代码格式和缩进,提高可读性
13 lines
249 B
Vue
13 lines
249 B
Vue
<template>
|
|
<main class="flex flex-col min-h-svh">
|
|
<AppHeader class="h-[var(--van-nav-bar-height)]" />
|
|
|
|
<div class="flex-1 flex flex-col">
|
|
<slot />
|
|
</div>
|
|
|
|
<AppFooter />
|
|
</main>
|
|
</template>
|
|
<script setup lang="ts">
|
|
</script> |