diff --git a/components/my-video-list/list-item.vue b/components/my-video-list/list-item.vue index af1112f..be9248a 100644 --- a/components/my-video-list/list-item.vue +++ b/components/my-video-list/list-item.vue @@ -199,7 +199,7 @@ // #ifdef H5 emits('controlstoggles', { detail: { - show: true + show: false } }) // #endif @@ -211,7 +211,7 @@ // #ifdef H5 emits('controlstoggles', { detail: { - show: false + show: true } }) // #endif diff --git a/components/my-video-list/my-video-list.vue b/components/my-video-list/my-video-list.vue index 3d64513..f02a4d7 100644 --- a/components/my-video-list/my-video-list.vue +++ b/components/my-video-list/my-video-list.vue @@ -228,7 +228,7 @@ // #ifdef APP control.showControls = false // #endif - + const customStyle = computed(() => { // #ifdef H5 return { @@ -241,6 +241,7 @@ }) function controlstoggles(e) { + console.log(e); control.showControls = e.detail.show control.showBack = control.showControls }