Commit cc12c883 by wangzhihui

修改bug

1 parent 37eb383f
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
<img <img
class="video-poster" class="video-poster"
:src=" :src="
videoImg ? videoImg : '../../../../assets/video-default.png' videoImg
? item + videoStr
: '../../../../assets/video-default.png'
" "
/> />
<div class="mask"> <div class="mask">
...@@ -238,7 +240,8 @@ export default { ...@@ -238,7 +240,8 @@ export default {
initialIndex: 0, initialIndex: 0,
dialogSrc: "", dialogSrc: "",
dialogType: "", dialogType: "",
uploadInfo: null uploadInfo: null,
videoStr: "?x-oss-process=video/snapshot,t_7000,f_jpg,w_800,h_600,m_fast"
} }
}, },
mounted() { mounted() {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
:image-url-arr=" :image-url-arr="
detailInfo[item.key] ? detailInfo[item.key] : [] detailInfo[item.key] ? detailInfo[item.key] : []
" "
:videoImg="detailInfo[item.key][0] + videoStr" :videoImg="true"
:picOptions="{ ...picOptions, type: item.otherType }" :picOptions="{ ...picOptions, type: item.otherType }"
limit="1" limit="1"
></glsx-preview> ></glsx-preview>
......
...@@ -192,9 +192,7 @@ ...@@ -192,9 +192,7 @@
? customItem[item.fieldValue] ? customItem[item.fieldValue]
: [] : []
" "
:videoImg=" :videoImg="true"
customItem[item.fieldValue][0] + videoStr
"
:picOptions="{ :picOptions="{
...picOptions, ...picOptions,
type: customItem.otherType type: customItem.otherType
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!