xiaoxian521
2 years ago
34 changed files with 1576 additions and 1462 deletions
-
2LICENSE
-
4README.en-US.md
-
4README.md
-
60package.json
-
1781pnpm-lock.yaml
-
1public/logo.svg
-
24src/assets/iconfont/iconfont.css
-
93src/assets/iconfont/iconfont.js
-
33src/assets/iconfont/iconfont.json
-
BINsrc/assets/iconfont/iconfont.ttf
-
BINsrc/assets/iconfont/iconfont.woff
-
BINsrc/assets/iconfont/iconfont.woff2
-
3src/layout/components/notice/noticeItem.vue
-
21src/layout/components/screenfull/index.vue
-
17src/layout/components/search/components/SearchModal.vue
-
20src/layout/components/sidebar/extraIcon.vue
-
4src/layout/components/sidebar/horizontal.vue
-
2src/layout/components/sidebar/leftCollapse.vue
-
40src/layout/components/sidebar/logo.vue
-
17src/layout/components/sidebar/mixNav.vue
-
170src/layout/components/sidebar/sidebarItem.vue
-
4src/layout/components/tag/index.scss
-
13src/layout/components/tag/index.vue
-
2src/layout/hooks/useDataThemeChange.ts
-
13src/layout/hooks/useNav.ts
-
9src/layout/hooks/useTag.ts
-
5src/layout/types.ts
-
2src/router/index.ts
-
3src/router/utils.ts
-
6src/store/modules/multiTags.ts
-
3src/style/index.scss
-
454src/style/sidebar.scss
-
45src/utils/print.ts
-
7types/global.d.ts
1781
pnpm-lock.yaml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" class="icon" viewBox="0 0 1024 1024"><path fill="#386BF3" d="M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109z"/><path fill="#C3D2FB" d="M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665z"/><path fill="#303F5B" d="M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.114 323.114 0 0 1-107.769-242.852z"/></svg> |
93
src/assets/iconfont/iconfont.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,21 +0,0 @@ |
|||||
<script setup lang="ts"> |
|
||||
import { useI18n } from "vue-i18n"; |
|
||||
import { useFullscreen } from "@vueuse/core"; |
|
||||
|
|
||||
const { t } = useI18n(); |
|
||||
const { isFullscreen, toggle } = useFullscreen(); |
|
||||
</script> |
|
||||
|
|
||||
<template> |
|
||||
<div |
|
||||
class="screen-full w-[36px] h-[48px] flex-ac cursor-pointer navbar-bg-hover" |
|
||||
@click="toggle" |
|
||||
> |
|
||||
<FontIcon |
|
||||
:title=" |
|
||||
isFullscreen ? t('buttons.hsexitfullscreen') : t('buttons.hsfullscreen') |
|
||||
" |
|
||||
:icon="isFullscreen ? 'team-iconexit-fullscreen' : 'team-iconfullscreen'" |
|
||||
/> |
|
||||
</div> |
|
||||
</template> |
|
@ -0,0 +1,20 @@ |
|||||
|
<script setup lang="ts"> |
||||
|
import { toRaw } from "vue"; |
||||
|
import { useRenderIcon } from "@/components/ReIcon/src/hooks"; |
||||
|
|
||||
|
const props = defineProps({ |
||||
|
extraIcon: { |
||||
|
type: String, |
||||
|
default: "" |
||||
|
} |
||||
|
}); |
||||
|
</script> |
||||
|
|
||||
|
<template> |
||||
|
<div v-if="props.extraIcon" class="flex justify-center items-center"> |
||||
|
<component |
||||
|
:is="useRenderIcon(toRaw(props.extraIcon))" |
||||
|
class="w-[30px] h-[30px]" |
||||
|
/> |
||||
|
</div> |
||||
|
</template> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue