From 6bb4ef66ebef1038ce94c3c21adaadc551d37a71 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 18 Jan 2026 14:03:41 +0800
Subject: [PATCH] 1
---
src/components/tabHead.vue | 4 ++--
src/config/index.js | 3 ++-
src/page/user/account.vue | 4 +++-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/components/tabHead.vue b/src/components/tabHead.vue
index 6d0e897..31f12c2 100644
--- a/src/components/tabHead.vue
+++ b/src/components/tabHead.vue
@@ -57,6 +57,7 @@
<script>
import * as api from "@/axios/api";
import handleDt from "@/utils/deTh";
+import config from "@/config";
import { Toast } from "vant";
export default {
name: "tabHead",
@@ -69,7 +70,6 @@
finished: true, // 是否加载完成
pageNum: 1,
pageSize: 20,
- onlineService: 'https://line.me/ti/p/my2nFFp9TB'
};
},
props: {
@@ -97,7 +97,7 @@
methods: {
// 跳转客服页面
aRouter1() {
- window.open(this.onlineService);
+ window.open(config.onlineService);
// Toast(this.$t("kf1"));
},
// 获取客服地址
diff --git a/src/config/index.js b/src/config/index.js
index 13a7f1b..0fabe4f 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -1,3 +1,4 @@
export default {
- Mainly: "US" // 主要使用货币
+ Mainly: "US", // 主要使用货币
+ onlineService: "https://line.me/ti/p/my2nFFp9TB" // 在线客服地址
};
diff --git a/src/page/user/account.vue b/src/page/user/account.vue
index 538ea37..c198ce3 100644
--- a/src/page/user/account.vue
+++ b/src/page/user/account.vue
@@ -204,6 +204,7 @@
<script>
import { Toast } from "vant";
import tabHead from "@/components/tabHead.vue";
+import config from "@/config";
import * as api from "@/axios/api";
export default {
name: "account",
@@ -251,7 +252,8 @@
},
// 充值提示
czts() {
- Toast(this.$t("充值提示"));
+ // Toast(this.$t("充值提示"));
+ window.open(config.onlineService); // 跳转客服
}
},
created() {
--
Gitblit v1.9.3