1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-28 20:10:22 +08:00

style: 调整测试页面和组件示例页面样式

This commit is contained in:
张传龙
2022-03-20 17:33:07 +08:00
parent 4f78bcb77c
commit ff2c25ff75
7 changed files with 16 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ const { replace } = useRouter()
<img src="@/assets/imgs/404/404.png" width="500" />
</template>
<template #footer>
<n-button @click="replace('/')">返回首页</n-button>
<n-button color="#002d6f" @click="replace('/')">返回首页</n-button>
</template>
</n-result>
</div>
@@ -19,6 +19,7 @@ const { replace } = useRouter()
<style lang="scss" scoped>
.page-404 {
height: 100%;
min-height: calc(100vh - 60px);
display: flex;
align-items: center;
justify-content: center;