修复bug

This commit is contained in:
yanran200730
2022-06-13 14:31:38 +08:00
parent 4548000229
commit 0b157621ca

View File

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