Browse Source

巡检记录补充图片、视频类型

wyx
fp 2 months ago
parent
commit
8761e53c89
  1. 4
      pages/tabBar/xjPage/xjRecord.vue

4
pages/tabBar/xjPage/xjRecord.vue

@ -35,14 +35,14 @@
@click="handlePreviewImage(item.imageList, index)" @click="handlePreviewImage(item.imageList, index)"
> >
<image <image
v-if="v.format == 'image/png'" v-if="v.format == 'image' || v.format == 'image/jpeg'"
:src="v.url" :src="v.url"
class="recordItemConImg" class="recordItemConImg"
></image> ></image>
</view> </view>
<view v-for="v in item.imageList" :key="v.id"> <view v-for="v in item.imageList" :key="v.id">
<view <view
v-if="v.format == 'video/mp4'" v-if="v.format == 'video' || v.format == 'video/mp4'"
style="width: 420rpx; height: 240rpx; padding: 20rpx" style="width: 420rpx; height: 240rpx; padding: 20rpx"
> >
<video <video

Loading…
Cancel
Save