diff --git a/src/components/slide/BVideo.vue b/src/components/slide/BVideo.vue index 235a12c..0983c6a 100644 --- a/src/components/slide/BVideo.vue +++ b/src/components/slide/BVideo.vue @@ -222,7 +222,7 @@ export default { // eventTester("durationchange", '资源长度改变'); //资源长度改变 // eventTester("volumechange", '音量改变'); //音量改变 - console.log('mounted') + // console.log('mounted') // bus.off('singleClickBroadcast') bus.on(EVENT_KEY.SINGLE_CLICK_BROADCAST, this.click) bus.on(EVENT_KEY.DIALOG_MOVE, this.onDialogMove) @@ -233,13 +233,14 @@ export default { bus.on(EVENT_KEY.CLOSE_SUB_TYPE, this.onCloseSubType) }, unmounted() { - console.log('unmounted') + // console.log('unmounted') bus.off(EVENT_KEY.SINGLE_CLICK_BROADCAST, this.click) bus.off(EVENT_KEY.DIALOG_MOVE, this.onDialogMove) bus.off(EVENT_KEY.DIALOG_END, this.onDialogEnd) bus.off(EVENT_KEY.OPEN_COMMENTS, this.onOpenComments) bus.off(EVENT_KEY.CLOSE_COMMENTS, this.onCloseComments) - bus.off(EVENT_KEY.OPEN_SUB_TYPE, this.onCloseSubType) + bus.off(EVENT_KEY.OPEN_SUB_TYPE, this.onOpenSubType) + bus.off(EVENT_KEY.CLOSE_SUB_TYPE, this.onCloseSubType) }, methods: { onOpenSubType({index, height}) { diff --git a/src/components/slide/SlideAlbum.vue b/src/components/slide/SlideAlbum.vue index ed05d1b..d9a74b1 100644 --- a/src/components/slide/SlideAlbum.vue +++ b/src/components/slide/SlideAlbum.vue @@ -6,21 +6,20 @@ @touchstart.passive="touchStart" @touchmove="touchMove" @touchend="touchEnd"> -
-