refactor(frontend): 重构前端第二版
This commit is contained in:
1 parent
2631f78b00
commit
4b562cfa82
205 files changed
+15399
-12015
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* shared/layouts/MinimalShell.vue
|
||||
* 极简壳层(重置密码等)。
|
||||
*/
|
||||
|
||||
/** L3 — 单卡居中页(重置密码等) */
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
maxWidth?: string;
|
||||
}>(),
|
||||
{ maxWidth: '28rem' }
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="page-shell flex min-h-screen items-center justify-center p-4">
|
||||
<div class="card w-full shadow-elevated p-8 md:p-10" :style="{ maxWidth }">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user