diff --git a/themes/beauty/views/site/mp3player.php b/themes/beauty/views/site/mp3player.php index 3132da5..973a51d 100644 --- a/themes/beauty/views/site/mp3player.php +++ b/themes/beauty/views/site/mp3player.php @@ -43,11 +43,11 @@ data-cid="" data-page="" data-page-size="" - class="row othervideos ml-1">
...
+ class="row othervideos">
...
- diff --git a/themes/beauty/views/site/player.php b/themes/beauty/views/site/player.php index c5ef307..0849a6c 100644 --- a/themes/beauty/views/site/player.php +++ b/themes/beauty/views/site/player.php @@ -43,15 +43,17 @@
- - + + download icon - 下载视频 + 下载 +
diff --git a/www/css/beauty.css b/www/css/beauty.css index 6dd260b..0ce628a 100644 --- a/www/css/beauty.css +++ b/www/css/beauty.css @@ -151,14 +151,15 @@ a:link{text-decoration:none} .audio-list-item .duration{bottom:17.5%;left:50%;width:50px;margin-left:-25px} .audiolist{max-width:600px;margin:0 auto;min-height:560px} .audiolist .othervideos{max-height:inherit} -.audio-item{background:rgba(7, 7, 7, .1);padding:5px;border-radius:5px} +.audio-item{background:rgba(7, 7, 7, .1);padding:5px;border-radius:5px;margin:0 5px;position:relative;cursor:pointer} +.audio-item:hover{background-color:#CCC} .audio-item a{display:block} .audio-item img{float:left;width:60px;height:60px} .audio-item .title{display:block;margin-left:70px} -.audio-item .duration{max-width:60px;overflow:hidden;margin-left:6px} +.audio-item .duration{max-width:60px;overflow:hidden;margin-left:6px;bottom:2px} .audioplayer{position:fixed;left:0;right:0;bottom:0;z-index:1000;height:120px;overflow:hidden;background-color:#000} -.audioplayer .videoplayer{max-width:335px;height:120px;overflow:hidden;opacity:0.85} -.audioplayer .downloadbtn{width:96px;margin:80px auto 0 auto} +.audioplayer .videoplayer{max-width:460px;height:120px;overflow:hidden;opacity:0.85} +.audioplayer .downloadbtn{width:96px;margin:81px auto 0 auto} .mt-3{margin-top:3em} .mt-2{margin-top:2em} @@ -180,6 +181,7 @@ a:link{text-decoration:none} .lampshow .othervideos{background-color:inherit} .lampshow .btn-default{background-color:#EEE} .lampshow .audio-item{background-color:#333} +.lampshow .audio-item:hover{background-color:#444} .lampshow .audio-item .title{color:#999} .lampshow .audio-list-item .im_img{opacity:0.65} .lampshow .audio-list-item .title{color:#999} @@ -202,6 +204,9 @@ a:link{text-decoration:none} height: 45vw; } .othervideos .im_item{height:34vw} + .audioplayer .videoplayer{max-width:100%} + .audioplayer .downloadbtn{width:30px;padding:3px 0;margin:0;position:absolute;top:5px;right:5px} + .hidden-xs{display:none} .navbar-fixed-left,.navbar-fixed-left.closed,.versioninfo{position:static;width:100%} .navbar-fixed-left.closed li{display:block} diff --git a/www/js/beauty.js b/www/js/beauty.js index 86d20ba..9ea2fa4 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -777,7 +777,7 @@ if ($('#my-player').length > 0 && typeof(videojs) != 'undefined') { src: nextVideo.path, type: nextVideo.videoType }); - $('.navbar-header .videotitle').text(nextVideo.filename); + $('.navbar-header .videotitle').text(nextVideo.filename + '.' + nextVideo.extension); } }; myPlayer.on('ended', function() {