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:
commit
76d13c5a71
@ -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)
|
||||||
// 获取屏幕高度
|
// 获取屏幕高度
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
|
"backgroundColorBottom":"#000000",
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
"titleNView": false
|
"titleNView": false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user