| | |
| | | <div id="cryptos"> |
| | | <van-nav-bar left-arrow @click-left="onClickLeft"> |
| | | |
| | | <template #right> |
| | | <!-- <template #right> |
| | | <van-icon class="exchange-icon" @click="$router.push('/cryptos/exchangeHistory')" name="clock-o" /> |
| | | </template> |
| | | </template> --> |
| | | <template #title> |
| | | <div class="flex items-center"> |
| | | {{ $t('闪兑') }} |
| | |
| | | class="w-70 h-70 rounded-full" /> |
| | | </div> |
| | | <div class="text-grey font-28 mt-20">{{ $t('从') }}</div> |
| | | <div class="font-30 mt-30">{{ detail.volume }} {{ detail.symbol }}</div> |
| | | <div class="font-30 mt-30">{{ detail.volume }} {{ detail.name }}</div> |
| | | </div> |
| | | <img src="../../../assets/image/exchange/icon_6.png" class="w-30 h-20" style="margin-top:-65px" /> |
| | | |
| | |
| | | </li> --> |
| | | <li class="flex justify-between font-28 mt-25"> |
| | | <span class="text-grey">{{ $t('汇率') }}</span> |
| | | <span class="textColor">1 {{ detail.symbol && |
| | | detail.symbol.toUpperCase() }}≈{{ (detail.rate * 1).toFixed(5) }} {{ detail.symbol_to && |
| | | <span class="textColor">1 {{ detail.name && |
| | | detail.name.toUpperCase() }}≈{{ (detail.rate * 1).toFixed(5) }} {{ detail.symbol_to && |
| | | detail.symbol_to.toUpperCase() }}</span> |
| | | </li> |
| | | </ul> |
| | |
| | | }, |
| | | onConfirm() { // 闪兑 |
| | | this.clearInterval() |
| | | console.log(this.detail); |
| | | let obj = { |
| | | symbol: this.detail.symbol_ex, |
| | | symbol_to: this.detail.symbol_to_ex, |