diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index 5558383..54b6946 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -318,9 +318,14 @@ eof; eof; }else if (in_array($file['extension'], $videoExts)) { //输出视频 $videoUrl = urlencode($file['path']); + $linkUrl = "/site/player?id={$file['id']}&pid={$file['pid']}&cid={$viewData['cacheDataId']}&url={$videoUrl}"; + if ($viewData['showType'] == 'video') { + $linkUrl .= "&page={$viewData['page']}"; + } + echo << - +

-
- 自动播放 +
+ 自动播放:
diff --git a/www/css/beauty.css b/www/css/beauty.css index a60219f..db50bd1 100644 --- a/www/css/beauty.css +++ b/www/css/beauty.css @@ -123,7 +123,7 @@ a:link{text-decoration:none} .lampshow .right_sidebox{background-color:#222;color:#FFF} .lampshow .right_sidebox>h5{border-color: #363636} .lampshow .text_dark{color:#808080} -.lampshow .text_dark a{color:#f4f7fd} +.lampshow .text_dark a, .lampshow .nav-tabs a{color:#f4f7fd} .gap-hr{position:relative} .gap-hr .btn-dir-ext{position:absolute;left:50%;top:50%;margin-top:-11px;margin-left:-26px}