Commit 8e2aac5a authored by 罗超's avatar 罗超

1

parent f352d492
...@@ -49,11 +49,17 @@ ...@@ -49,11 +49,17 @@
:key="index1" :key="index1"
> >
<div class="ItemImgDiv"> <div class="ItemImgDiv">
<q-img <video
:src="item1" :src="item1"
spinner-color="white"
style="height: 100%; height: 100%" style="height: 100%; height: 100%"
/> v-if="item1.indexOf('mp4') != -1"
></video>
<el-image
:src="item1"
style="height: 100%; height: 100%"
:preview-src-list="item.PhotoList"
v-else
></el-image>
<q-btn <q-btn
size="7px" size="7px"
@click="deleteItemImg(index, index1)" @click="deleteItemImg(index, index1)"
...@@ -116,7 +122,7 @@ export default { ...@@ -116,7 +122,7 @@ export default {
persistent: true, persistent: true,
saveLoading: false, saveLoading: false,
rowindex: 0, rowindex: 0,
ScoreOpts: [0, 1, 2, 3, 4, 5], ScoreOpts: [1, 2, 3, 4, 5],
dataList: [], dataList: [],
}; };
}, },
...@@ -202,6 +208,7 @@ export default { ...@@ -202,6 +208,7 @@ export default {
width: 118px; width: 118px;
height: 118px; height: 118px;
position: relative; position: relative;
overflow: hidden;
margin: 0 10px 10px 0; margin: 0 10px 10px 0;
display: inline-block; display: inline-block;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment