diff --git a/components/remaining/remaining.vue b/components/remaining/remaining.vue index 1519ea0..5c7cdf5 100644 --- a/components/remaining/remaining.vue +++ b/components/remaining/remaining.vue @@ -50,8 +50,8 @@ data() { return { remaining: 7, - type: true, - banner: false, + type: false, + banner: true, protocol: false, heightOut: '', imgurl: [], @@ -116,18 +116,18 @@ }, // 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 + // this.type = !this.type this.banner = !this.banner; clearInterval(this.timer) // 获取屏幕高度 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 }