PC-20250623MANY\Administrator
2025-09-29 58b0f1e9bd03a472321acf1dfc4e89fc4ce9df7a
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,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,6 +244,7 @@
  props: {},
  data() {
    return {
      isshow: true,
      // 客服地址
      news: "tab_0",
      // 新闻导航
@@ -312,16 +342,19 @@
    }
  },
  methods: {
    aRouter(){
    closeclick() {
      this.isshow = false
    },
    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() {
@@ -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 @@
    },
  },
  async  mounted() {
  async mounted() {
    this.getUserInfo();
    this.getInfoSite();
    await  this.getNewsList(1);
    await this.getNewsList(1);
    this.getArtList();
    this.getBanner();
@@ -1197,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;
@@ -1225,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;