From 95e138158db3e61e0be67691a4142f20c561634c Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 13 Jan 2026 18:50:38 +0800
Subject: [PATCH] 1

---
 src/components/tabHead.vue |   34 ++++++++++------------------------
 1 files changed, 10 insertions(+), 24 deletions(-)

diff --git a/src/components/tabHead.vue b/src/components/tabHead.vue
index 27df46a..6d0e897 100644
--- a/src/components/tabHead.vue
+++ b/src/components/tabHead.vue
@@ -16,34 +16,19 @@
       <slot></slot>
     </div>
     <!-- 搜索弹窗 -->
-    <van-popup
-      v-model="searchShow"
-      round
-      position="bottom"
-      :style="{ height: '80%' }"
-    >
+    <van-popup v-model="searchShow" round position="bottom" :style="{ height: '80%' }">
       <div class="popup_head">
         <van-icon name="arrow-left" size=".5em" @click="searchShow = false" />
         <div class="popup_input">
-          <van-field
-            v-model="searchValue"
-            :placeholder="$t('hj37')"
-            left-icon="search"
-            clearable
-          />
+          <van-field v-model="searchValue" :placeholder="$t('hj37')" left-icon="search" clearable />
         </div>
         <van-button type="primary" round @click="submit">{{
           $t("Search")
         }}</van-button>
       </div>
 
-      <van-list
-        v-model="loading"
-        :finished="finished"
-        :finished-text="$t('hj43')"
-        @load="onLoad"
-        v-if="(lists && lists.length > 0) || !finished"
-      >
+      <van-list v-model="loading" :finished="finished" :finished-text="$t('hj43')" @load="onLoad"
+        v-if="(lists && lists.length > 0) || !finished">
         <van-cell v-for="item in lists" :key="item.id" @click="toDetails(item)">
           <div class="search_item">
             <div class="search_item_left">
@@ -83,7 +68,8 @@
       loading: false, // 是否加载
       finished: true, // 是否加载完成
       pageNum: 1,
-      pageSize: 20
+      pageSize: 20,
+      onlineService: 'https://line.me/ti/p/my2nFFp9TB'
     };
   },
   props: {
@@ -106,13 +92,13 @@
   },
   async mounted() {
     this.init();
-    this.getInfoSite();
+    // this.getInfoSite();
   },
   methods: {
     // 跳转客服页面
     aRouter1() {
-      // window.open(this.onlineService);
-      Toast(this.$t("kf1"));
+      window.open(this.onlineService);
+      // Toast(this.$t("kf1"));
     },
     // 获取客服地址
     async getInfoSite() {
@@ -131,7 +117,7 @@
       // 跳转设置页面
       this.$router.push("/setting");
     },
-    onLoad: handleDt.throttle(async function(a, b) {
+    onLoad: handleDt.throttle(async function (a, b) {
       // 搜索列表加载
       this.finished = false;
       let opt = {

--
Gitblit v1.9.3