11
jhzh
2025-07-10 410baea0e0e5a74350adc5291cf23cb79ad30daa
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
@@ -186,6 +187,34 @@
    </div>
    <!-- tab -->
    <GoToLogin v-show="isGoTo" />
       <!-- <van-popup
         v-model="isshow"
         style="border-radius: 10px"
       >
         <div class="w-600 p-50 box-border" style="width: 350px;padding:20px;display: flex;
    flex-direction: column;">
           <div class="font-700 text-center font-36 textColor" style="font-weight: 700;font-size: 18px;margin-bottom: 15px;">
             提示
           </div>
           <div class="flex justify-center " >
           <div  style="padding:6px;font-size: 16px;" >此项目均为吉星科技出品认准技术✈️号:
             <div  style="margin-top: 10px;">商务2:@jixingkj05</div>
             <div  style="margin-top: 10px;">商务3: @xuyuankeji02</div>
             <div  style="margin-top: 10px;">非我司认准均为骗子,禁止盗用我司演示,谨防受骗上当!</div>
          </div>
          </div>
           <van-button
             color="#1D91FF"
            style="font-size: 14px;margin-top: 20px;"
            type="info"
            @click="closeclick"
           >
             {{ $t("我知道了") }}
           </van-button>
         </div>
       </van-popup> -->
  </div>
</template>
<script>
@@ -215,12 +244,13 @@
  props: {},
  data() {
    return {
      isshow:true,
      // 客服地址
      news: "tab_0",
      // 新闻导航
      newListHeader: [
        {
          title: "印度新闻",
          title: this.$t('hj6'),
          id: "tab_0",
          data: [],
          type: 1,
@@ -241,10 +271,10 @@
      currentIndex: 0,
      bannerImgsArr: [
        {
          img: require("@/assets/img/max.jpg"),
          img: require("@/assets/img/11111.png"),
        },
        {
          img: require("@/assets/img/20240518-225348.jpg"),
          img: require("@/assets/img/11111.png"),
        },
        // {
        //   img: "https://api.trowegroup.com/bs/image/20240305/06eb4602ba7b3e570ccd70c0415884ec.png",
@@ -312,6 +342,9 @@
    }
  },
  methods: {
    closeclick(){
       this.isshow = false
    },
    aRouter(){
      this.$store.commit("elAlertShow", {
          elAlertShow: true,
@@ -320,8 +353,8 @@
      // 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() {
@@ -479,6 +512,7 @@
    async getNewsList(type) {
      if (typeof type == "string") type = 1
      let data = await api.queryNewsList(type);
      // this.isshow = true
      this.newListHeader.map((item) => {
        if (item.type === type) {
          item.data = data.data.list;
@@ -492,10 +526,10 @@
    },
  },
  mounted() {
  async  mounted() {
    this.getUserInfo();
    this.getInfoSite();
    this.getNewsList(1);
    await  this.getNewsList(1);
    this.getArtList();
    this.getBanner();