update
This commit is contained in:
@@ -4,9 +4,9 @@ const route = useRoute();
|
||||
|
||||
<template>
|
||||
<!-- <UContainer> -->
|
||||
<div class="font-spacegrotesk relative overflow-x-hidden">
|
||||
<div class="font-spacegrotesk relative min-h-screen overflow-x-hidden flex flex-col">
|
||||
<MainHeader />
|
||||
<main>
|
||||
<main class="flex-1">
|
||||
<slot />
|
||||
</main>
|
||||
<footer>
|
||||
@@ -15,7 +15,7 @@ const route = useRoute();
|
||||
|
||||
<!-- 全局遮罩 -->
|
||||
<div
|
||||
class="absolute inset-0 pointer-events-none -z-10 transition-all duration-700 ease-in-out"
|
||||
class="fixed inset-0 pointer-events-none -z-10 transition-all duration-700 ease-in-out"
|
||||
:style="route.path === '/' ? { clipPath: 'inset(100vh 0 0 0)' } : {}">
|
||||
<div
|
||||
class="absolute inset-0 bg-linear-to-b from-white/40 via-white/40 to-white/70 dark:from-slate-900/40 dark:via-slate-900/40 dark:to-slate-900/70 backdrop-blur-xs"></div>
|
||||
|
||||
Reference in New Issue
Block a user