diff --git a/components/my-video-list/list-item-稳定版.vue b/components/my-video-list/list-item-稳定版.vue
index 6cfa270..bf731f9 100644
--- a/components/my-video-list/list-item-稳定版.vue
+++ b/components/my-video-list/list-item-稳定版.vue
@@ -4,7 +4,7 @@
@@ -61,7 +61,10 @@
ref,
watch
} from 'vue'
-
+ let loop=ref(false)
+ // #ifdef APP
+ loop.value=true
+ // #endif
const props = defineProps({
item: {
type: Object,
@@ -224,6 +227,7 @@
function ended() {
+ isPlying.value = false
sendPlayStatus('end')
}
diff --git a/components/my-video-list/list-item-预发布优化版.vue b/components/my-video-list/list-item-预发布优化版.vue
index 5c5ead6..ef50982 100644
--- a/components/my-video-list/list-item-预发布优化版.vue
+++ b/components/my-video-list/list-item-预发布优化版.vue
@@ -5,7 +5,7 @@
:controls="showControls" @timeupdate="timeupdate" @waiting="waiting()" object-fit="cover"
@pause="onpause" @click="videoClick()"
@play="videoPlay('myVideo'+item.courseDetailsId,item.courseDetailsId)" :play-strategy="2"
- :show-loading="true" codec="software" :muted="false" :show-center-play-btn="true" :loop="false"
+ :show-loading="true" codec="software" :muted="false" :show-center-play-btn="true" :loop="loop"
:enable-progress-gesture="false" :poster="item.titleImg" :ref="'myVideo'+item.courseDetailsId"
:autoplay="autoplay" @ended="ended" :id="'myVideo'+item.courseDetailsId" :src="item.videoUrl">
@@ -62,7 +62,10 @@
ref,
watch
} from 'vue'
-
+let loop=ref(false)
+ // #ifdef APP
+ loop.value=true
+ // #endif
const props = defineProps({
item: {
type: Object,
diff --git a/components/my-video-list/list-item.vue b/components/my-video-list/list-item.vue
index 6cfa270..4a4bcb9 100644
--- a/components/my-video-list/list-item.vue
+++ b/components/my-video-list/list-item.vue
@@ -4,7 +4,7 @@
@@ -62,6 +62,12 @@
watch
} from 'vue'
+
+ let loop = ref(false)
+ // #ifdef APP
+ loop.value = true
+ // #endif
+
const props = defineProps({
item: {
type: Object,
@@ -224,6 +230,7 @@
function ended() {
+ isPlying.value = false
sendPlayStatus('end')
}