From 13890e3f8d1f802069083827f00cea11eac7e755 Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Fri, 13 Mar 2026 16:30:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B8=AE=E5=8A=A9=E4=B8=AD?=
=?UTF-8?q?=E5=BF=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/index.js | 15 ++
.../NavBar/components/HellpCenter.vue | 215 ++++++++++++++++++
.../NavBar/components/NavbarRight.vue | 11 +-
3 files changed, 237 insertions(+), 4 deletions(-)
create mode 100644 src/api/system/index.js
create mode 100644 src/layout/components/NavBar/components/HellpCenter.vue
diff --git a/src/api/system/index.js b/src/api/system/index.js
new file mode 100644
index 0000000..df908e8
--- /dev/null
+++ b/src/api/system/index.js
@@ -0,0 +1,15 @@
+import request from "@/utils/request";
+import {
+ Account_BaseUrl,
+ Product_BaseUrl,
+ Market_BaseUrl,
+ System_BaseUrl
+} from "@/api/config";
+
+// 帮助中心
+export function getHelp() {
+ return request({
+ url: `${System_BaseUrl + "/user/getHelp"}`,
+ method: 'get'
+ });
+}
\ No newline at end of file
diff --git a/src/layout/components/NavBar/components/HellpCenter.vue b/src/layout/components/NavBar/components/HellpCenter.vue
new file mode 100644
index 0000000..e1cd34e
--- /dev/null
+++ b/src/layout/components/NavBar/components/HellpCenter.vue
@@ -0,0 +1,215 @@
+
+
+
帮助中心
+
+
+
+
+
+
联系方式
+
+
+
+ {{ helpInfo.service_phone }}
+
+
+
+
+
+
+
+
+ {{ helpInfo.qq_consult }}
+
+
+
+
+
+
+
+
+ {{ helpInfo.qq_complaint }}
+
+
+
+
+
+
+
+
+ {{ helpInfo.work_time }}
+
+
+
+
+
官方公众号
+
+ 关注后即可查看所有操作教程视频
+
+
+
+ 关注后即可查看所有操作教程视频
+ 微信扫描识别二维码关注,获取更多服务
+
+
+
+
+
+ {{ index + 1 }}
+
+
{{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/components/NavBar/components/NavbarRight.vue b/src/layout/components/NavBar/components/NavbarRight.vue
index dbe906b..7cb5b49 100644
--- a/src/layout/components/NavBar/components/NavbarRight.vue
+++ b/src/layout/components/NavBar/components/NavbarRight.vue
@@ -2,6 +2,8 @@
+
+
@@ -35,6 +37,7 @@ import { useAppStore, useSettingsStore } from "@/store";
import UserProfile from "./UserProfile.vue";
import Notification from "./Notification.vue";
+import HellpCenter from "./HellpCenter.vue";
const appStore = useAppStore();
const settingStore = useSettingsStore();
@@ -48,7 +51,7 @@ const isMobile = computed(() => appStore.device === DeviceEnum.MOBILE);
align-items: center;
justify-content: center;
- & > * {
+ &>* {
display: inline-block;
min-width: 40px;
height: $navbar-height;
@@ -67,12 +70,12 @@ const isMobile = computed(() => appStore.device === DeviceEnum.MOBILE);
margin: 10px 0;
}
-.dark .navbar__right > *:hover {
+.dark .navbar__right>*:hover {
background: rgb(255 255 255 / 20%);
}
-.layout-top .navbar__right > *,
-.layout-mix .navbar__right > * {
+.layout-top .navbar__right>*,
+.layout-mix .navbar__right>* {
color: #333;
}