| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <template>
- <a-config-provider :locale="locale">
- <router-view v-if="$route.meta.fullpage" />
- <div v-else style="background: #F4F5F9">
- <Header />
- <div
- style="
- width: 100%;
- overflow-y: scroll;
- height: 100%;
- display: flex;
- justify-content: center;
- background-color: #f1f2f8;
- "
- >
- <div style="width: 1624px" class="admin-ui-container">
- <router-view></router-view>
- </div>
- </div>
- <!-- <Footer/>-->
- </div>
- </a-config-provider>
- <!-- <a-config-provider :locale="locale">-->
- <!-- 1-->
- <!-- <router-view />-->
- <!-- </a-config-provider>-->
- <MiniYun></MiniYun>
- </template>
- <script setup name="App">
- import i18n from '@/locales'
- import { globalStore } from '@/store'
- import Header from '@/views/portal/components/Header.vue'
- import Footer from '@/views/portal/components/Footer.vue'
- import MiniYun from '@/components/MiniYun/index.vue'
- const store = globalStore()
- store.initTheme()
- const locale = i18n.global.messages.value[i18n.global.locale.value].lang
- onMounted(() => {
- console.log('经过我')
- })
- </script>
|