feat: 添加视频播放功能并优化播放器样式
- 新增视频播放弹窗功能,支持通过token获取视频URL - 使用Artplayer实现视频播放器,添加自动播放功能 - 优化播放器容器圆角和溢出样式 - 移除图片固定宽度限制,改为自适应 - 添加meta标签防止referrer泄露 - 实现播放器关闭功能,释放资源
This commit is contained in:
@@ -580,7 +580,6 @@
|
||||
border-bottom: 1px dotted #d7d7d7;
|
||||
}
|
||||
.admission-officer .admission-body .school-list .school-item .right .info .img {
|
||||
width: 60px;
|
||||
height: 47px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
@@ -1190,3 +1189,8 @@
|
||||
background-color: #000000;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.admission-officer .admission-body .paly-box-mask .paly-box .paly-video .art-video-player,
|
||||
.admission-officer .admission-body .paly-box-mask .paly-box .paly-video video {
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -651,7 +651,6 @@
|
||||
padding-bottom: 24px;
|
||||
border-bottom: 1px dotted #d7d7d7;
|
||||
.img {
|
||||
width: 60px;
|
||||
height: 47px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
@@ -1340,6 +1339,11 @@
|
||||
height: 600px;
|
||||
background-color: rgba(0, 0, 0, 1);
|
||||
border-radius: 10px;
|
||||
.art-video-player,
|
||||
video {
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user