From 86628db1986675f33e3bb2606ffa3853e91bf3cc Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Thu, 21 Aug 2025 15:20:43 +0800
Subject: [PATCH] 1
---
src/components/tabHead.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/components/tabHead.vue b/src/components/tabHead.vue
index c80aeb5..599932b 100644
--- a/src/components/tabHead.vue
+++ b/src/components/tabHead.vue
@@ -72,6 +72,7 @@
<script>
import * as api from "@/axios/api";
import handleDt from "@/utils/deTh";
+import { Toast } from "vant";
export default {
name: "tabHead",
data() {
@@ -108,12 +109,13 @@
this.getInfoSite();
},
methods: {
+ // 跳转客服页面
aRouter1() {
- // 跳转客服页面
- window.open(this.onlineService);
+ // window.open(this.onlineService);
+ Toast(this.$t("kf1"));
},
+ // 获取客服地址
async getInfoSite() {
- // 获取客服地址
let data = await api.getInfoSite();
if (data.status === 0) {
this.onlineService = data.data.onlineService;
@@ -183,7 +185,7 @@
type: item.stock_type
}
});
- },
+ }
}
};
</script>
--
Gitblit v1.9.3