|
@@ -5,7 +5,7 @@
|
|
<personnel></personnel>
|
|
<personnel></personnel>
|
|
</div>
|
|
</div>
|
|
<div class="iframe-2">
|
|
<div class="iframe-2">
|
|
- <div v-for="(pItem, pIndex) in videoArray" :key="pIndex" width="95%" height="48vh" @click="openVideoDialog(cItem)">
|
|
|
|
|
|
+ <div v-for="(pItem, pIndex) in videoArray" :key="pIndex" width="95%" height="48vh" @click="openVideoDialog(pItem)">
|
|
<div class="mask"></div>
|
|
<div class="mask"></div>
|
|
<iframe :src="pItem.url + pItem.token" />
|
|
<iframe :src="pItem.url + pItem.token" />
|
|
</div>
|
|
</div>
|
|
@@ -16,16 +16,8 @@
|
|
<div class="iframe-4">
|
|
<div class="iframe-4">
|
|
<!-- <personnel></personnel> -->
|
|
<!-- <personnel></personnel> -->
|
|
</div>
|
|
</div>
|
|
- <el-dialog top="50px" title="查看视频" :custom-class="videoDialogClass" v-model="showVideoDialog" width="80%" :destroy-on-close="true" :before-close="
|
|
|
|
- (done) => {
|
|
|
|
- videoDialogClass = 'modal animated a1 bounceOut';
|
|
|
|
- delaylyFn(450, done);
|
|
|
|
- }
|
|
|
|
- " @closed="
|
|
|
|
- dialogVideoUrl = '';
|
|
|
|
- videoDialogClass = 'modal animated a1 bounceIn';
|
|
|
|
- ">
|
|
|
|
- <iframe class="videoBoxiframe" width="95%" height="800px" :src="dialogVideoUrl" />
|
|
|
|
|
|
+ <el-dialog top="50px" v-model="showVideoDialog" width="80vw" :destroy-on-close="true" :custom-class="videoDialogClass">
|
|
|
|
+ <iframe class="videoBoxiframe" width="100%" height="600px" :src="dialogVideoUrl" />
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -76,7 +68,6 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
openVideoDialog(item) {
|
|
openVideoDialog(item) {
|
|
- alert(555);
|
|
|
|
if (item.url && item.token) {
|
|
if (item.url && item.token) {
|
|
this.dialogVideoUrl = item.url + item.token;
|
|
this.dialogVideoUrl = item.url + item.token;
|
|
this.showVideoDialog = true;
|
|
this.showVideoDialog = true;
|
|
@@ -121,25 +112,27 @@ export default {
|
|
flex: 0 0 36.69vw;
|
|
flex: 0 0 36.69vw;
|
|
margin-left: 11.9vw;
|
|
margin-left: 11.9vw;
|
|
margin-top: 5.5vh;
|
|
margin-top: 5.5vh;
|
|
|
|
+ position: relative;
|
|
div {
|
|
div {
|
|
display: flex;
|
|
display: flex;
|
|
height: 18.2vh;
|
|
height: 18.2vh;
|
|
width: 12.2vw;
|
|
width: 12.2vw;
|
|
float: left;
|
|
float: left;
|
|
|
|
+ position: relative;
|
|
iframe {
|
|
iframe {
|
|
height: 18.2vh;
|
|
height: 18.2vh;
|
|
width: 12.2vw;
|
|
width: 12.2vw;
|
|
// float: left;
|
|
// float: left;
|
|
}
|
|
}
|
|
- // .mask {
|
|
|
|
- // flex: 0 0 100%;
|
|
|
|
- // position: absolute;
|
|
|
|
- // left: 0;
|
|
|
|
- // top: 0;
|
|
|
|
- // width: 100%;
|
|
|
|
- // height: 100%;
|
|
|
|
- // z-index: 5;
|
|
|
|
- // }
|
|
|
|
|
|
+ .mask {
|
|
|
|
+ flex: 0 0 100%;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 0;
|
|
|
|
+ top: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ z-index: 5;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.iframe-3 {
|
|
.iframe-3 {
|
|
@@ -152,5 +145,8 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .modal.el-dialog {
|
|
|
|
+ background: rgba(18, 29, 28, 0.95);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|