debug
This commit is contained in:
@@ -2,18 +2,20 @@
|
||||
|
||||
{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="generateVideoPager" export_name="resData" /}
|
||||
{video:pagerexp page="$Request.get.page" limit="30" button_num="10" cache_life="86400"
|
||||
key="$Request.get.keyword"
|
||||
v_parent_category_en="$Request.route.strParentCategory"
|
||||
v_category_en="$Request.route.strCategory"
|
||||
v_lang_en="$Request.route.strLang"
|
||||
v_area_en="$Request.route.strArea"
|
||||
v_year="$Request.route.strYear"
|
||||
sort_type="$Request.route.strOrder"
|
||||
d_key="d_key" d_val="Video" p_val="page_data" func="generateVideoPager" export_name="resData" /}
|
||||
|
||||
{site:grm page_code="h5_category_list_type" diff="0" num="100" g_key="arrGrm" /}
|
||||
|
||||
{/block}
|
||||
|
||||
|
||||
|
||||
{block name="title"}{site:replace code="VIDEO@GETCATEGORY@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="VIDEO@GETCATEGORY@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="VIDEO@GETCATEGORY@DESCRIPTION"}{/block}
|
||||
@@ -54,7 +56,16 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
|
||||
|
||||
<div class="container">
|
||||
<!-- <p>route: /vodtype-:strCategory/:strParentCategory-:strArea-:strLang-:strYear-:strOrder-page:intPage </p>
|
||||
<p>strParentCategory :{$Request.route.strParentCategory}</p>
|
||||
<p>strCategory :{$Request.route.strCategory}</p>
|
||||
<p>strLang :{$Request.route.strLang}</p>
|
||||
<p>strArea :{$Request.route.strArea}</p>
|
||||
<p>strYear :{$Request.route.strYear}</p>
|
||||
<p>strOrder :{$Request.route.strOrder}</p>
|
||||
<p>intPage :{$Request.route.intPage}</p> -->
|
||||
<h1 class="view-title">
|
||||
|
||||
{site:replace code="VIDEO@GETCATEGORY@H1"}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORY@TEXT"}</h4>
|
||||
@@ -71,16 +82,12 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
<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 == "" || $Request.route.strCategory == "all"}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="all" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>全部</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
{if $val.v_category_en == $Request.route.strClass}
|
||||
{if $val.v_category_en == $Request.route.strParentCategory}
|
||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||
<li
|
||||
class="{if $Request.route.strCategory == $arrChildrenCategory.v_category_en}active{/if}">
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$arrChildrenCategory.v_category_en" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}' class="text-muted">{$arrChildrenCategory.v_category}</a>
|
||||
<a href='{site:vclurl prent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}' class="text-muted">{$arrChildrenCategory.v_category}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
@@ -89,44 +96,31 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
|
||||
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
|
||||
<li><span class="text-muted">按地区</span></li>
|
||||
<li
|
||||
class='{if empty( $Request.route.strArea) || $Request.route.strArea == "" || $Request.route.strArea == "all"}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="all" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>全部</a>
|
||||
</li>
|
||||
|
||||
{video:area d_key="key" d_val="val"}
|
||||
|
||||
<li class='{if $Request.route.strArea == $key}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="$key" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'
|
||||
<a href='{site:vclurl prent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$key" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'
|
||||
class="text-muted">{$val}</a>
|
||||
</li>
|
||||
{/video:area}
|
||||
</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.strYear) || $Request.route.strYear == "" || $Request.route.strYear == "all"}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="all" order="$Request.route.strOrder" page="$Request.route.intPage"}'>全部</a>
|
||||
{video:year d_key="key" d_val="val"}
|
||||
<li class='{if $Request.route.strYear == $key}active{/if}'>
|
||||
<a href='{site:vclurl prent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$key" order="$Request.route.strOrder" page="$Request.route.intPage"}'
|
||||
class="text-muted">{$val}</a>
|
||||
</li>
|
||||
{for start="2025" end="1967" comparison="gt" step="-1" name="i"}
|
||||
|
||||
<li class='{if $Request.route.strYear == $i}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$i" order="$Request.route.strOrder" page="$Request.route.intPage"}'
|
||||
class="text-muted">{$i}</a>
|
||||
</li>
|
||||
{/for}
|
||||
{/video:year}
|
||||
|
||||
</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.strLang) || $Request.route.strLang == "" || $Request.route.strLang == "all"}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="$Request.route.strArea" lang="all" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>全部</a>
|
||||
</li>
|
||||
{video:lang d_key="key" d_val="val"}
|
||||
|
||||
<li class='{if $Request.route.strLang == $key}active{/if}'>
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$key" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'
|
||||
<a href='{site:vclurl prent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$key" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'
|
||||
class="text-muted">{$val}</a>
|
||||
</li>
|
||||
{/video:lang}
|
||||
@@ -142,12 +136,10 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
<ul class="nav nav-head">
|
||||
{video:sort d_key="key" d_val="val"}
|
||||
<li class="{if $Request.route.strOrder == $key}active{/if}">
|
||||
<a href='{site:vclurl class="$Request.route.strClass" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$key" page="$Request.route.intPage"}'>
|
||||
<a href='{site:vclurl prent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$key" page="$Request.route.intPage"}'>
|
||||
{$val}</a>
|
||||
</li>
|
||||
{/video:sort}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
{block name="keywords"}{site:replace code="VIDEO@GETCATEGORYINDEX@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="VIDEO@GETCATEGORYINDEX@DESCRIPTION"}{/block}
|
||||
|
||||
|
||||
|
||||
{block name="head"}
|
||||
<!-- 社交媒体标签 -->
|
||||
<meta property="og:title" content='{site:replace code="VIDEO@GETCATEGORYINDEX@TITLE"}' />
|
||||
@@ -62,7 +60,7 @@
|
||||
<div class="row">
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
|
||||
{if $val.v_category_en == $Request.route.strClass}
|
||||
{if $val.v_category_en == $Request.route.strParentCategory}
|
||||
|
||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||
|
||||
@@ -73,7 +71,7 @@
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<a class="more text-muted pull-right"
|
||||
href='{site:vclurl class="$Request.route.strClass" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
href='{site:vclurl prent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
更多
|
||||
<i class="icon iconfont icon-more"></i>
|
||||
</a>
|
||||
@@ -86,12 +84,26 @@
|
||||
</div>
|
||||
</div>
|
||||
<ul class="stui-vodlist clearfix">
|
||||
{video:list count="2" v_category="$val.v_category_en" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:list count="12"
|
||||
v_category_en="$arrChildrenCategory.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_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">
|
||||
{video:list count="2" v_category="$val.v_category_en" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:list count="12"
|
||||
v_category_en="$arrChildrenCategory.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-text2" /}
|
||||
{/video:list}
|
||||
</ul>
|
||||
@@ -105,7 +117,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<ul class="stui-vodlist__text active col-pd clearfix">
|
||||
{video:ranklist count="10" v_category="$val.v_category_en" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="10"
|
||||
v_category_en="$arrChildrenCategory.v_category_en"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
|
||||
|
||||
@@ -1,153 +0,0 @@
|
||||
{extend name="base" /}
|
||||
|
||||
{block name="get-data"}
|
||||
{video:pagerexp page="$Request.get.page" limit="10"
|
||||
key="$Request.get.keyword"
|
||||
d_key="d_key"
|
||||
d_val="Video"
|
||||
p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /}
|
||||
{site:grm page_code="h5_video_search" diff="$Request.url" num="30" g_key="arrGrm" /}
|
||||
{/block}
|
||||
|
||||
|
||||
{block name="head-css"}
|
||||
|
||||
{/block}
|
||||
|
||||
{block name="head-js"}
|
||||
|
||||
{/block}
|
||||
|
||||
{block name="main"}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-wide-75 col-xs-1 padding-0">
|
||||
<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="/template/videodadi/icon/icon_27.png"></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__media col-pd clearfix">
|
||||
|
||||
{foreach $resData.data as $key=>$Video}
|
||||
<li class="active clearfix">
|
||||
<div class="thumb"><a
|
||||
|
||||
class="v-thumb stui-vodlist__thumb lazyload"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name}"
|
||||
data-src="{$Video.v_pic}"><span
|
||||
class="play hidden-xs"></span><span
|
||||
class="pic-text text-right">{$Video.v_remarks}</span></a></div>
|
||||
<div class="detail">
|
||||
<h3 class="title"><a
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'>{$Video.v_name}</a></h3>
|
||||
<p><span class="text-muted">导演:</span>
|
||||
{foreach $Video.v_director as $keyDirector=>$strDirector}
|
||||
{$strDirector}
|
||||
{/foreach}
|
||||
</p>
|
||||
<p><span class="text-muted">主演:</span>
|
||||
{foreach $Video.v_actor as $keyActor=>$strActor}
|
||||
{$strActor}
|
||||
{/foreach}
|
||||
</p>
|
||||
<p class="hidden-mi">
|
||||
<span class="text-muted">类型:</span>
|
||||
{$Video.v_category}
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted">地区:</span>
|
||||
{$Video.v_area}
|
||||
<span class="hidden-xs">
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted">年份:</span>
|
||||
{$Video.v_year}
|
||||
</span>
|
||||
</p>
|
||||
<p class="margin-0"><a
|
||||
class="btn btn-min btn-primary"
|
||||
href='{site:vpurl v_id="$Video.v_id" v_py="$Video.v_name_en" play_type="default" play_index="1" /}'>立即播放</a> <a
|
||||
class="btn btn-min btn-default"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'>查看详情</a></p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 分页 -->
|
||||
<ul class="stui-page text-center clearfix">
|
||||
{volist name="resData.p_data.pager" id="vo" key="k"}
|
||||
{switch $vo.label}
|
||||
{case value="上一页"}
|
||||
{if $resData.p_data.page == 1}
|
||||
<li class="disabled"><span>上一页</span></li>
|
||||
{else}
|
||||
<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 href="{$vo.url}">下一页</a></li>
|
||||
{/if}
|
||||
{/case}
|
||||
{default /}
|
||||
{if preg_match('/^\d+$/', $vo.label)}
|
||||
<li class='{eq name="vo.label" value="$Request.route.intPage"}active {/eq}'>
|
||||
<a href="{$vo.url}">{$vo.label}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/switch}
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-lg-wide-25 stui-pannel-side hidden-md hidden-sm hidden-xs">
|
||||
<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="/template/videodadi/icon/icon_dianying.png">电影热播榜</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd clearfix">
|
||||
<ul class="stui-vodlist__text active col-pd clearfix">
|
||||
{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>
|
||||
</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="/template/videodadi/icon/icon_dianshiju.png">电视剧热播榜</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd clearfix">
|
||||
<ul class="stui-vodlist__text active col-pd clearfix">
|
||||
{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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
{block name="customize"}
|
||||
|
||||
{/block}
|
||||
@@ -73,39 +73,19 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
|
||||
<li><span class="text-muted">按分类</span></li>
|
||||
<li
|
||||
class='{if empty( $Request.route.strClass) || $Request.route.strClass == "" || $Request.route.strClass == "all"}active{/if}'>
|
||||
class='{if empty( $Request.route.strParentCategory) || $Request.route.strParentCategory == "" || $Request.route.strParentCategory == "all"}active{/if}'>
|
||||
<a
|
||||
href='{site:vrlurl class="all" category="all" sort_type="all" page="1"/}'>全部</a>
|
||||
href='{site:vrlurl parent_category="all" category="all" sort_type="daily" page="1"/}'>全部</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li class="{if $Request.route.strClass == $val.v_category_en}active{/if}">
|
||||
<li class="{if $Request.route.strParentCategory == $val.v_category_en}active{/if}">
|
||||
|
||||
<a href='{site:vrlurl class="$val.v_category_en" category="all" sort_type="all" page="1"/}'
|
||||
<a href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'
|
||||
class="text-muted">{$val.v_category}</a>
|
||||
</li>
|
||||
{/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 == "" || $Request.route.strCategory == "all"}active{/if}'>
|
||||
<a href='{site:vrlurl class="all" category="all" sort_type="all" page="1"/}'>全部</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
{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 href='{site:vrlurl class="all" category="$arrChildrenCategory.v_category_en" sort_type="all" page="1"/}' class="text-muted">{$arrChildrenCategory.v_category}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/video:categorytype}
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -124,7 +104,9 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
</div>
|
||||
<div class="stui-pannel_bd clearfix">
|
||||
<ul class="stui-vodlist__text active col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="$key" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="20"
|
||||
sort_type="$key"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
</ul>
|
||||
|
||||
@@ -71,38 +71,37 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
|
||||
<li><span class="text-muted">按分类</span></li>
|
||||
<li
|
||||
class='{if empty( $Request.route.strClass) || $Request.route.strClass == "" || $Request.route.strClass == "all"}active{/if}'>
|
||||
class='{if empty( $Request.route.strParentCategory) || $Request.route.strParentCategory == "" || $Request.route.strParentCategory == "all"}active{/if}'>
|
||||
<a
|
||||
href='{site:vrlurl class="all" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}'>全部</a>
|
||||
href='{site:vrlurl parent_category="all" category="all" sort_type="Request.route.strSortType" page="1"/}'>全部</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li class="{if $Request.route.strClass == $val.v_category_en}active{/if}">
|
||||
<li class="{if $Request.route.strParentCategory == $val.v_category_en}active{/if}">
|
||||
|
||||
<a href='{site:vrlurl class="$val.v_category_en" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}'
|
||||
<a href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="Request.route.strSortType" page="1"/}'
|
||||
class="text-muted">{$val.v_category}</a>
|
||||
</li>
|
||||
{/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 == "" || $Request.route.strCategory == "all"}active{/if}'>
|
||||
<a href='{site:vrlurl class="$Request.route.strClass" category="all" sort_type="$Request.route.strSortType" page="1"/}'>全部</a>
|
||||
<a href='{site:vrlurl parent_category="all" category="all" sort_type="Request.route.strSortType" page="1"/}'>全部</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
{if $val.v_category_en == $Request.route.strClass}
|
||||
{if $val.v_category_en == $Request.route.strParentCategory}
|
||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||
<li
|
||||
class="{if $Request.route.strCategory == $arrChildrenCategory.v_category_en}active{/if}">
|
||||
<a href='{site:vrlurl class="$Request.route.strClass" category="$arrChildrenCategory.v_category_en" sort_type="$Request.route.strSortType" page="1"/}' class="text-muted">{$arrChildrenCategory.v_category}</a>
|
||||
<a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" sort_type="Request.route.strSortType" page="1"/}' class="text-muted">{$arrChildrenCategory.v_category}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/video:categorytype}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@@ -117,7 +116,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
<ul class="nav nav-head">
|
||||
{video:ranksort d_key="key" d_val="val"}
|
||||
<li class="{if $Request.route.strSortType == $key}active{/if}">
|
||||
<a href='{site:vrlurl class="$Request.route.strClass" category="$Request.route.strCategory" sort_type="$key" page="1"/}'>
|
||||
<a href='{site:vrlurl class="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$key" page="1"/}'>
|
||||
{$val}排行榜
|
||||
</a>
|
||||
</li>
|
||||
@@ -134,34 +133,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 分页 -->
|
||||
<ul class="stui-page text-center clearfix">
|
||||
{volist name="resData.p_data.pager" id="vo" key="k"}
|
||||
{switch $vo.label}
|
||||
{case value="上一页"}
|
||||
{if $resData.p_data.page == 1}
|
||||
<li class="disabled"><span>上一页</span></li>
|
||||
{else}
|
||||
<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 href="{$vo.url}">下一页</a></li>
|
||||
{/if}
|
||||
{/case}
|
||||
{default /}
|
||||
{if preg_match('/^\d+$/', $vo.label)}
|
||||
<li class='{eq name="vo.label" value="$Request.route.intPage"}active {/eq}'>
|
||||
<a href="{$vo.url}">{$vo.label}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/switch}
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-lg-wide-25 col-xs-1 stui-pannel-side hidden-sm hidden-xs padding-0">
|
||||
@@ -174,7 +146,10 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="20"
|
||||
v_parent_category_en="dian-ying"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
|
||||
@@ -186,12 +161,15 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateVideoPager" e
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">电影月榜单</h3>
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">电视剧周榜单</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="monthly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="20"
|
||||
v_parent_category_en="dian-shi-ju"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
</ul>
|
||||
|
||||
@@ -74,7 +74,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
<li class="active clearfix">
|
||||
<div class="thumb"><a
|
||||
|
||||
class="v-thumb stui-vodlist__thumb lazyload"
|
||||
class="v-thumb stui-vodlist__thumb lazyload-bg"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name}"
|
||||
data-src="{$Video.v_pic}"><span
|
||||
@@ -98,7 +98,10 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
{$Video.v_category}
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted">地区:</span>
|
||||
{$Video.v_area}
|
||||
{foreach $Video.v_area as $keyArea=>$strArea}
|
||||
<a href='{site:vsurl key="$strArea" p="1"/}'>{$strArea}</a>
|
||||
|
||||
{/foreach}
|
||||
<span class="hidden-xs">
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted">年份:</span>
|
||||
@@ -154,14 +157,19 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_dianying.png">电影热播榜</h3>
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_dian-ying.png">电影热播榜</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd clearfix">
|
||||
<ul class="stui-vodlist__text active col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="20"
|
||||
v_parent_category_en="dian-ying"
|
||||
sort_type="total"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -170,14 +178,18 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_dianshiju.png">电视剧热播榜</h3>
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_dian-shi-ju.png">电视剧热播榜</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd clearfix">
|
||||
<ul class="stui-vodlist__text active col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="20"
|
||||
v_parent_category_en="dian-shi-ju"
|
||||
sort_type="total"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{extend name="base" /}
|
||||
{extend name="base" /}
|
||||
|
||||
{block name="get-data"}
|
||||
|
||||
{if $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" n_key="arrVideo" n_forge_id="$Request.route.intForgeId" /}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{else}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
|
||||
{/if}
|
||||
@@ -12,28 +12,28 @@
|
||||
{/block}
|
||||
|
||||
{block name="title"}
|
||||
{if $DomainModel->info_id == $Request.route.intVId || empty($Request.route.intVId)}
|
||||
{site:replace code="INDEX@INDEX@TITLE"}
|
||||
{else}
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@TITLE" diff="$Request.route.intVId" /}
|
||||
{/if}
|
||||
{if $DomainModel->info_id == $Request.route.intVId || empty($Request.route.intVId)}
|
||||
{site:replace code="INDEX@INDEX@TITLE"}
|
||||
{else}
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@TITLE" diff="$Request.route.intVId" /}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
||||
{block name="keywords"}
|
||||
{if $DomainModel->info_id == $Request.route.intVId || empty($Request.route.intVId)}
|
||||
{site:replace code="INDEX@INDEX@KEYWORDS"}
|
||||
{else}
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@KEYWORDS" diff="$Request.route.intVId"}
|
||||
{/if}
|
||||
{if $DomainModel->info_id == $Request.route.intVId || empty($Request.route.intVId)}
|
||||
{site:replace code="INDEX@INDEX@KEYWORDS"}
|
||||
{else}
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@KEYWORDS" diff="$Request.route.intVId"}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name="description"}
|
||||
{if $DomainModel->info_id == $Request.route.intVId || empty($Request.route.intVId)}
|
||||
{site:replace code="INDEX@INDEX@DESCRIPTION"}
|
||||
{else}
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION" diff="$Request.route.intVId"}
|
||||
{/if}
|
||||
{if $DomainModel->info_id == $Request.route.intVId || empty($Request.route.intVId)}
|
||||
{site:replace code="INDEX@INDEX@DESCRIPTION"}
|
||||
{else}
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION" diff="$Request.route.intVId"}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -59,8 +59,8 @@
|
||||
"@type": "Person",
|
||||
"name": "{strVideoActor}"
|
||||
},
|
||||
"thumbnailUrl": "https://{strSiteDomain}/img/video/{strYear}/{strVideoName}.webp",
|
||||
"url": "https://{strSiteDomain}/voddetail/{strVideoName}",
|
||||
"thumbnailUrl": "",
|
||||
"url": "",
|
||||
"inLanguage": "{strLangName}",
|
||||
"contentLocation": {
|
||||
"@type": "Place",
|
||||
@@ -78,7 +78,7 @@
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@H1"}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOINFO@TEXT"}</h4>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-wide-75 col-xs-1 padding-0">
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
@@ -96,53 +96,48 @@
|
||||
</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="//{$arrVideo.v_name_en}-1-1.html" title="{$arrVideo.v_name}">
|
||||
<img class="lazyload"
|
||||
src="{$arrVideo.v_pic}"
|
||||
data-original="{$arrVideo.v_pic}"
|
||||
/>
|
||||
<a style="color: rgb(213, 234, 5)" class="stui-vodlist__thumb picture v-thumb" href=""
|
||||
title="{$arrVideo.v_name}">
|
||||
<img class="lazyload" src="{$arrVideo.v_pic}" data-original="{$arrVideo.v_pic}" />
|
||||
<span class="play active hidden-xs"></span>
|
||||
<span class="pic-text text-right">{$arrVideo.v_remarks}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="stui-content__detail">
|
||||
<h1 class="title">
|
||||
《{$arrVideo.v_name}》<span class="score text-red">{$arrVideo.v_score}</span>
|
||||
</h1>
|
||||
<p class="data">
|
||||
<span class="text-muted">类型:</span>
|
||||
<a
|
||||
href='{site:vsurl key="$arrVideo.v_category" p="1"/}' >{$arrVideo.v_category}</a>
|
||||
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted hidden-xs">地区:</span>
|
||||
<a style="color: rgb(240, 3, 132)"
|
||||
href='{site:vsurl key="$arrVideo.v_area" p="1"/}' >{$arrVideo.v_area}</a>
|
||||
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>{$arrVideo.v_category}</a>
|
||||
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted hidden-xs">地区:</span>
|
||||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||||
<a style="color: rgb(240, 3, 132)" href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted hidden-xs">年份:</span>
|
||||
<a style="color: rgb(102, 158, 132)" href='{site:vclurl class="all" category="all" area="all" lang="all" year="$arrVideo.v_year" order="all" page="1"/}'
|
||||
>{$arrVideo.v_year}</a>
|
||||
<a style="color: rgb(102, 158, 132)"
|
||||
href='{site:vclurl class="all" category="all" area="all" lang="all" year="$arrVideo.v_year" order="all" page="1"/}'>{$arrVideo.v_year}</a>
|
||||
|
||||
</p>
|
||||
<p class="data">
|
||||
<span class="text-muted">主演:</span>
|
||||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||||
<a
|
||||
href='{site:vsurl key="$vo" p="1"/}' >{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</p>
|
||||
<p class="data">
|
||||
<span class="text-muted">导演:</span>
|
||||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||||
<a
|
||||
href='{site:vsurl key="$vo" p="1"/}' >{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</p>
|
||||
<p class="data hidden-sm">
|
||||
<span class="text-muted">更新:</span>{$arrVideo.v_publish_date}
|
||||
@@ -150,7 +145,7 @@
|
||||
<p class="desc hidden-xs">
|
||||
<span class="left text-muted">简介:</span>
|
||||
{$arrVideo.v_description|raw}
|
||||
<a >
|
||||
<a>
|
||||
详情
|
||||
<i class="icon iconfont icon-moreunfold"></i>
|
||||
</a>
|
||||
@@ -177,7 +172,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||||
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
<div class="stui-pannel-box b playlist mb">
|
||||
@@ -192,15 +187,16 @@
|
||||
<div class="stui-pannel_bd col-pd clearfix">
|
||||
<ul class="stui-content__playlist clearfix">
|
||||
{volist name='$arrPlayUrlType' id='arrPlayUrl'}
|
||||
<li>
|
||||
<a href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
|
||||
</li>
|
||||
{/volist}
|
||||
<li>
|
||||
<a
|
||||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/foreach}
|
||||
|
||||
<div class="stui-pannel stui-pannel-bg clearfix" id="desc">
|
||||
@@ -216,7 +212,8 @@
|
||||
<h3>{$arrVideo.v_name}</h3>
|
||||
<p class="col-pd">
|
||||
{$arrVideo.v_description}
|
||||
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>{$arrVideo.v_name}</a>
|
||||
<a
|
||||
href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>{$arrVideo.v_name}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -232,20 +229,29 @@
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__bd clearfix">
|
||||
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-shu" /}
|
||||
{/video:list}
|
||||
{video:list count="12"
|
||||
v_category_en="$arrVideo.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_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">
|
||||
{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 class="top-line-dot text-overflow"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name}"><span class="text-muted pull-right">{$Video.v_remarks}</span>{$Video.v_name}</a>
|
||||
</li>
|
||||
|
||||
{/video:list}
|
||||
|
||||
{video:list count="12"
|
||||
v_category_en="$arrVideo.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-text2" /}
|
||||
{/video:list}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -257,17 +263,18 @@
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title">
|
||||
<img src="/template/videodadi/icon/icon_12.png" />喜剧片周榜单
|
||||
<img src="/template/videodadi/icon/icon_12.png" />{$arrVideo.v_parent_category}周榜单
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="12"
|
||||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -277,16 +284,19 @@
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title">
|
||||
<img src="/template/videodadi/icon/icon_12.png" />喜剧片月榜单
|
||||
<img src="/template/videodadi/icon/icon_12.png" />{$arrVideo.v_parent_category}月榜单
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="12"
|
||||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||||
sort_type="monthly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -294,4 +304,23 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block} {block name="customize"} {/block}
|
||||
|
||||
<script>
|
||||
|
||||
const strVideoId = `{$arrVideo.v_id}`;
|
||||
const arrVideo = {
|
||||
'v_id': `{$arrVideo['v_id']}`,
|
||||
'v_name_en': `{$arrVideo['v_name_en']}`,
|
||||
'v_pic': `{$arrVideo['v_pic']}`,
|
||||
'v_name': `{$arrVideo['v_name']}`,
|
||||
'v_description': `{$arrVideo['v_description']}`,
|
||||
'v_publish_date': `{$arrVideo['v_publish_date']}`,
|
||||
'v_remarks': `{$arrVideo['v_remarks']}`,
|
||||
'v_category': `{$arrVideo['v_category']}`,
|
||||
'v_year': `{$arrVideo['v_year']}`,
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
{/block}
|
||||
{block name="customize"} {/block}
|
||||
@@ -78,9 +78,11 @@
|
||||
.stui-player__head {
|
||||
display: none;
|
||||
}
|
||||
.dplayer-video-wrap{
|
||||
|
||||
.dplayer-video-wrap {
|
||||
max-height: 480px;
|
||||
}
|
||||
|
||||
video {
|
||||
max-height: 480px;
|
||||
}
|
||||
@@ -122,7 +124,7 @@
|
||||
{site:replace code="VIDEO@GETVIDEOPLAY@H1"}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOPLAY@TEXT"}</h4>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-wide-75 col-xs-1 padding-0">
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
@@ -183,25 +185,24 @@
|
||||
{/if}
|
||||
</ul>
|
||||
<h1 class="title"><a style="color: rgb(244, 139, 75);"
|
||||
href="//{$arrVideo.v_name_en}.html">
|
||||
href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>
|
||||
《{$arrVideo.v_name}》
|
||||
</a>
|
||||
</h1>
|
||||
<p class="data margin-0">
|
||||
<span class="text-muted">类型:</span>
|
||||
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
|
||||
href="//-------------.html" target="_blank">{$arrVideo.v_category}</a>
|
||||
|
||||
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>{$arrVideo.v_category}</a>
|
||||
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted">地区:</span>
|
||||
<a style="color: rgb(240, 3, 132)" href="//--{$arrVideo.v_area}-----------.html"
|
||||
target="_blank">{$arrVideo.v_area}</a>
|
||||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||||
<a style="color: rgb(240, 3, 132)" href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
<span class="split-line"></span>
|
||||
<span class="text-muted">年份:</span>
|
||||
<a style="color: rgb(102, 158, 132)" href="//-------------{$arrVideo.v_year}.html"
|
||||
target="_blank">{$arrVideo.v_year}</a>
|
||||
<a style="color: rgb(102, 158, 132)"
|
||||
href='{site:vclurl class="all" category="all" area="all" lang="all" year="$arrVideo.v_year" order="all" page="1"/}'>{$arrVideo.v_year}</a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
@@ -222,7 +223,8 @@
|
||||
<ul class="stui-content__playlist clearfix">
|
||||
{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>
|
||||
<a href="//{$arrPlayUrl.name}-1-{$index}.html"
|
||||
m3u8="{$arrPlayUrl.url}">{$arrPlayUrl.name}</a>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
@@ -241,7 +243,7 @@
|
||||
<h3>【{$arrVideo.v_name}】</h3>
|
||||
<p class="col-pd">
|
||||
{$arrVideo.v_description|raw}
|
||||
<a href="//.html">{}</a>
|
||||
<a href="#">{}</a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
@@ -258,15 +260,27 @@
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__bd clearfix">
|
||||
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:list count="12"
|
||||
v_category_en="$arrVideo.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_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">
|
||||
{video:list count="12" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:list count="12"
|
||||
v_category_en="$arrVideo.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-text2" /}
|
||||
|
||||
{/video:list}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -279,12 +293,16 @@
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">喜剧片周榜单</h3>
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">{$arrVideo.v_parent_category}周榜单
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="12"
|
||||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
</ul>
|
||||
@@ -295,12 +313,16 @@
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">喜剧片月榜单</h3>
|
||||
<h3 class="title"><img src="/template/videodadi/icon/icon_12.png">{$arrVideo.v_parent_category}月榜单
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<ul class="stui-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="10" sort_type="weekly" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{video:ranklist count="12"
|
||||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||||
sort_type="monthly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{/video:ranklist}
|
||||
</ul>
|
||||
@@ -310,6 +332,21 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const strVideoId = `{$arrVideo.v_id}`;
|
||||
const arrVideo = {
|
||||
'v_id': `{$arrVideo['v_id']}`,
|
||||
'v_name_en': `{$arrVideo['v_name_en']}`,
|
||||
'v_pic': `{$arrVideo['v_pic']}`,
|
||||
'v_name': `{$arrVideo['v_name']}`,
|
||||
'v_description': `{$arrVideo['v_description']}`,
|
||||
'v_publish_date': `{$arrVideo['v_publish_date']}`,
|
||||
'v_remarks': `{$arrVideo['v_remarks']}`,
|
||||
'v_category': `{$arrVideo['v_category']}`,
|
||||
|
||||
};
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
{block name="customize"}
|
||||
@@ -328,19 +365,17 @@
|
||||
var intJumpTimeFirst = 1;
|
||||
var intJumpTimeTwoStart = 1;
|
||||
var intJumpTimeTwoEnd = 1;
|
||||
var arrPlayUrl = {:json_encode($arrVideo.v_play_url)};
|
||||
var arrPlayUrl = {$arrVideo.v_play_url|json_encode|raw} ;
|
||||
var strPlayUrl = ""
|
||||
|
||||
if(strPlayType == 'default'){
|
||||
if (strPlayType == 'default') {
|
||||
strPlayUrl = findFirstUrl(arrPlayUrl)
|
||||
}else{
|
||||
} else {
|
||||
var ActivePlayUrl = arrPlayUrl[strPlayType][intPlayUrlIndex - 1]
|
||||
strPlayUrl = ActivePlayUrl.url
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
console.log(strPlayUrl)
|
||||
|
||||
initDPlayer(strPlayUrl)
|
||||
function initDPlayer(strPlayUrl) {
|
||||
|
||||
Reference in New Issue
Block a user