Browse Source

修改首页

master
liaoxinyu 2 years ago
parent
commit
5f64599e55
  1. 22
      pages/base/home.vue

22
pages/base/home.vue

@ -283,13 +283,19 @@
<view class="rfm-child d-flex" v-for="(parentItem,index) in marketList" :key="parentItem.coin_name">
<view style="width: 230rpx;" v-for="(item,iindex) in parentItem.marketInfoList.slice(6,13)" :key="iindex+'img'">
<view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"></img>
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.ewmcoin.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else />
<view class="d-flex">{{ item.coin_name }}</view>
</view>
</view>
<view style="width: 230rpx;" v-for="(item,imgIndex) in parentItem.marketInfoList.slice(6,13)" :key="imgIndex">
<view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"></img>
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.ewmcoin.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else />
<view class="d-flex">{{ item.coin_name }}</view>
</view>
</view>
@ -305,13 +311,19 @@
<view class="rfm-child d-flex" v-for="(parentItem,index) in marketList" :key="parentItem.coin_name">
<view style="width: 230rpx;" v-for="(item,iindex) in parentItem.marketInfoList.slice(7,16)" :key="iindex+'img'">
<view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"></img>
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.ewmcoin.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else />
<view class="d-flex">{{ item.coin_name }}</view>
</view>
</view>
<view style="width: 230rpx;" v-for="(item,imgIndex) in parentItem.marketInfoList.slice(7,16)" :key="imgIndex">
<view class="price-info d-flex">
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"></img>
<img :src="item.coin_icon" style="width: 28px;height: 28px;margin-right: 5px;"
v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.ewmcoin.com/storage/images/trx.png" style="width: 28px;height: 28px;margin-right: 5px;"
v-else />
<view class="d-flex">{{ item.coin_name }}</view>
</view>
</view>
@ -2159,7 +2171,6 @@
.marketbox3{
width: 280rpx;
height: 320rpx;
border: 1px solid #484848;
padding: 66rpx 20rpx;
margin: 20rpx 0px 0px 0px;
border-radius: 40rpx;
@ -2218,6 +2229,7 @@
text-align: center;
line-height: 120rpx;
margin: auto;
color: #999999;
}
.Howtogetstarted_box1{
margin-top: 16px;

Loading…
Cancel
Save