2021-09-09 18:40:38 +08:00
|
|
|
<template>
|
2021-09-20 02:48:53 +08:00
|
|
|
<div>
|
2021-09-20 18:55:42 +08:00
|
|
|
<n-spin class="flex-y-center flex-col h-500px bg-white" :show="loading">
|
2021-09-16 20:11:45 +08:00
|
|
|
<n-gradient-text type="primary" size="32">工作台</n-gradient-text>
|
|
|
|
<n-space>
|
|
|
|
<n-button>Default</n-button>
|
|
|
|
<n-button type="primary">Primary</n-button>
|
|
|
|
<n-button type="info">Info</n-button>
|
|
|
|
<n-button type="success">Success</n-button>
|
|
|
|
<n-button type="warning">Warning</n-button>
|
|
|
|
<n-button type="error">Error</n-button>
|
|
|
|
</n-space>
|
2021-09-20 18:55:42 +08:00
|
|
|
</n-spin>
|
2021-09-11 02:34:36 +08:00
|
|
|
</div>
|
2021-09-09 18:40:38 +08:00
|
|
|
</template>
|
|
|
|
|
2021-09-11 02:34:36 +08:00
|
|
|
<script lang="ts" setup>
|
2021-09-18 22:16:31 +08:00
|
|
|
import { ref } from 'vue';
|
|
|
|
import { NGradientText, NSpace, NButton, NSpin } from 'naive-ui';
|
|
|
|
|
|
|
|
const loading = ref(true);
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
loading.value = false;
|
|
|
|
}, 1500);
|
2021-09-11 02:34:36 +08:00
|
|
|
</script>
|
2021-09-09 18:40:38 +08:00
|
|
|
<style scoped></style>
|