123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <script setup>
- import '@unocss/reset/tailwind.css'
- import LoginModal from '~/components/common/login/index.vue'
- const router = useRouter()
- router.beforeEach(() => {
- const timer = setTimeout(() => {
- const dom = document.getElementById('app-scroller')
- dom.scrollTo({
- top: 0,
- behavior: 'smooth',
- })
- clearTimeout(timer)
- }, 500)
- })
- useHead({
- script: [
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- type: 'application/ld+json',
- children: JSON.stringify({
- datePublished: '2024-12-01T00:00:00.000Z',
- dateModified: new Date().toISOString(),
- }),
- },
- ],
- noscript: [
-
- {
- children: '<iframe src="https://www.googletagmanager.com/gtag/js?id=G-XNX7ZDX7QY" height="0" width="0" style="display:none;visibility:hidden"></iframe>',
- tagPosition: 'bodyOpen',
- },
- ],
- })
- </script>
- <template>
- <NuxtLayout>
- <NuxtPage />
- <LoginModal />
- </NuxtLayout>
- </template>
- <style lang="less">
- .page-enter-active,
- .page-leave-active {
- transition: opacity .5s;
- }
- .page-enter-from,
- .page-leave-to {
- opacity: 0;
- }
- html,
- body,
- #__nuxt {
- height: 100vh;
- margin: 0;
- padding: 0;
- background: #fff;
- color: var(--primary-color);
- font-size: var(--font-size-base);
- font-family: 'CommonFont';
- }
- </style>
|