From 04e94d23edf83f43312813563aa0cdfd5f52936a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A3=8A?= <13466513767@163.com> Date: Fri, 3 Apr 2026 16:45:16 +0800 Subject: [PATCH] =?UTF-8?q?'menu=E9=A2=9C=E8=89=B2=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E3=80=81tag=E6=A0=B7=E5=BC=8F=E8=B7=B3=E8=BD=AC'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/area/index.ts | 9 ++ src/layout/components/AppMain.vue | 14 +-- src/layout/components/Navbar.vue | 11 ++- src/layout/components/Sidebar/Logo.vue | 4 +- src/layout/components/TagsView/ScrollPane.vue | 11 ++- src/layout/components/TagsView/index.vue | 92 +++++++++++++------ src/styles/variables.module.scss | 20 ++-- src/views/user/userDetection.vue | 9 +- 8 files changed, 122 insertions(+), 48 deletions(-) create mode 100644 src/api/area/index.ts diff --git a/src/api/area/index.ts b/src/api/area/index.ts new file mode 100644 index 0000000..98b1ec3 --- /dev/null +++ b/src/api/area/index.ts @@ -0,0 +1,9 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +export function getAreaList(data: any): AxiosPromise { + return request({ + url: '/api/area', + method: 'post', + data + }); +} \ No newline at end of file diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 7084cd1..6cad5eb 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -20,26 +20,28 @@ const cachedViews = computed(() => tagsView.cachedViews); diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index cf8736b..9db53ff 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -132,6 +132,8 @@ function logout() {