From 3003b7486ddeffd169f2b2f564fc0ff8c2c58bb3 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 22 Jul 2025 09:56:04 +0800
Subject: [PATCH] 1
---
src/page/home/home.vue | 68 +++++++++++++++++++++++++--------
1 files changed, 51 insertions(+), 17 deletions(-)
diff --git a/src/page/home/home.vue b/src/page/home/home.vue
index 75945b1..9a32ff6 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
@@ -92,6 +92,7 @@
</div>
</li> -->
<li @click="aRouter1">
+ <!-- <li @click="$router.push('/recharge')"> -->
<div class="link">
<div class="icon">
<img
@@ -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 @@
},
},
- mounted() {
+ async mounted() {
this.getUserInfo();
this.getInfoSite();
- this.getNewsList(1);
+ await this.getNewsList(1);
this.getArtList();
this.getBanner();
--
Gitblit v1.9.3