| | |
| | | <template> |
| | | <div id="cryptos"> |
| | | <div class="DeliveryContractHistory px-10 font-28"> |
| | | <assets-head :title="routeType == 'cryptos' ? $t('交割合约历史') : $t('期货交易')" :backFunc="() => { |
| | | <assets-head :title="routeType == 'cryptos' ? $t('交割合约历史') : $t('货币交易')" :backFunc="() => { |
| | | if ($route.query.goback) { |
| | | $router.push({ |
| | | path: '/cryptos/funds', |
| | |
| | | <van-icon name="arrow-down" /> |
| | | <div class="select-data" v-if="isAll"> |
| | | <div class="select-item" @click.stop="selectItem(item2)" v-for="(item2, index) in currencyList" |
| | | :key="index">{{ routeType == 'indices' ? item2.name : item2.symbol.toUpperCase() || item2.symbol }}</div> |
| | | :key="index">{{ routeType == 'indices' ? item2.name : item2.symbol.toUpperCase() || item2.symbol }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | :finished-text="dataList.orders.length ? $t('已经全部加载完毕') : ''" @load="onLoad" :offset="30" class="px-20"> |
| | | <futrue-hold-list v-if="type === 'orders'" :list-data="dataList.orders"> |
| | | </futrue-hold-list> |
| | | <div class="flex flex-col justify-center pt-50 pb-20 items-center" v-if="!dataList.orders.length && !loading"> |
| | | <div class="flex flex-col justify-center pt-50 pb-20 items-center" |
| | | v-if="!dataList.orders.length && !loading"> |
| | | <img src="@/assets/image/assets-center/no-data.png" alt="" class="w-100 h-100 no-data-img" /> |
| | | <p class="text-grey mt-10">{{ $t('暂无记录') }}</p> |
| | | </div> |