From cec3974cf3a3ef48ff15e21e4643364adfd23647 Mon Sep 17 00:00:00 2001 From: youzi <2410633923@qq.com> Date: Mon, 29 Dec 2025 10:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Gallery=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E5=8A=A0=E8=BD=BD=E5=92=8C=E5=B8=83=E5=B1=80?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E6=95=B4=E8=8F=9C=E5=8D=95=E9=A1=B9=E5=91=BD?= =?UTF-8?q?=E5=90=8D=EF=BC=8C=E6=B7=BB=E5=8A=A0Apps=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra.d.ts | 3 +- src/components/menuH.vue | 12 +++---- src/lib/components/LazyImg.vue | 6 ++-- src/views/{AppShare.vue => Apps.vue} | 2 +- src/views/Gallery.vue | 52 +++++++++++++++------------- typed-router.d.ts | 6 ++-- vite.config.ts | 4 +-- 7 files changed, 44 insertions(+), 41 deletions(-) rename src/views/{AppShare.vue => Apps.vue} (93%) diff --git a/extra.d.ts b/extra.d.ts index 3094939..5c58722 100644 --- a/extra.d.ts +++ b/extra.d.ts @@ -2,4 +2,5 @@ declare module "aplayer"; declare module "vue3-video-play"; declare module "vue3-masonry-plus"; declare module "vite"; -declare module "vue-devui/tag"; \ No newline at end of file +declare module "vue-devui/tag"; +declare module "vue-infinite-scroll"; \ No newline at end of file diff --git a/src/components/menuH.vue b/src/components/menuH.vue index 041f201..23c15c0 100644 --- a/src/components/menuH.vue +++ b/src/components/menuH.vue @@ -96,27 +96,27 @@ const menuOptions = ref([ icon: () => h(homeSvg) }, { - label: () => h(RouterLink, { to: '/gallery', class: 'flex items-center justify-center' }, { default: () => '画廊管理' }), + label: () => h(RouterLink, { to: '/gallery', class: 'flex items-center justify-center' }, { default: () => '画廊' }), key: "gallery", icon: () => h(picSvg) }, { - label: () => h(RouterLink, { to: '/blog', class: 'flex items-center justify-center' }, { default: () => '文章管理' }), + label: () => h(RouterLink, { to: '/blog', class: 'flex items-center justify-center' }, { default: () => '文章' }), key: "blog", icon: () => h(artiSvg) }, { - label: () => h(RouterLink, { to: '/widget', class: 'flex items-center justify-center' }, { default: () => '工具管理' }), + label: () => h(RouterLink, { to: '/widget', class: 'flex items-center justify-center' }, { default: () => '工具' }), key: "widget", icon: () => h(downSvg) }, { - label: () => h(RouterLink, { to: '/apps', class: 'flex items-center justify-center' }, { default: () => '软件管理' }), + label: () => h(RouterLink, { to: '/apps', class: 'flex items-center justify-center' }, { default: () => '软件' }), key: "apps", icon: () => h(settingSvg) }, { - label: () => h(RouterLink, { to: '/plink', class: 'flex items-center justify-center' }, { default: () => '友链管理' }), + label: () => h(RouterLink, { to: '/plink', class: 'flex items-center justify-center' }, { default: () => '友链' }), key: "plink", icon: () => h(linkSvg) }, @@ -147,7 +147,7 @@ function handleSelect(key: string) { return } if (key == 'console') { - router.push('/console') + gotoConsole() return } } diff --git a/src/lib/components/LazyImg.vue b/src/lib/components/LazyImg.vue index 2d1c97e..e1591b2 100644 --- a/src/lib/components/LazyImg.vue +++ b/src/lib/components/LazyImg.vue @@ -1,8 +1,8 @@