| | |
| | | </van-nav-bar> |
| | | <div class="exchange-page"> |
| | | |
| | | |
| | | <list-account show class="mt-24" type="exchange" @exchange="onPopup" ref="exchange" /> |
| | | <van-popup class="tabBackground" v-model:show="show" position="bottom" :close-on-click-overlay="false" |
| | | @close="onClose"> |
| | |
| | | <div class="px-8 flex items-center mt-8"> |
| | | <div class="flex-1 textColor text-center"> |
| | | <div class="text-center flex justify-center"> |
| | | <img v-if="detail.symbol" :src="`${HOST_URL}/symbol/${detail.iconImg1}.png`" alt="logo" |
| | | <img v-if="detail.symbol" :src="`${IMG_PATH}/symbol/${detail.iconImg1}.png`" alt="logo" |
| | | class="w-16 h-16 rounded-full" /> |
| | | </div> |
| | | <div class="text-grey text-28 mt-5">{{ $t('从') }}</div> |
| | |
| | | |
| | | <div class="flex-1 textColor text-center"> |
| | | <div class="text-center flex justify-center"> |
| | | <img v-if="detail.symbol_to" :src="`${HOST_URL}/symbol/${detail.iconImg2}.png`" alt="logo" |
| | | <img v-if="detail.symbol_to" :src="`${IMG_PATH}/symbol/${detail.iconImg2}.png`" alt="logo" |
| | | class="w-16 h-16 rounded-full" /> |
| | | </div> |
| | | <div class="text-grey text-28 mt-5">{{ $t('至') }}</div> |
| | |
| | | import ListAccount from '@/components/Transform/mining-account/index.vue' |
| | | import { _initExchange, _exchange } from "@/service/fund.api"; |
| | | import { Popup, showToast } from "vant" |
| | | import { HOST_URL } from '@/config' |
| | | import { IMG_PATH } from '@/config' |
| | | export default { |
| | | components: { |
| | | assetsHead, |
| | |
| | | detail: {}, |
| | | interval: null, |
| | | count: 10, |
| | | HOST_URL, |
| | | IMG_PATH, |
| | | } |
| | | }, |
| | | created() { |