|
@@ -24,7 +24,7 @@
|
|
|
>
|
|
>
|
|
|
<!-- <img :src="imgs + itemData.coverImagePath" style="width: 100%; height: 100%" /> -->
|
|
<!-- <img :src="imgs + itemData.coverImagePath" style="width: 100%; height: 100%" /> -->
|
|
|
<!-- <img :v-lazy="imagess" style="width: 100%; height: 100%" /> -->
|
|
<!-- <img :v-lazy="imagess" style="width: 100%; height: 100%" /> -->
|
|
|
- <a-image width="850px" height="350px" :src="resSrc" :preview="true"/>
|
|
|
|
|
|
|
+ <a-image width="850px" height="350px" :src="fileSrc(resSrc)" :preview="true"/>
|
|
|
<!-- <image :src="resSrc" style="object-fit: cover" /> -->
|
|
<!-- <image :src="resSrc" style="object-fit: cover" /> -->
|
|
|
</div>
|
|
</div>
|
|
|
<!-- "wmv","avi","flv","mpeg","mpg","rmvb","mov","mkv" -->
|
|
<!-- "wmv","avi","flv","mpeg","mpg","rmvb","mov","mkv" -->
|
|
@@ -32,7 +32,7 @@
|
|
|
v-else-if="['mkv', 'mp4', 'wmv', 'avi', 'flv', 'mpeg', 'mpg', 'rmvb', 'mov'].includes(videoFormat)"
|
|
v-else-if="['mkv', 'mp4', 'wmv', 'avi', 'flv', 'mpeg', 'mpg', 'rmvb', 'mov'].includes(videoFormat)"
|
|
|
style="width: 850px; height: 350px"
|
|
style="width: 850px; height: 350px"
|
|
|
>
|
|
>
|
|
|
- <video :src="resSrc" controls style="width: 100%; height: 100%"/>
|
|
|
|
|
|
|
+ <video :src="fileSrc(resSrc)" controls style="width: 100%; height: 100%"/>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- "doc","docx","ppt","pptx","xls","xlsx" -->
|
|
<!-- "doc","docx","ppt","pptx","xls","xlsx" -->
|
|
|
<div
|
|
<div
|
|
@@ -40,7 +40,7 @@
|
|
|
style="width: 850px; height: 350px"
|
|
style="width: 850px; height: 350px"
|
|
|
>
|
|
>
|
|
|
<!-- <PDF :src="resSrc" :width="850" :height="350" /> -->
|
|
<!-- <PDF :src="resSrc" :width="850" :height="350" /> -->
|
|
|
- <FilePreviewer :fileUrl="resSrc" :fileName="resName" :fileType="fileType"/>
|
|
|
|
|
|
|
+ <FilePreviewer :fileUrl="fileSrc(resSrc)" :fileName="resName" :fileType="fileType"/>
|
|
|
<!-- <a-image width="200px" height="220px" :src="pdfRes" :preview="false" @click="handleDownload(resSrc)" /> -->
|
|
<!-- <a-image width="200px" height="220px" :src="pdfRes" :preview="false" @click="handleDownload(resSrc)" /> -->
|
|
|
<!-- <a-button type="primary" @click="handleDownload(resSrc)">去预览</a-button> -->
|
|
<!-- <a-button type="primary" @click="handleDownload(resSrc)">去预览</a-button> -->
|
|
|
</div>
|
|
</div>
|