0510航天交易所ui仿制,代码使用的jiem
lxf
2025-05-19 45190f969dd8c7d3d2c6e366694f0dadc5ea07e8
src/components/contract-header/index.vue
@@ -36,13 +36,13 @@
          </div>
        </div>
        <div class="flex justify-between pt-34">
          <button
          <!-- <button
            class="tabBtn w-368 h-74 lh-74 border-none rounded"
            :class="selectIndex == 1 ? 'select-active' : 'no-select'"
            @click="changeTab(1)"
          >
            {{ $t("永续合约") }}
          </button>
          </button> -->
          <!-- 资金费率​ -->
          <!-- <div class="flex flex-col items-center justify-center ml-20">
            <div class="text-grey font-24">
@@ -172,7 +172,7 @@
        // { name:"ADA/USDT",close:"0.493085",change_ratio:"-4.08"},
      ],
     interval:null,
     countdown: '', // 用于存储倒计时
      countdown: "", // 用于存储倒计时
      symbolname: "",
    };
  },
@@ -199,7 +199,9 @@
             this.countdown = "00:00:00";
           } else {
             const hours = Math.floor(remainingTime / (1000 * 60 * 60));
             const minutes = Math.floor((remainingTime % (1000 * 60 * 60)) / (1000 * 60));
        const minutes = Math.floor(
          (remainingTime % (1000 * 60 * 60)) / (1000 * 60)
        );
             const seconds = Math.floor((remainingTime % (1000 * 60)) / 1000);
             this.countdown = `${hours}:${minutes}:${seconds}`;
           }