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() {
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)
//

View File

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