feat: 封装一些函数,补充页面样式

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-25 15:42:48 +08:00
parent aa53691dc7
commit 7d1cc2da1a
18 changed files with 394 additions and 235 deletions
+11 -3
View File
@@ -1,5 +1,13 @@
<template>
<div>
<slot />
</div>
<main class="w-full h-dvh flex flex-col">
<HeaderCom />
<div class="min-h-0 flex-1 px-4 overflow-y-auto flex">
<div
class="w-full"
:class="{ 'm-auto max-w-sm': $route.path.includes('login') }"
>
<slot />
</div>
</div>
</main>
</template>