| | |
| | | </div> |
| | | <div :class="getRateClass(getRateValue(item.key, 'countRate'))"> |
| | | 日环比:{{ getRateValue(item.key, 'countRate') || 0 }}% |
| | | <img |
| | | v-if="getRateValue(item.key, 'countRate') > 0" |
| | | src="~static/images/home/up.png" |
| | | class="rate-container__img" |
| | | /> |
| | | <img |
| | | v-if="getRateValue(item.key, 'countRate') < 0" |
| | | src="~static/images/home/down.png" |
| | | class="rate-container__img" |
| | | /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | } |
| | | &__img { |
| | | width: 16PX; |
| | | height: 16PX; |
| | | position: relative; |
| | | top: 2PX; |
| | | } |
| | | } |
| | | } |
| | | } |