From 534753db3c5b3591e704fabafce66def0e0b0cf6 Mon Sep 17 00:00:00 2001 From: zhl Date: Sat, 29 Jan 2022 16:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E5=94=AE=E5=B0=9A=E6=9C=AA=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E6=97=B6,=20=E7=82=B9=E5=87=BB=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=90=8E=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/main/GamePlaySection.vue | 1 - src/components/main/NftSection.vue | 3 ++- src/components/main/VideoSection.vue | 1 - src/components/market/NftItem.vue | 14 +++++++++++++- src/store/modules/app.ts | 11 +++++++++++ 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/components/main/GamePlaySection.vue b/src/components/main/GamePlaySection.vue index 8fcda27..891d6d5 100644 --- a/src/components/main/GamePlaySection.vue +++ b/src/components/main/GamePlaySection.vue @@ -34,7 +34,6 @@ import { Component, Vue } from 'vue-property-decorator' import { ISpineData } from '@/utils/SpineRender' import SpineView from '@/components/main/SpineView.vue' -import 'videojs-contrib-hls' import { getBrowser } from '@/utils/browser.util' @Component({ diff --git a/src/components/main/NftSection.vue b/src/components/main/NftSection.vue index 9fb9d61..bdd9cdf 100644 --- a/src/components/main/NftSection.vue +++ b/src/components/main/NftSection.vue @@ -169,9 +169,10 @@ export default class extends Vue { this.presaleStatus = res.presale_info.state || 0 this.presaleTitle = res.presale_info.title this.countdown = res.presale_info.countdown - if (this.presaleStatus === 2 && this.countdown > 0) { + if (this.presaleStatus === 1 && this.countdown > 0) { this.beginCountdown() } + AppModule.updatePresaleStat(this.presaleStatus) AppModule.updateCanBuy(this.presaleStatus === 2 && this.numberRest > 0 && !this.buyed diff --git a/src/components/main/VideoSection.vue b/src/components/main/VideoSection.vue index 3600034..160e239 100644 --- a/src/components/main/VideoSection.vue +++ b/src/components/main/VideoSection.vue @@ -14,7 +14,6 @@