From 7cb57bed8377d23c1913f05030eaf5b47b7f7089 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Mon, 15 May 2023 21:57:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A1=AB=E5=85=85=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 2fab274..5d7b567 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -385,11 +385,11 @@
- - - + + +
-
{{ $t("xtzcoins3.a68") }}
(2023-04-25)
{{ $t("xtzcoins3.a69") }}
+
@@ -1189,6 +1189,7 @@ export default { cid: '', price_cny: 0, email: '', + articleSysList: [], }; }, methods: { @@ -1416,6 +1417,11 @@ export default { this.cid = e; this.getArticleListItem(); }, + getArticleSysList(){ + College.getArticleList(4).then(data => { + this.articleSysList = data.splice(0, 3); + }).catch(); + }, // 获取汇率 getCurrencyExCny() { @@ -1458,6 +1464,8 @@ export default { this.indexMarketList(); this.getCollegeLinks(); this.getCurrencyExCny(); + this.getArticleSysList(); + console.log(this.articleSysList); /* * swiper 轮播图效果 */