Merge pull request 'xbx-new' (#291) from xbx-new into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/291
This commit is contained in:
luyuan 2020-08-25 10:03:53 +08:00
commit 76d13c5a71
2 changed files with 13 additions and 12 deletions

View File

@ -50,8 +50,8 @@
data() { data() {
return { return {
remaining: 7, remaining: 7,
type: true, type: false,
banner: false, banner: true,
protocol: false, protocol: false,
heightOut: '', heightOut: '',
imgurl: [], imgurl: [],
@ -116,18 +116,18 @@
}, },
// 3 // 3
remaining_time() { remaining_time() {
this.timer = setInterval(() => { // this.timer = setInterval(() => {
this.remaining--; // this.remaining--;
if (this.remaining <= 0) { // if (this.remaining <= 0) {
clearInterval(this.timer); // clearInterval(this.timer);
console.log("完了") // console.log("")
this.type = !this.type; // // this.type = !this.type;
this.banner = !this.banner; // // this.banner = !this.banner;
} // }
}, 1000); // }, 1000);
}, },
leap_over() { leap_over() {
this.type = !this.type // this.type = !this.type
this.banner = !this.banner; this.banner = !this.banner;
clearInterval(this.timer) clearInterval(this.timer)
// //

View File

@ -56,6 +56,7 @@
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom", "navigationStyle": "custom",
"backgroundColorBottom":"#000000",
"app-plus": { "app-plus": {
"titleNView": false "titleNView": false
} }