From 58b0f1e9bd03a472321acf1dfc4e89fc4ce9df7a Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Mon, 29 Sep 2025 01:14:10 +0800
Subject: [PATCH] 9.28更换api

---
 src/page/home/home.vue |   53 +++++++++++++++++++++++++++--------------------------
 1 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/src/page/home/home.vue b/src/page/home/home.vue
index ee42d04..7b832be 100644
--- a/src/page/home/home.vue
+++ b/src/page/home/home.vue
@@ -57,7 +57,7 @@
                 <div class="name">{{ $t("yeb") }}</div>
               </div>
             </li> -->
-            <li @click="aRouter">
+            <li @click="$router.push('/recharge')">
               <div class="link">
                 <div class="icon">
                   <img
@@ -81,7 +81,7 @@
               </div>
             </li>
             <!-- setting -->
-           <!-- <li @click="$router.push('/setting')">
+            <!-- <li @click="$router.push('/setting')">
               <div class="link">
                 <div class="icon">
                   <img
@@ -91,7 +91,8 @@
                 <div class="name">{{ $t("安全") }}</div>
               </div>
             </li> -->
-            <!-- <li @click="aRouter1">
+            <li @click="aRouter1">
+              <!-- <li @click="$router.push('/recharge')"> -->
               <div class="link">
                 <div class="icon">
                   <img
@@ -100,7 +101,7 @@
                 </div>
                 <div class="name">{{ $t("kf") }}</div>
               </div>
-            </li> -->
+            </li>
             <!-- <li @click="$router.push('/warehouse')">
               <div class="link">
                 <div class="icon">
@@ -159,13 +160,13 @@
           <mt-tab-container-item v-for="(items, index) in newListHeader" :id="items.id" :key="index">
             <div class="news-content">
               <div class="" v-for="(item, inde) in items.data" :key="inde" @click="
-            $router.push({
-              path: '/newPage',
-              query: {
-                listid: item.id,
-              },
-            })
-            ">
+                $router.push({
+                  path: '/newPage',
+                  query: {
+                    listid: item.id,
+                  },
+                })
+                ">
                 <div class="item-times">
                   {{ item.showTime | gettime }}
                 </div>
@@ -186,7 +187,7 @@
     </div>
     <!-- tab -->
     <GoToLogin v-show="isGoTo" />
-    	<van-popup
+    <!-- <van-popup
     	  v-model="isshow"
     	  style="border-radius: 10px"
 
@@ -213,7 +214,7 @@
     	      {{ $t("我知道了") }}
     	    </van-button>
     	  </div>
-    	</van-popup>
+    	</van-popup> -->
   </div>
 </template>
 <script>
@@ -243,7 +244,7 @@
   props: {},
   data() {
     return {
-      isshow:true,
+      isshow: true,
       // 客服地址
       news: "tab_0",
       // 新闻导航
@@ -341,19 +342,19 @@
     }
   },
   methods: {
-    closeclick(){
-    	this.isshow = false
+    closeclick() {
+      this.isshow = false
     },
-    aRouter(){
+    aRouter() {
       this.$store.commit("elAlertShow", {
-          elAlertShow: true,
-          elAlertText: this.$t("当前充值渠道已关闭请选择在线客服进行充值。")
-        });
+        elAlertShow: true,
+        elAlertText: this.$t("当前充值渠道已关闭请选择在线客服进行充值。")
+      });
       // window.open(this.onlineService);
     },
     aRouter1() {
-        window.open('https://chatlink.wchatlink.com/widget/standalone.html?eid=139eb5679d5a9aea0650dbb3c96ca1a2&language=en');
-      // window.open(this.onlineService);
+      // window.open('https://chatlink.wchatlink.com/widget/standalone.html?eid=139eb5679d5a9aea0650dbb3c96ca1a2&language=en');
+      window.open(this.onlineService);
     },
 
     getdialog() {
@@ -525,10 +526,10 @@
     },
   },
 
-  async  mounted() {
+  async mounted() {
     this.getUserInfo();
     this.getInfoSite();
-    await  this.getNewsList(1);
+    await this.getNewsList(1);
     this.getArtList();
     this.getBanner();
 
@@ -1230,7 +1231,7 @@
         .name {
           font-family: PingFang SC;
           font-style: normal;
-          font-weight: 400;
+          font-weight: 500;
           font-size: 0.32rem;
           line-height: 0.45333rem;
           color: #14181f;
@@ -1258,7 +1259,7 @@
         .name {
           font-family: PingFang SC;
           font-style: normal;
-          font-weight: 400;
+          font-weight: 500;
           font-size: 0.32rem;
           line-height: 0.45333rem;
           color: #14181f;

--
Gitblit v1.9.3