This commit is contained in:
make
2025-05-05 00:54:34 +08:00
parent bce286a80b
commit cc61365c5d
31 changed files with 1260 additions and 700 deletions

View File

@@ -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>
&nbsp;
<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>
&nbsp;
<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>
&nbsp;
{/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>
&nbsp;
</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>
&nbsp;
{/volist}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp;
{/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>
&nbsp;
{/volist}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp;
{/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>&nbsp;&nbsp;
<a
href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>{$arrVideo.v_name}</a>&nbsp;&nbsp;
</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}