From be4f2fde06160122180838ab85f31059f7258de9 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 28 八月 2025 17:30:02 +0800 Subject: [PATCH] 浏览足迹 商品切换加载问题 --- pages/mine/myTracks.vue | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/pages/mine/myTracks.vue b/pages/mine/myTracks.vue index 7f6a935..2c955fe 100644 --- a/pages/mine/myTracks.vue +++ b/pages/mine/myTracks.vue @@ -35,7 +35,20 @@ <u-swipe-action style="width: 100%;" :show="item.show" :index="index" :key="item.id" @click="deleteVideoView(item.id)" @open="open" :options="options"> <view style="display: flex;" @click="goToVideoPlay(item, index)"> - <image class="video-cover" :src="item.coverUrl" mode="aspectFill"></image> + <video + class="video-cover" + :src="item.videoUrl" + controls="false" + :autoplay="false" + :loop="false" + :show-center-play-btn="false" + :show-play-btn="false" + :show-fullscreen-btn="false" + allow-fullscreen="false" + :disableProgressGesture="true" + :enablePlayGesture="false" + :show-background-playback-button="false" + ></video> <view class="video-info"> <view class="video-title">{{item.title}}</view> <view class="video-author">{{item.authorName}}</view> @@ -153,6 +166,9 @@ // 鍒囨崲tab switchTab(tab) { this.activeTab = tab + if(this.activeTab ==="goods"){ + this.getList() + } }, // 璺宠浆鍒拌棰戣鎯呴〉 -- Gitblit v1.8.0