Commit cc6e81c9 by 杨明

fixed

1 parent 434290e4
...@@ -72,10 +72,9 @@ ...@@ -72,10 +72,9 @@
</el-form-item> </el-form-item>
<el-form-item label="视频:" class="photoWrap"> <el-form-item label="视频:" class="photoWrap">
<div class="img-div"> <div class="img-div">
<div class="put-img" v-if="materialAddForm.coverUrl"> <div class="put-img" v-if="materialAddForm.videoUrl">
<img :src="materialAddForm.coverUrl" alt="" /> <img :src="materialAddForm.coverUrl" v-if="materialAddForm.coverUrl" />
<!-- <video :src="materialAddForm.videoUrl" id="video" width="100%" height="100%" preload loop muted> <video :src="materialAddForm.videoUrl" v-if="materialAddForm.videoUrl" id="video" width="100%" height="100%" preload loop muted></video>
</video> -->
<div class="mask"> <div class="mask">
<h3> <h3>
<img slot="reference" src="@/assets/material/view.png" alt="" @click="viewVideo" /> <img slot="reference" src="@/assets/material/view.png" alt="" @click="viewVideo" />
...@@ -795,6 +794,9 @@ export default { ...@@ -795,6 +794,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#video {
opacity: 0;
}
.materialType { .materialType {
/deep/.el-form-item__content { /deep/.el-form-item__content {
max-width: 85%; max-width: 85%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!