From 3a522d5616c5badee4df0029c9f86ed5e9efc256 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Tue, 15 Jul 2025 19:43:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增视频播放弹窗功能,支持通过token获取视频URL - 使用Artplayer实现视频播放器,添加自动播放功能 - 优化播放器容器圆角和溢出样式 - 移除图片固定宽度限制,改为自适应 - 添加meta标签防止referrer泄露 - 实现播放器关闭功能,释放资源 --- 1.svg | 5 +++++ css/index.css | 6 +++++- css/index.less | 6 +++++- index.html | 55 +++++++++++++++++++++++++++++++++++-------------- js/artplayer.js | 4 ++-- 5 files changed, 56 insertions(+), 20 deletions(-) create mode 100644 1.svg diff --git a/1.svg b/1.svg new file mode 100644 index 0000000..33fa7fe --- /dev/null +++ b/1.svg @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/css/index.css b/css/index.css index 561a6e0..68a25e3 100644 --- a/css/index.css +++ b/css/index.css @@ -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; +} diff --git a/css/index.less b/css/index.less index 06a3c5c..ece94b3 100644 --- a/css/index.less +++ b/css/index.less @@ -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; + } } } } diff --git a/index.html b/index.html index 938e325..e463b42 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@
+