From 6d4d2e5d8df6987a3f6757f8a25ef1f7f31c332f Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 25 Aug 2020 10:01:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=BA=86=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/remaining/remaining.vue | 20 ++++++++++---------- pages.json | 1 + 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/components/remaining/remaining.vue b/components/remaining/remaining.vue index 87e6cfb..5c7cdf5 100644 --- a/components/remaining/remaining.vue +++ b/components/remaining/remaining.vue @@ -51,7 +51,7 @@ return { remaining: 7, type: false, - banner: false, + banner: true, protocol: false, heightOut: '', imgurl: [], @@ -116,15 +116,15 @@ }, // 3秒倒计时 remaining_time() { - this.timer = setInterval(() => { - this.remaining--; - if (this.remaining <= 0) { - clearInterval(this.timer); - console.log("完了") - // this.type = !this.type; - this.banner = !this.banner; - } - }, 1000); + // this.timer = setInterval(() => { + // this.remaining--; + // if (this.remaining <= 0) { + // clearInterval(this.timer); + // console.log("完了") + // // this.type = !this.type; + // // this.banner = !this.banner; + // } + // }, 1000); }, leap_over() { // this.type = !this.type diff --git a/pages.json b/pages.json index 34c3edc..c4f4f6b 100644 --- a/pages.json +++ b/pages.json @@ -56,6 +56,7 @@ "style": { "navigationBarTitleText": "", "navigationStyle": "custom", + "backgroundColorBottom":"#000000", "app-plus": { "titleNView": false }