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);