Fix:2879 【寻趣味】古镇详情页--活动内容为视频时无法显示视频

This commit is contained in:
modendeveloper
2024-12-18 22:17:58 +08:00
parent f2f2528316
commit 99676adb48
+4 -1
View File
@@ -19,7 +19,7 @@
{{ item.intro }}
</view>
</view>
<view class="info-item-body">
<view class="info-item-body" v-if="item.contentType === 1">
<img-box
:imgList="item.images"
:num="item.images.length"
@@ -28,6 +28,9 @@
@click="infoItemViewClick(item)"
/>
</view>
<view class="info-item-body" v-if="item.contentType === 2">
<video play-btn-position="center" :show-fullscreen-btn="false" class="kd-cover v12-mt-0" :src="item.images[0]" controls autoplay :poster="item.images[0] + '?vframe/jpg/offset/1'"></video>
</view>
<view class="info-item-bottom">
<view class="time">
{{