yiming
2024-03-15 7231b5929a66bb1ec3b832be85f5e3f6ce40ad9f
pages/resourceDetails/myAudio/index.js
@@ -580,7 +580,7 @@
  onLeftSwitch() {
    this.setData({
      speed: 1.0,
      myAudioCurrent: 0
      myAudioCurrent: '00:00'
    })
    const index = this.data.threeLeveData.findIndex((item) => item.id == this.data.selectId)
    if (this.data.threeLeveData[index - 1]) {
@@ -599,7 +599,7 @@
  onRightSwitch() {
    this.setData({
      speed: 1.0,
      myAudioCurrent: 0
      myAudioCurrent: '00:00'
    })
    console.log('右切换');
    const index = this.data.threeLeveData.findIndex((item) => item.id == this.data.selectId)
@@ -655,9 +655,7 @@
      myAudio.playbackRate = this.data.speed; //  播放速率
    }, 200);
  },
  handleChange(e) {
    console.log(e.detail.value);
  },
  // 拖动进度条,到指定位置
  hanle_slider_change(e) {
    const position = e.detail.value;