| | |
| | | <template> |
| | | <div class="list-quatation"> |
| | | <ex-tabs @tabs="onTabs" v-if="tabShow"></ex-tabs> |
| | | <div style="font-size: 12px"> |
| | | <div class="flex-centerY" style="color: #999;margin-top: 10px"> |
| | | <div style="flex: 2"> |
| | | {{$t("名称/交易额")}} |
| | | </div> |
| | | <div style="flex: 1;text-align: end;margin-right: 15px"> |
| | | {{$t("最新价")}} |
| | | </div> |
| | | <div style="flex: 1;text-align: end"> |
| | | {{$t("涨跌幅")}} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <van-list> |
| | | <van-cell v-if="tabHeadShow"> |
| | | <div class="flex items-center w-full text-grey font-26"> |
| | |
| | | <span class="textColor font-600"> |
| | | {{ item.symbol_data && item.symbol_data.toUpperCase() || '--' }} |
| | | </span> |
| | | <span class="text-grey" style="position: relative; top: 1px"> |
| | | <span class="text-grey" style="position: relative; top: 1px;font-size: 12px;color: #333"> |
| | | /USDT |
| | | </span> |
| | | <!-- <span class="font-24 text-grey" style="position: relative; top: 1px"> |
| | | {{ item.name && item.name.replace(item.symbol.toUpperCase(), '') || '--' }}</span> --> |
| | | </span> |
| | | <span class="font-12 text-grey text-left leading-none">{{ $t('成交量') + ' ' + (item.amount * |
| | | 1).toFixed(2) }}</span> |
| | | <!-- <span class="font-12 text-grey text-left leading-none">{{ $t('成交量') + ' ' + (item.amount *--> |
| | | <!-- 1).toFixed(2) }}</span>--> |
| | | <div> |
| | | <span class="font-12 text-grey text-left leading-none" style="font-size: 10px;color: #999">{{ (item.amount *1).toFixed(2) }}</span> |
| | | <span class="font-12 text-grey text-left leading-none" style="font-size: 10px;color: #999"> M USDT</span> |
| | | </div> |
| | | </p> |
| | | </li> |
| | | <li class="flex flex-col items-end mid"> |
| | | <p class="textColor font-16 font-600">{{ item.close || '--' }}</p> |
| | | <p class="font-12 text-grey leading-none">{{ currency.currency_symbol }} |
| | | <li class="flex flex-col items-end mid" > |
| | | <!-- <p class="textColor font-16 font-600">{{ item.close || '--' }}</p>--> |
| | | <p class="font-12 text-grey leading-none" style="font-size: 12px;color: #333"> |
| | | <!-- {{ currency.currency_symbol }}--> |
| | | {{ item.close && item.symbol_data.toUpperCase() == 'SHIB' ? (item.close * currency.rate).toFixed(8) : |
| | | (item.close * |
| | | currency.rate).toFixed(2) || '--' }}</p> |