-
+
-
+
+
@@ -160,6 +161,17 @@ export default {
if (message === 'success') {
this.display = display
}
+ },
+ videoPlayer (value, play) {
+ const id = document.getElementById(value)
+ const playid = document.getElementById(play)
+ if (id.paused) {
+ id.play()
+ playid.style.display = 'none'
+ } else {
+ id.pause()
+ playid.style.display = 'block'
+ }
}
}
}
@@ -223,7 +235,19 @@ export default {
.lr {
width: 50%;
height: 100%;
+ position: relative;
+ video {
+ width: 100%;
+ height: 100%;
+ }
+ .play {
+ position: absolute;
+ margin: 0 auto;
+ top: 50%;
+ margin-top: -50px;
+ }
}
+
.el-carousel {
width: 100% !important;
}
@@ -352,11 +376,9 @@ export default {
}
}
.yyzrbimg {
- // background-image: url('../../assets/yyzrb.png');
- // background-size: 100% 100%;
width: 50% !important;
img{
- width: 600px;
+ width: 580px;
height: 438px;
}
}