|
|
@@ -254,7 +254,7 @@
|
|
|
<!--<el-image v-if="activity.attachList.length>0" v-for="item in activity.attachList" :src="item.attachPath" style="width: 150px;"></el-image>-->
|
|
|
<!-- 图片、视频、文件 组件 -->
|
|
|
<template v-if="activity.attachList.length>0" v-for="item in activity.attachList">
|
|
|
- <el-image v-if="item.attachPath.endsWith('.jpg') || item.attachPath.endsWith('.png')" style="width: 208px; height: 150px; margin-right: 9px;" :src="item.attachPath"></el-image>
|
|
|
+ <el-image v-if="item.attachPath.endsWith('.jpg') || item.attachPath.endsWith('.png')" style="width: 208px; height: 150px; margin-right: 9px; cursor: pointer;" :src="item.attachPath" :preview-src-list="assetTypeAnImage(item.attachPath)"></el-image>
|
|
|
<video controls v-else-if="item.attachPath.endsWith('.mp4')" style="width: 208px; height: 150px; margin-right: 9px;" :src="item.attachPath"></video>
|
|
|
<a v-else-if="item.attachPath.endsWith('.pdf')" :href="item.attachPath" style="width: 800px; height: 20px; display: block; color: #fff!important;">📄 {{ item.fileName }}</a>
|
|
|
<a v-else-if="item.attachPath.endsWith('.doc')" :href="item.attachPath" style="width: 800px; height: 20px; display: block; color: #fff!important;">📝 {{ item.fileName }}</a>
|
|
|
@@ -1848,7 +1848,9 @@
|
|
|
margin-left: 480px!important;
|
|
|
margin-top: 210px!important;
|
|
|
}
|
|
|
-
|
|
|
+.el-image-viewer__wrapper{
|
|
|
+ z-index: 99999!important;
|
|
|
+}
|
|
|
|
|
|
</style>
|
|
|
<style rel="stylesheet/scss" lang="scss" scoped>
|