初始化

This commit is contained in:
ZilongYang
2021-10-13 20:59:12 +08:00
commit 56a79617f0
73 changed files with 13328 additions and 0 deletions

34
src/views/common/Nav.vue Normal file
View File

@@ -0,0 +1,34 @@
<script setup>
import { useRouter } from "vue-router";
import { NButton, NIcon, NSpace } from "naive-ui";
import ChevronForward from '@/assets/svgs/ChevronForward.svg'
import ChevronBack from '@/assets/svgs/ChevronBack.svg'
const router = useRouter()
</script>
<template>
<NSpace id="nav" justify="end">
<n-button circle size="small" @click="router.back()" >
<template #icon>
<n-icon>
<ChevronBack />
</n-icon>
</template>
</n-button>
<n-button circle size="small" @click="router.forward()">
<template #icon>
<n-icon>
<ChevronForward />
</n-icon>
</template>
</n-button>
</NSpace>
</template>
<style lang="less" scoped>
#nav {
width: 150px;
// text-align: right;
// padding-top: 10px;
}
</style>