ios真机调试
This commit is contained in:
@@ -206,14 +206,21 @@
|
||||
|
||||
// 拖动进度条
|
||||
sliderChange(data) {
|
||||
|
||||
|
||||
// console.log(data,'拖动进度条',data)
|
||||
|
||||
|
||||
|
||||
if(this.$bgm._options.src == ''){
|
||||
this.$music.playBgm({mute:false})
|
||||
// this.$bgm.pause()
|
||||
}else{
|
||||
this.$bgm.play()
|
||||
}
|
||||
console.log('拖动')
|
||||
this.$bgm.seek(data.detail.value) //获取秒数
|
||||
console.log('拖动',data.detail.value)
|
||||
uni.getBackgroundAudioManager().seek(data.detail.value)
|
||||
// this.$bgm.seek(data.detail.value) //获取秒数
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user