This commit is contained in:
make
2025-05-02 18:30:50 +08:00
parent 85f2ef5cb2
commit 65ac6d7652
19 changed files with 489 additions and 302 deletions

View File

@@ -3,7 +3,7 @@
{block name="get-data"}
{video:pagerexp page="1" limit="30"
v_class="$Request.route.strClass"
d_key="d_key"
d_val="Video"
p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /}
@@ -27,59 +27,37 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title"><img
src="/template/videodadi/icon/icon_27.png">{$Request.route.strCategory}筛选</h3>
src="/template/videodadi/icon/icon_27.png">{$Request.route.strCategory}{site:getval code="strVideoClassName" /}筛选</h3>
</div>
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
<li><span class="text-muted">按类型</span></li>
<li
class='{if empty( $Request.route.strCategory) || $Request.route.strCategory == ""}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="">全部</a>
<a href="">全部</a>
</li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
{if $val.v_category_en == $Request.route.strCategory}
{if $val.v_category_en == $Request.route.strClass}
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li
class="{if $Request.route.strCategory == $arrChildrenCategory.v_category_en}active{/if}">
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)})" href=""
class="text-muted">{$arrChildrenCategory.v_category}</a>
class="{if $Request.route.strClass == $arrChildrenCategory.v_category_en}active{/if}">
<a href="" class="text-muted">{$arrChildrenCategory.v_category}</a>
</li>
{/foreach}
{/if}
{/video:categorytype}
</ul>
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
<li><span class="text-muted">按剧情</span></li>
<li
class='{if empty( $Request.route.strCategory) || $Request.route.strCategory == ""}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="">全部
</a>
</li>
<li
class='{if empty( $Request.route.strCategory) || $Request.route.strCategory == ""}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)})" href=""
class="text-muted">{剧情}</a>
</li>
</ul>
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
<li><span class="text-muted">按地区</span></li>
<li
class='{if empty( $Request.route.strCategory) || $Request.route.strCategory == ""}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="">全部</a>
<a href="">全部</a>
</li>
{video:area d_key="key" d_val="val"}
<li class='{$Request.route.strCategory == $val}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)})" href=""
class="text-muted">{$val}</a>
<a href="" class="text-muted">{$val}</a>
</li>
{/video:area}
</ul>
@@ -88,29 +66,28 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
<li
class='{if empty( $Request.route.strCategory) || $Request.route.strCategory == ""}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="">全部</a>
<a href="">全部</a>
</li>
{video:year d_key="key" d_val="val"}
{for start="2025" end="1967" comparison="gt" step="-1" name="i"}
<li class='{$Request.route.strCategory == $val}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)})" href=""
class="text-muted">{$val}</a>
<a href="" class="text-muted">{$i}</a>
</li>
{/video:year}
{/for}
</ul>
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
<li><span class="text-muted">按语言</span></li>
<li
class='{if empty( $Request.route.strCategory) || $Request.route.strCategory == ""}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="">全部</a>
<a href="">全部</a>
</li>
{video:lang d_key="key" d_val="val"}
<li class='{$Request.route.strCategory == $val}active{/if}'>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)})" href=""
class="text-muted">{$val}</a>
<a href="" class="text-muted">{$val}</a>
</li>
{/video:lang}
</ul>
@@ -125,7 +102,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
<ul class="nav nav-head">
{video:sort d_key="key" d_val="val"}
<li class="{if $Request.route.strSort == $key}active{/if}">
<a style="color: rgb(172, 73, 70);" href="">{$val}</a>
<a href="">{$val}</a>
</li>
{/video:sort}
@@ -150,19 +127,19 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
{if $resData.p_data.page == 1}
<li class="disabled"><span>上一页</span></li>
{else}
<li><a style="color:rgb(121, 187, 165);" href="{$vo.url}">1</a></li>
<li><a href="{$vo.url}">1</a></li>
{/if}
{/case}
{case value="下一页"}
{if $resData.p_data.page >= $resData.p_data.total}
<li class="disabled"><span>下一页</span></li>
{else}
<li><a style="color:rgb(10, 123, 124);" href="{$vo.url}">下一页</a></li>
<li><a href="{$vo.url}">下一页</a></li>
{/if}
{/case}
{default /}
{if preg_match('/^\d+$/', $vo.label)}
<li><a style="color:rgb(10, 123, 124);" href="{$vo.url}">{$vo.label}</a></li>
<li><a href="{$vo.url}">{$vo.label}</a></li>
{/if}
{/switch}
{/volist}

View File

@@ -1,5 +1,42 @@
{extend name="base" /}
{block name="get-data"}
{if $Request.route.intVideoId}
{video:info v_id="$Request.route.intVideoId" n_key="arrVideo" n_forge_id="$Request.route.intForgeId" /}
{else}
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
{/if}
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}
{if $DomainModel->info_id == $Request.route.intVideoId || empty($Request.route.intVideoId)}
{site:replace code="INDEX@INDEX@TITLE"}
{else}
{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intVideoId" /}
{/if}
{/block}
{block name="keywords"}
{if $DomainModel->info_id == $Request.route.intVideoId || empty($Request.route.intVideoId)}
{site:replace code="INDEX@INDEX@KEYWORDS"}
{else}
{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS" diff="$Request.route.intVideoId"}
{/if}
{/block}
{block name="description"}
{if $DomainModel->info_id == $Request.route.intVideoId || empty($Request.route.intVideoId)}
{site:replace code="INDEX@INDEX@DESCRIPTION"}
{else}
{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intVideoId"}
{/if}
{/block}
{block name="main"}
<div class="container">
<div class="row">
@@ -13,68 +50,66 @@
</span>
<a style="color: rgb(178, 251, 104)" href="/">首页</a>
<i class="icon iconfont icon-more"></i>
<a style="color: rgb(226, 55, 35)" href="/{$SiteModel['site_rank_path']}/{$strType}-----------.html">{$VideoDetail->v_leixin}</a>
<a style="color: rgb(226, 55, 35)" href="">{$arrVideo.v_category}</a>
<i class="icon iconfont icon-more"></i>
<span class="text-muted">{$VideoDetail->v_name}</span>
<span class="text-muted">{$arrVideo.v_name}</span>
</div>
<div class="col-pd clearfix">
<div class="stui-content__thumb">
<a style="color: rgb(213, 234, 5)" class="stui-vodlist__thumb picture v-thumb"
href="/{$SiteModel['site_zhangjie_path']}/{$VideoDetail->v_pinyin}-1-1.html" title="{$VideoDetail->v_name}">
href="//{$arrVideo.v_name_en}-1-1.html" title="{$arrVideo.v_name}">
<img class="lazyload"
src="{$VideoDetail->video_feng_mian_url}"
data-original="{$VideoDetail->video_feng_mian_url}"
style="" />
src="{$arrVideo.v_pic}"
data-original="{$arrVideo.v_pic}"
/>
<span class="play active hidden-xs"></span>
<span class="pic-text text-right">{$VideoDetail->v_jiaobiao}</span>
<span class="pic-text text-right">{$arrVideo.v_remarks}</span>
</a>
</div>
<div class="stui-content__detail">
<h1 class="title">
《{$VideoDetail->v_name}》<span class="score text-red">{$VideoDetail->v_pingfen}</span>
《{$arrVideo.v_name}》<span class="score text-red">{$arrVideo.v_score}</span>
</h1>
<p class="data">
<span class="text-muted">类型:</span>
{volist name='VideoDetail->arr_juqing' id='vo' key='index'}
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/{$SiteModel['site_tui_jian_path']}/----{$vo}---------.html" target="_blank">{$vo}</a>
href="//----{$arrVideo.v_category}---------.html" target="_blank">{$arrVideo.v_category}</a>
&nbsp;
{/volist}
<span class="split-line"></span>
<span class="text-muted hidden-xs">地区:</span>
<a style="color: rgb(240, 3, 132)"
href="/{$SiteModel['site_tui_jian_path']}/--{$VideoDetail->v_diqu}-----------.html" target="_blank">{$VideoDetail->v_diqu}</a>
href="//--{$arrVideo.v_area}-----------.html" target="_blank">{$arrVideo.v_area}</a>
&nbsp;
<span class="split-line"></span>
<span class="text-muted hidden-xs">年份:</span>
<a style="color: rgb(102, 158, 132)" href="/{$SiteModel['site_tui_jian_path']}/-------------{$VideoDetail->v_years}.html"
target="_blank">{$VideoDetail->v_years}</a>
<a style="color: rgb(102, 158, 132)" href="//-------------{$arrVideo.v_year}.html"
target="_blank">{$arrVideo.v_year}</a>
&nbsp;
</p>
<p class="data">
<span class="text-muted">主演:</span>
{volist name='VideoDetail->arr_zhuyan' id='vo' key='index'}
{volist name='$arrVideo.v_actor' id='vo' key='index'}
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/{$SiteModel['site_tui_jian_path']}/-{$vo}------------.html" target="_blank">{$vo}</a>
href="//-{$vo}------------.html" target="_blank">{$vo}</a>
&nbsp;
{/volist}
</p>
<p class="data">
<span class="text-muted">导演:</span>
{volist name='VideoDetail->arr_daoyan' id='vo' key='index'}
{volist name='$arrVideo.v_director' id='vo' key='index'}
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/{$SiteModel['site_tui_jian_path']}/-----{$vo}--------.html" target="_blank">{$vo}</a>
href="//-----{$vo}--------.html" target="_blank">{$vo}</a>
&nbsp;
{/volist}
</p>
<p class="data hidden-sm">
<span class="text-muted">更新:</span>{$VideoDetail->update_time}
<span class="text-muted">更新:</span>{$arrVideo.v_publish_date}
</p>
<p class="desc hidden-xs">
<span class="left text-muted">简介:</span>  
{$VideoDetail->v_description}
{$arrVideo.v_description|raw}
<a style="color: rgb(175, 252, 178)" href="#desc">
详情
<i class="icon iconfont icon-moreunfold"></i>
@@ -93,90 +128,81 @@
data-cmd="more" title="更多"></a>
</div>
<a style="color: rgb(185, 152, 222)" class="btn btn-primary"
href="/{$SiteModel['site_zhangjie_path']}/{$strInfoId}-1-1.html">立即播放</a>
href="//{strInfoId}-1-1.html">立即播放</a>
</div>
</div>
</div>
</div>
{$strGanRaoMa|raw}
</div>
{foreach $arrVideo.v_play_url as $key=>$arrPlayUrlType }
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box b playlist mb">
<div class="stui-pannel_hd">
<div class="stui-pannel__head bottom-line active clearfix">
<span class="more text-muted pull-right">无需安装任何插件</span>
<h3 class="title">
<img src="/statics/icon/icon_30.png" />1080播放2
<img src="/template/videodadi/icon/icon_30.png" />{$key}
</h3>
</div>
</div>
<div class="stui-pannel_bd col-pd clearfix">
<ul class="stui-content__playlist clearfix">
{volist name='arrVideoPlayurlModel' id='vo' key='index'}
{volist name='$arrPlayUrlType' id='arrPlayUrl' key='index'}
<li>
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/{$SiteModel['site_zhangjie_path']}/{$VideoDetail->v_pinyin}-1-1.html">{$vo->vp_name}</a>
<a href="//{$arrPlayUrl.name}-1-1.html">{$arrPlayUrl.name}</a>
</li>
{/volist}
</ul>
</div>
</div>
</div>
{/foreach}
<div class="stui-pannel stui-pannel-bg clearfix" id="desc">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title">
<img src="/statics/icon/icon_30.png" />剧情简介
<img src="/template/videodadi/icon/icon_30.png" />剧情简介
</h3>
</div>
</div>
<div class="stui-pannel_bd">
<h3>{$VideoDetail->v_name}</h3>
<h3>{$arrVideo.v_name}</h3>
<p class="col-pd">
{$VideoDetail->v_description}
{volist name='arrSeoVideo' id='vo'}
<a href="/{$SiteModel['site_seo_path']}/{$vo.vis_id}.html">{$vo.vis_name}</a>&nbsp;&nbsp;
{/volist}
{$arrVideo.v_description}
<a href="//.html">{$arrVideo.v_name}</a>&nbsp;&nbsp;
</p>
</div>
{$strGanRaoMa|raw}
</div>
</div>
{$strGanRaoMa|raw}
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title">
<img src="/statics/icon/icon_6.png" />猜你喜欢
<img src="/template/videodadi/icon/icon_6.png" />猜你喜欢
</h3>
</div>
{$strGanRaoMa|raw}
</div>
<div class="stui-pannel_bd">
<ul class="stui-vodlist__bd clearfix">
{volist name='arrCainixihuan' id='vo' key='index'}
{if $index <= 12}
{include file="public/video-list-shu" /}
{/if}
{/volist}
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" /}
{/video:list}
</ul>
<ul class="stui-vodlist__text col-pd clearfix hidden-xs">
{volist name='arrCainixihuan' id='vo' key='index'}
{if $index > 12}
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
<li class="col-md-4 col-sm-3 col-xs-1 padding-0">
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)})" class="top-line-dot text-overflow"
href="/{$vo.v_pinyin}.html"
title="{$vo.v_name}"><span class="text-muted pull-right">{$vo.v_jiaobiao}</span>{$vo.v_name}</a>
</li>
{/if}
{if $index == 15}{$strGanRaoMa|raw}{/if}
{if $index == 23}{$strGanRaoMa|raw}{/if}
{if $index == 30}{$strGanRaoMa|raw}{/if}
href="/{$Video.v_name_en}.html"
title="{$Video.v_name}"><span class="text-muted pull-right">{$Video.v_remarks}</span>{$Video.v_name}</a>
</li>
{/volist}
{/video:list}
</ul>
</div>
@@ -184,64 +210,41 @@
</div>
</div>
<div class="col-lg-wide-25 col-xs-1 stui-pannel-side hidden-sm hidden-xs">
<!-- <div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box clearfix">
<div class="col-pd">
<div class="text-center" style="
padding: 45px 0;
border: 1px solid #eee;
border-radius: 5px;
">
<p id="qrcode2" title="https://www.czdadi.net/{$SiteModel['site_xiangqing_path']}/{$VideoDetail->v_pinyin}.html">
<canvas width="160" height="160" style="display: none"></canvas>
</p>
<p>扫描二维码用手机观看</p>
</div>
</div>
{$strGanRaoMa|raw}
</div>
</div> -->
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title">
<img src="/statics/icon/icon_12.png" />喜剧片周榜单
<img src="/template/videodadi/icon/icon_12.png" />喜剧片周榜单
</h3>
</div>
</div>
<div class="stui-pannel_bd">
<ul class="stui-vodlist__text col-pd clearfix">
{volist name='arrSphbDianying' id='vo' key='index'}
{include file="public/video-list-phb" /}
{/volist}
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}
{/video:ranklist}
</ul>
</div>
</div>
{$strGanRaoMa|raw}
</div>
{$strGanRaoMa|raw}
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title">
<img src="/statics/icon/icon_12.png" />喜剧片月榜单
<img src="/template/videodadi/icon/icon_12.png" />喜剧片月榜单
</h3>
</div>
</div>
<div class="stui-pannel_bd">
<ul class="stui-vodlist__text col-pd clearfix">
{volist name='arrPinFenDianying' id='vo' key='index'}
{include file="public/video-list-phb" /}
{if $index == 1}{$strGanRaoMa|raw}{/if}
{if $index == 3}{$strGanRaoMa|raw}{/if}
{if $index == 7}{$strGanRaoMa|raw}{/if}
{if $index == 9}{$strGanRaoMa|raw}{/if}
{if $index == 10}{$strGanRaoMa|raw}{/if}
{/volist}
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}
{/video:ranklist}
</ul>
</div>
</div>

View File

@@ -1,12 +1,51 @@
{extend name="base" /}
{block name="get-data"}
{if $Request.route.intVideoId}
{video:info v_id="$Request.route.intVideoId" n_key="arrVideo" n_forge_id="$Request.route.intForgeId" /}
{else}
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
{/if}
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
{/block}
{block name="title"}
{if $DomainModel->info_id == $Request.route.intVideoId || empty($Request.route.intVideoId)}
{site:replace code="INDEX@INDEX@TITLE"}
{else}
{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intVideoId" /}
{/if}
{/block}
{block name="keywords"}
{if $DomainModel->info_id == $Request.route.intVideoId || empty($Request.route.intVideoId)}
{site:replace code="INDEX@INDEX@KEYWORDS"}
{else}
{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS" diff="$Request.route.intVideoId"}
{/if}
{/block}
{block name="description"}
{if $DomainModel->info_id == $Request.route.intVideoId || empty($Request.route.intVideoId)}
{site:replace code="INDEX@INDEX@DESCRIPTION"}
{else}
{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intVideoId"}
{/if}
{/block}
{block name="head-css"}
<link rel="stylesheet" href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/dplayer/1.24.0/DPlayer.min.css">
<style type="text/css">
.stui-player__head {
display: none;
}
.dplayer-video-wrap{
max-height: 480px;
}
video {
max-height: 480px;
}
@@ -59,7 +98,7 @@
返回
</a>
</div>
{$strGanRaoMa|raw}
<div class="dplayer-prent">
<div id="dplayer" class="dplayer" muted=“muted” style="margin-top: 5px;"></div>
@@ -82,18 +121,18 @@
<i class="icon iconfont icon-share hidden-xs"></i>
</a>
</li>
{if $intPlaySort > 1}
{if $Request.route.intPlayIndex > 1}
<li>
<a style="color: rgb(30, 99, 7);" class="btn btn-default"
href="/{$SiteModel['site_zhangjie_path']}/{$VideoDetail->v_pinyin}-1-{$intPlaySort-1}.html">
href="//{$arrVideo.v_name_en}-1-{$Request.route.intPlayIndex-1}.html">
<i class="icon iconfont icon-back hidden-xs"></i>
上一集
</a>
</li>
{/if}
{if $intPlaySort < $intTotalEpisodes} <li>
{if $Request.route.intPlayIndex < 100} <li>
<a style="color: rgb(246, 155, 213);" class="btn btn-default"
href="/{$SiteModel['site_zhangjie_path']}/{$VideoDetail->v_pinyin}-1-{$intPlaySort+1}.html">
href="//{$arrVideo.v_name_en}-1-{$Request.route.intPlayIndex+1}.html">
下一集
<i class="icon iconfont icon-more hidden-xs"></i>
</a>
@@ -101,29 +140,25 @@
{/if}
</ul>
<h1 class="title"><a style="color: rgb(244, 139, 75);"
href="/{$SiteModel['site_xiangqing_path']}/{$VideoDetail->v_pinyin}.html">
《{$VideoDetail->v_name}》
href="//{$arrVideo.v_name_en}.html">
《{$arrVideo.v_name}》
</a>
</h1>
<p class="data margin-0">
<span class="text-muted">类型:</span>
{volist name='VideoDetail->arr_juqing' id='vo' key='index'}
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/{$SiteModel['site_tui_jian_path']}/----{$vo}---------.html" target="_blank">{$vo}</a>
href="//-------------.html" target="_blank">{$arrVideo.v_category}</a>
&nbsp;
{/volist}
&nbsp;
<span class="split-line"></span>
<span class="text-muted">地区:</span>
<a style="color: rgb(240, 3, 132)"
href="/{$SiteModel['site_tui_jian_path']}/--{$VideoDetail->v_diqu}-----------.html"
target="_blank">{$VideoDetail->v_diqu}</a>
<a style="color: rgb(240, 3, 132)" href="//--{$arrVideo.v_area}-----------.html"
target="_blank">{$arrVideo.v_area}</a>
&nbsp;
<span class="split-line"></span>
<span class="text-muted">年份:</span>
<a style="color: rgb(102, 158, 132)"
href="/{$SiteModel['site_tui_jian_path']}/-------------{$VideoDetail->v_years}.html"
target="_blank">{$VideoDetail->v_years}</a>
<a style="color: rgb(102, 158, 132)" href="//-------------{$arrVideo.v_year}.html"
target="_blank">{$arrVideo.v_year}</a>
&nbsp;
</p>
</div>
@@ -131,103 +166,84 @@
</div>
</div>
</div>
{foreach $arrVideo.v_play_url as $key=>$arrPlayUrlType }
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box b playlist mb">
<div class="stui-pannel_hd">
<div class="stui-pannel__head bottom-line active clearfix"><span
class="more text-muted pull-right">无需安装任何插件</span>
<h3 class="title"><img src="/statics/icon/icon_30.png">1080播放2</h3>
<h3 class="title"><img src="/template/videodadi/icon/icon_30.png">{$key}</h3>
</div>
</div>
<div class="stui-pannel_bd col-pd clearfix">
<ul class="stui-content__playlist clearfix">
{volist name='arrVideoPlayurlModel' id='vo' key='index'}
<li class="{if $index == $intPlaySort}active{/if}">
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/{$SiteModel['site_zhangjie_path']}/{$VideoDetail->v_pinyin}-1-{$index}.html">{$vo->vp_name}</a>
{volist name='$arrPlayUrlType' id='arrPlayUrl' key='index'}
<li class="{if $index == $Request.route.intPlayIndex}active{/if}">
<a href="//{$arrPlayUrl.name}-1-{$index}.html" m3u8="{$arrPlayUrl.url}">{$arrPlayUrl.name}</a>
</li>
{/volist}
</ul>
</div>
</div>
</div>
{/foreach}
<div class="stui-pannel stui-pannel-bg clearfix" id="desc">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title"><img src="/statics/icon/icon_30.png">剧情简介</h3>
<h3 class="title"><img src="/template/videodadi/icon/icon_30.png">剧情简介</h3>
</div>
</div>
<div class="stui-pannel_bd">
<h3>【{$VideoDetail->v_name}】</h3>
<p class="col-pd">  {$VideoDetail->v_description}{volist name='arrSeoVideo' id='vo'}
<a href="/{$SiteModel['site_seo_path']}/{$vo.vis_id}.html">{$vo.vis_name}</a>&nbsp;&nbsp;
{/volist}
<h3>【{$arrVideo.v_name}】</h3>
<p class="col-pd">  
{$arrVideo.v_description|raw}
<a href="//.html">{}</a>&nbsp;&nbsp;
</p>
</div>
</div>
</div>
{$strGanRaoMa|raw}
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title"><img src="/statics/icon/icon_6.png">猜你喜欢</h3>
<h3 class="title"><img src="/template/videodadi/icon/icon_6.png">猜你喜欢</h3>
</div>
{$strGanRaoMa|raw}
</div>
<div class="stui-pannel_bd">
<ul class="stui-vodlist__bd clearfix">
{volist name='arrCainixihuan' id='vo' key='index'}
{if $index <= 12} {include file="public/video-list-shu" /} {/if} {/volist} </ul>
<ul class="stui-vodlist__text col-pd clearfix hidden-xs">
{volist name='arrCainixihuan' id='vo' key='index'}
{if $index > 12}
{include file="public/video-list-text2" /}
{/if}
{if $index == 15}{$strGanRaoMa|raw}{/if}
{if $index == 23}{$strGanRaoMa|raw}{/if}
{if $index == 30}{$strGanRaoMa|raw}{/if}
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" /}
{/video:list}
{/volist}
</ul>
</ul>
<ul class="stui-vodlist__text col-pd clearfix hidden-xs">
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-text2" /}
{/video:list}
</ul>
</div>
</div>
{$strGanRaoMa|raw}
</div>
</div>
<div class="col-lg-wide-25 col-xs-1 stui-pannel-side hidden-sm hidden-xs">
<!-- <div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box clearfix">
<div class="col-pd">
<div class="text-center"
style="padding: 45px 0; border: 1px solid #eee; border-radius: 5px;">
<p id="qrcode2" title="https://www.czdadi.net/{$SiteModel['site_zhangjie_path']}/{$VideoDetail->vp_pinyin}-1-1.html"><canvas
width="160" height="160" style="display: none;"></canvas>
</p>
<p>扫描二维码用手机观看</p>
</div>
</div>
</div>
</div> -->
<div class="stui-pannel stui-pannel-bg clearfix">
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title"><img src="/statics/icon/icon_12.png">喜剧片周榜单</h3>
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">喜剧片周榜单</h3>
</div>
{$strGanRaoMa|raw}
</div>
<div class="stui-pannel_bd">
<ul class="stui-vodlist__text col-pd clearfix">
{volist name='arrSphbDianying' id='vo' key='index'}
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}
{if $index == 4}{$strGanRaoMa|raw}{/if}
{if $index == 6}{$strGanRaoMa|raw}{/if}
{if $index == 7}{$strGanRaoMa|raw}{/if}
{if $index == 8}{$strGanRaoMa|raw}{/if}
{/volist}
{/video:ranklist}
</ul>
</div>
</div>
@@ -236,21 +252,18 @@
<div class="stui-pannel-box">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<h3 class="title"><img src="/statics/icon/icon_12.png">喜剧片月榜单</h3>
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">喜剧片月榜单</h3>
</div>
{$strGanRaoMa|raw}
</div>
<div class="stui-pannel_bd">
<ul class="stui-vodlist__text col-pd clearfix">
{volist name='arrPinFenDianying' id='vo' key='index'}
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}
{if $index == 7}{$strGanRaoMa|raw}{/if}
{/volist}
{/video:ranklist}
</ul>
</div>
</div>
</div>
{$strGanRaoMa|raw}
</div>
</div>
</div>
@@ -258,12 +271,18 @@
{block name="customize"}
<script>
var intJumpTimeFirst = {$intJumpTimeFirst};
var intJumpTimeTwoStart = {$intJumpTimeTwoStart};
var intJumpTimeTwoEnd = {$intJumpTimeTwoEnd};
var intPlayUrlIndex = '{$Request.route.intPlayIndex}'
var strPlayType = '{$Request.route.strPlayType}'
var intJumpTimeFirst = 1;
var intJumpTimeTwoStart = 1;
var intJumpTimeTwoEnd = 1;
var arrPlayUrl = {:json_encode($arrVideo.v_play_url)};
var ActivePlayUrl = arrPlayUrl[strPlayType][intPlayUrlIndex - 1]
var strPlayUrl = ActivePlayUrl.url
document.addEventListener('DOMContentLoaded', function () {
console.log(strPlayUrl)
var strPlayUrl = "{$SelectedData->http_m3u8_url}"
initDPlayer(strPlayUrl)
function initDPlayer(strPlayUrl) {
let DomDPlayer = document.getElementById('dplayer')
@@ -285,7 +304,6 @@
videoPlayer.play()
// 监听全屏进入事件
videoPlayer.on('fullscreen', function () {
DomDPlayer.classList.add("dp-fullscreen");
@@ -326,12 +344,12 @@
})
// 页面加载时执行
$(document).ready(function () {
let vod_name = $("h1 a").text();
let vod_url = window.location.pathname;
let vod_part = $(".stui-content__playlist .active a").text();
addHistory(vod_name, vod_url, vod_part)
history();
});
// $(document).ready(function () {
// let vod_name = $("h1 a").text();
// let vod_url = window.location.pathname;
// let vod_part = $(".stui-content__playlist .active a").text();
// addHistory(vod_name, vod_url, vod_part)
// history();
// });
</script>
{/block}