From e55bdd2c162a2489f8c8b262959eed2a1f6fefec Mon Sep 17 00:00:00 2001 From: youzi <2410633923@qq.com> Date: Mon, 24 Mar 2025 09:34:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 ++-- src/util/menu.js | 4 ++-- src/views/appshare/index.vue | 21 +++++++++++++++++++++ src/views/console/gallery/index.vue | 2 +- src/views/mobile/gallery/index.vue | 3 ++- 5 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 src/views/appshare/index.vue diff --git a/src/router/index.js b/src/router/index.js index 77ed67d..8a3e049 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -39,8 +39,8 @@ const router = createRouter({ component: () => import("@/views/plink/index.vue"), }, { - path: "/cookbook", - component: () => import("@/views/cookbook/index.vue"), + path: "/appshare", + component: () => import("@/views/appshare/index.vue"), }, ], }, diff --git a/src/util/menu.js b/src/util/menu.js index 87edf38..e47589e 100644 --- a/src/util/menu.js +++ b/src/util/menu.js @@ -26,13 +26,13 @@ const menuInfo = { }, { key: "5", - label: () => h(RouterLink, { to: "/cookbook", class: "menu-item font-[500] text-lg" }, { default: () => "菜谱" }), + label: () => h(RouterLink, { to: "/appshare", class: "menu-item font-[500] text-lg" }, { default: () => "软件分享" }), }, { key: "6", label: () => h(RouterLink, { to: "/plink", class: "menu-item font-[500] text-lg" }, { default: () => "友链" }), }, ], - menuList: ["/home", "/gallery", "/article", "/widget","/cookbook","/plink"], + menuList: ["/home", "/gallery", "/article", "/widget","/appshare","/plink"], }; export default menuInfo; diff --git a/src/views/appshare/index.vue b/src/views/appshare/index.vue new file mode 100644 index 0000000..5573f3e --- /dev/null +++ b/src/views/appshare/index.vue @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/src/views/console/gallery/index.vue b/src/views/console/gallery/index.vue index f584c37..035050f 100644 --- a/src/views/console/gallery/index.vue +++ b/src/views/console/gallery/index.vue @@ -19,7 +19,7 @@
- +
diff --git a/src/views/mobile/gallery/index.vue b/src/views/mobile/gallery/index.vue index e6ec2c1..e84a39b 100644 --- a/src/views/mobile/gallery/index.vue +++ b/src/views/mobile/gallery/index.vue @@ -34,7 +34,8 @@ + :data="{ strategy_id: 2 }" + :headers="{ Authorization: 'Bearer ' + '2|RKsuwoT7mbtuTW7Eguc566uwt7Wg4qgpGA6XTpM1' }" :show-file-list="false" :on-finish="fileFinish"> 上传图片