| | |
| | | </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"> |
| | |
| | | // { name:"ADA/USDT",close:"0.493085",change_ratio:"-4.08"}, |
| | | ], |
| | | interval:null, |
| | | countdown: '', // 用于存储倒计时 |
| | | countdown: "", // 用于存储倒计时 |
| | | symbolname: "", |
| | | }; |
| | | }, |
| | |
| | | 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}`; |
| | | } |