1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-26 19:20:21 +08:00

feat(guide): 添加操作指引 (#106)

* fix(slot): 优化部分slot写法,减少手动判断

* fix(slot): 优化部分slot写法,减少手动判断

* feat(guide): 添加操作指引
This commit is contained in:
leip247
2024-11-22 15:47:00 +08:00
committed by GitHub
parent 6af6eb3c99
commit 6563797afc
12 changed files with 154 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
<div>
<n-tooltip trigger="hover" placement="left">
<template #trigger>
<div class="f-c-c rounded-4 bg-primary p-8" @click="modalRef.open()">
<div id="layout-setting" class="f-c-c rounded-4 bg-primary p-8" @click="modalRef.open()">
<i class="i-fe:settings cursor-pointer bg-white text-20" />
</div>
</template>

View File

@@ -2,6 +2,7 @@
<n-tooltip trigger="hover">
<template #trigger>
<n-color-picker
id="theme-setting"
class="mr-16 h-32 w-32"
:value="appStore.primaryColor"
:swatches="primaryColors"

View File

@@ -1,5 +1,6 @@
<template>
<i
id="toggleTheme"
class="mr-16 cursor-pointer"
:class="isDark ? 'i-fe:moon' : 'i-fe:sun'"
@click="toggleDark"