19 lines
648 B
Vue
19 lines
648 B
Vue
|
<script setup lang="ts">
|
||
|
// const route = useRouter()
|
||
|
|
||
|
// const toggle = computed(() => route.currentRoute.value.path.includes('login') ? { href: '/register', text: '注册' } : { href: '/login', text: '登录' })
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div class="h-full w-full flex flex-col pt-[100px] md:pt-0 relative">
|
||
|
<LayoutHeader class="" />
|
||
|
<main class="flex-1">
|
||
|
<slot />
|
||
|
</main>
|
||
|
|
||
|
<BackgroundLeft class="absolute left-0 h-full select-none " />
|
||
|
<BackgroundLeft class="absolute right-0 rotate-180 scale-x-150 h-full select-none " />
|
||
|
<!-- <BackgroundRight class="absolute right-0 h-full select-none" /> -->
|
||
|
</div>
|
||
|
</template>
|