From 19632a69ad6094e221e214ca3df4baceca26d7fa Mon Sep 17 00:00:00 2001 From: linxi Date: Mon, 21 Apr 2025 14:15:15 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3363=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=86=9C=E6=B0=91=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E7=9A=84=E8=A7=86=E9=A2=91=E8=B5=84=E8=AE=AF=EF=BC=8C?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE=E5=90=8E=E6=AF=8F=E6=AC=A1?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=A4=96=E7=9A=84=E5=8C=BA=E5=9F=9F=E9=83=BD=E4=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8F=E8=A7=88=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/inn/farmerStore.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pagesInn/inn/farmerStore.vue b/pagesInn/inn/farmerStore.vue index 46dc48a..81d0236 100644 --- a/pagesInn/inn/farmerStore.vue +++ b/pagesInn/inn/farmerStore.vue @@ -470,10 +470,10 @@ export default { }) }, infoItemViewClick(item, index) { + const playerId = 'video-item' + index if(item.type === 2) { const coverCtx = uni.createVideoContext('coverVideo', this) coverCtx.pause() - const playerId = 'video-item' + index this.activeVideo = 'video-item' + index if(this.videoPlayers.includes(playerId)) { this.videoPlayers.forEach(player => { @@ -490,6 +490,7 @@ export default { }) } } + if(this.videoPlayers.filter(id => id === playerId).length > 1) return const params = { countyFamousNewsId: item.id }