1
jhzh
2025-12-26 4e40eb60d399fd7ff4b19a5e50e6f1d336f62c88
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
@@ -92,6 +92,7 @@
              </div>
            </li> -->
            <li @click="aRouter1">
            <!-- <li @click="$router.push('/recharge')"> -->
              <div class="link">
                <div class="icon">
                  <img
@@ -353,7 +354,11 @@
    },
    aRouter1() {
        // window.open('https://chatlink.wchatlink.com/widget/standalone.html?eid=139eb5679d5a9aea0650dbb3c96ca1a2&language=en');
      window.open(this.onlineService);
        if (window.localStorage.getItem("USERTOKEN")) {
          window.open(this.onlineService);
        }else{
          this.$router.push('/login')
        }
    },
    getdialog() {
@@ -498,7 +503,6 @@
      let data = await api.getInfoSite();
      if (data.status === 0) {
        this.onlineService = data.data.onlineService;
        console.log(this.onlineService, 'this.onlineService');
      } else {
        this.$store.commit("elAlertShow", {
          elAlertShow: true,