修复bug
This commit is contained in:
@@ -123,9 +123,15 @@
|
|||||||
this.y = close.offsetTop
|
this.y = close.offsetTop
|
||||||
this.w = close.clientWidth
|
this.w = close.clientWidth
|
||||||
this.h = close.clientHeight
|
this.h = close.clientHeight
|
||||||
|
|
||||||
|
document.body.addEventListener('touchmove', this.bindEvent, { passive: false })
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
destroyed () {
|
||||||
|
document.body.removeEventListener('touchmove', this.bindEvent)
|
||||||
|
},
|
||||||
|
|
||||||
onLoad () {
|
onLoad () {
|
||||||
this.innerAudioContext = uni.createInnerAudioContext()
|
this.innerAudioContext = uni.createInnerAudioContext()
|
||||||
this.innerAudioContext.autoplay = true
|
this.innerAudioContext.autoplay = true
|
||||||
@@ -147,6 +153,10 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
bindEvent (e) {
|
||||||
|
e.preventDefault()
|
||||||
|
},
|
||||||
|
|
||||||
onLongtap () {
|
onLongtap () {
|
||||||
if (!this.equipmentList.length) {
|
if (!this.equipmentList.length) {
|
||||||
return this.$u.toast('请选择播发设备')
|
return this.$u.toast('请选择播发设备')
|
||||||
@@ -374,6 +384,8 @@
|
|||||||
image {
|
image {
|
||||||
width: 96px;
|
width: 96px;
|
||||||
height: 96px;
|
height: 96px;
|
||||||
|
pointer-events: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -587,6 +599,7 @@
|
|||||||
height: 128px;
|
height: 128px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|||||||
Reference in New Issue
Block a user