1
lxf
2025-07-15 59269b6839c57aeb0d547dfd6da38157180483fd
src/components/Transform/contract-futrue/index.vue
@@ -1,20 +1,20 @@
<template>
  <div>
    <div class="contact-futrue">
      <div class="font-24 text-grey mb-24">{{ $t('交割时间') }}</div>
      <div class="font-24 text-grey mb-24">{{ $t('兑换时间') }}</div>
      <ul class="flex flex-wrap w-full"  v-if="initFutrue.para?.length" >
        <!-- v-if="initFutrue.para" -->
        <!-- initFutrue: {{ initFutrue.para }} -->
        <li v-for="(item, index) in initFutrue.para" :key="index"
          class="h-92 flex items-center mb-22" @click="onSelect(item, index)">
          <p class="w-95 h-full flex justify-center items-center font-22 flex-1"
          <p class="w-280 h-full flex justify-center items-center font-22 flex-1"
            :class="active === item.para_id ? 'bg-light-blue text-white' : 'delivery_left_tab_background textColor'"
            >{{ item.time_num +
              item.time_unit.substr(0, 1) }}</p>
          <p class="w-125 h-full flex justify-center items-center font-22 flex-1"
          <!-- <p class="w-140 h-full flex justify-center items-center font-22 flex-1"
            :class="active === item.para_id ? 'bg-dark-blue text-white' : 'delivery_tab_background textColor'"
            >{{ 
              item.profit_ratio }}%</p>
              item.profit_ratio }}%</p> -->
        </li>
      </ul>
    </div>