Browse Source

修改首页布局,学院中只留新手教程

master
liaoxinyu 2 years ago
parent
commit
396550e16b
  1. 10
      pages/base/home.vue

10
pages/base/home.vue

@ -173,11 +173,11 @@
<view>
<text>{{ item.coin_name }}</text>
</view>
<view style="margin-top: 10rpx;color: #000;">
<view>${{ item.close }} USB</view>
<view style="margin-top: 10rpx;" :class="item.increase * 1 >= 0 ? 'color-buy' : 'color-sell'">
<view>${{ item.close }} USD</view>
</view>
<view style="margin-top: 40rpx;">
<span style="font-size: 50rpx;" :class="item.increase * 1 > 0 ? 'color-buy' : 'color-sell'">
<span style="font-size: 50rpx;" :class="item.increase * 1 >= 0 ? 'color-buy' : 'color-sell'">
{{ item.increaseStr }}
</span>
</view>
@ -2150,8 +2150,8 @@
height: 280rpx;
padding: 20rpx;
margin: 20rpx 0px;
border-radius: 40rpx;
border: 1px solid #484848;
border-radius: 20rpx;
box-shadow: 0px 0px 6px 0px rgba(0, 38, 161, 0.16);
}
}

Loading…
Cancel
Save