<template>
  <loading v-if="show" />
  <n-config-provider
    preflight-style-disabled
    inline-theme-disabled
    :theme-overrides="themeOverrides"
    :locale="zhCN"
    :date-locale="dateZhCN"
  >
    <n-notification-provider>
      <router-view />
      <GlobalNotif />
    </n-notification-provider>
  </n-config-provider>
</template>
<script setup lang='ts'>
import loading from '@/components/loading.vue'
import useStore from '@/store/index'
import { computed } from 'vue'
import { zhCN, dateZhCN } from 'naive-ui'
import Theme from '@/assets/naive-theme'
import GlobalNotif from '@/components/notifaiction.vue'

const store = useStore()
const show = computed(() => store.loading)
const themeOverrides = Theme
console.log(
  `More:
1. '/' 多人画板
2. '/chart' echart 码数表-Demo
3. '/edit' 富文本编辑-Demo
4. '/fly' SVG二维动态导向-Demo
5. '/plantool' openseadragon平面图缩放-Demo
6. '/draw' canvas画图-Demo
7. '/face' face SVG画图-Demo
8. '/leaflet' leaflet画图-Demo
9. '/three' threejs 3D画图-Demo
10. '/process' process SVG画图-Demo
11. '/video' 荧石视频SDK-Demo
12. '/geo' CAD瓦片反差图-Demo`
)
</script>
<style>
html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
</style>