|
@@ -50,12 +50,19 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
/* @import url(); 引入css类 */
|
|
|
.videoView {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
+ width: 780px;
|
|
|
+ height: 398px;
|
|
|
+ padding: 16px;
|
|
|
+ background: #ffffff;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
+ box-sizing: border-box;
|
|
|
+ border-radius: 8px;
|
|
|
video {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
object-fit: fill; //将视频标签填充整个元素
|
|
|
+ border-radius: 8px;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
</style>
|