From 8673ff92e07d700dc6031178b37473ea4015aa25 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Tue, 4 Jun 2024 22:06:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 41 ++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 9de9a73..af3d721 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -106,7 +106,9 @@
-
+
+ +
{{ item.coin_name }}
$ {{ item.price || item.close }} USD
@@ -192,8 +194,8 @@
{{ $t("homeNewText.hh19") }}
- - + +
@@ -204,12 +206,11 @@
- - + +
- - + {{ item.coin_name }}
@@ -217,12 +218,11 @@
- - + +
- - + {{ item.coin_name }}
@@ -230,12 +230,11 @@
- - + +
- - + {{ item.coin_name }}
@@ -1048,7 +1047,8 @@ line: '', guideList: [], cid: '', - helpList: [] + helpList: [], + imgList:[] }; }, methods: { @@ -1106,6 +1106,15 @@ this.iconList = res.iconList; this.pcBannerList = res.pcBannerList this.tab = this.marketList[0].coin_name; + + this.imgList = []; + this.marketList[0].marketInfoList.map(item=>{ + this.imgList.push({ + coin_name: item.coin_name, + coin_icon:item.coin_icon + }) + }) + // setTimeout(() => { // this.skroll(); // }, 100);