<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
</script>

<template>
  <el-config-provider :message="{ max: 3 }" :z-index="100" :locale="zhCn">
    <Suspense>
      <router-view class="w-screen h-screen" />
      <template #fallback>
        <div v-loading="true" class="w-screen h-screen" />
      </template>
    </Suspense>
  </el-config-provider>
</template>

<style lang="scss">
body {
  font-family: PingFangSC, PingFangSC-Medium;

  margin: 0;
  padding: 0;

  --el-component-size-large: 48px;
  --el-component-size: 42px;
  --el-component-size-small: 32px;
}
</style>
