feat(projects): 添加抽屉

This commit is contained in:
Soybean
2022-01-07 18:51:06 +08:00
parent 0653fb144f
commit 10e4d81bd6
15 changed files with 356 additions and 14 deletions

View File

@ -0,0 +1,18 @@
<template>
<n-button
class="fixed top-240px right-14px z-10000"
:class="{ '!right-330px': app.settingDrawerVisible }"
@click="toggleSettingdrawerVisible"
>
点击
</n-button>
</template>
<script setup lang="ts">
import { NButton } from 'naive-ui';
import { useAppStore } from '@/store';
const app = useAppStore();
const { toggleSettingdrawerVisible } = useAppStore();
</script>
<style scoped></style>

View File

@ -0,0 +1,3 @@
import DrawerButton from './DrawerButton/index.vue';
export { DrawerButton };