Files
syops/frontend/src/shared/layouts/MinimalShell.vue
T

23 lines
477 B
Vue

<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>