lxf
2025-07-15 f3c40298d1ef0e3424483d99854c9bef3f92573a
src/views/cryptos/DeliveryContractHistory/index.vue
@@ -1,7 +1,7 @@
<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',
@@ -29,7 +29,8 @@
            <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>
@@ -38,7 +39,8 @@
            :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>