421 lines
19 KiB
HTML
421 lines
19 KiB
HTML
{extend name="base" /}
|
||
|
||
{block name="get-data"}
|
||
|
||
{if $Request.route.intVId && $Request.route.intVForgeId}
|
||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" v_fid="$Request.route.intVForgeId" /}
|
||
{elseif $Request.route.intVId}
|
||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||
{else}
|
||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" /}
|
||
{/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.intVId || empty($Request.route.intVId)}
|
||
{site:replace code="VIDEO@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="VIDEO@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="VIDEO@INDEX@INDEX@DESCRIPTION"}
|
||
{else}
|
||
{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION" diff="$Request.route.intVId"}
|
||
{/if}
|
||
{/block}
|
||
|
||
|
||
{block name="head"}
|
||
|
||
{// Open Graph 协议(用于Facebook、LinkedIn等)}
|
||
<meta property="og:title" content='{site:replace code="VIDEO@GETVIDEOINFO@TITLE"}'>
|
||
<meta property="og:description" content='{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION"}'>
|
||
{switch $arrVideo.v_parent_category_en }
|
||
{case 'dian-ying' }
|
||
<meta property="og:type" content="video.movie" />
|
||
{/case}
|
||
{case 'dian-shi-ju' }
|
||
<meta property="og:type" content="video.episode" />
|
||
{/case}
|
||
{case 'zong-yi' }
|
||
<meta property="og:type" content="video.tv_show" />
|
||
{/case}
|
||
{case 'dong-man' }
|
||
<meta property="og:type" content="video.episode" />
|
||
{/case}
|
||
{case 'duan-ju-da-quan' }
|
||
<meta property="og:type" content="video.episode" />
|
||
{/case}
|
||
{default /}
|
||
<meta property="og:type" content="video.movie" />
|
||
{/switch}
|
||
<meta property="og:url"
|
||
content='https://{$DomainModel->d_domain}{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>
|
||
<meta property="og:image" content="{$arrVideo.v_pic}">
|
||
<meta property="og:site_name" content="{$DomainModel->d_name}">
|
||
<meta property="og:video:type" content="video/m3u8">
|
||
|
||
{// Twitter Card(用于Twitter/X)}
|
||
<meta name="twitter:card" content="player">
|
||
<meta name="twitter:title" content='{site:replace code="VIDEO@GETVIDEOINFO@TITLE"}'>
|
||
<meta name="twitter:description" content='{site:replace code="VIDEO@GETVIDEOINFO@DESCRIPTION"}'>
|
||
<meta name="twitter:image" content="{$arrVideo.v_pic}">
|
||
|
||
{if $Request.route.intVId && $Request.route.intVForgeId}
|
||
<link rel="canonical"
|
||
href='https://{$DomainModel->d_domain}{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>
|
||
{/if}
|
||
|
||
{// 结构化数据}
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "VideoObject",
|
||
"name": "{$arrVideo.v_name}",
|
||
"description": "{$arrVideo.v_description}",
|
||
"thumbnailUrl": "{$arrVideo.v_pic}",
|
||
"uploadDate": "{:date('Y-m-d')}",
|
||
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}',
|
||
"genre": ["动作", "科幻"],
|
||
"keywords": '{site:replace code="VIDEO@GETVIDEOINFO@KEYWORDS"}',
|
||
"inLanguage": [
|
||
{volist name='$arrVideo.v_lang' id='strVideoLang' key='index'}
|
||
"{$strVideoLang}",
|
||
{/volist}
|
||
],
|
||
"contentLocation": [
|
||
{volist name='$arrVideo.v_area' id='strVideoArea' key='index'}
|
||
{
|
||
"@type": "Place",
|
||
"name": "{$strVideoArea}"
|
||
},
|
||
{/volist}
|
||
],
|
||
|
||
"director": [
|
||
{volist name='$arrVideo.v_director' id='strVideoDirector' key='index'}
|
||
{
|
||
"@type": "Person",
|
||
"name": "{$strVideoDirector}"
|
||
}
|
||
{/volist}
|
||
],
|
||
"actor": [
|
||
{volist name='$arrVideo.v_actor' id='strVideoActor' key='index'}
|
||
{
|
||
"@type": "Person",
|
||
"name": "{$strVideoActor}"
|
||
},
|
||
{/volist}
|
||
],
|
||
"aggregateRating": {
|
||
"@type": "AggregateRating",
|
||
"ratingValue": "{$arrVideo.v_score}",
|
||
},
|
||
"publisher": {
|
||
"@type": "Organization",
|
||
"name": "{$DomainModel->d_name}",
|
||
}
|
||
|
||
}
|
||
|
||
</script>
|
||
{/block}
|
||
|
||
{block name='body-class'}video-info-page{/block}
|
||
|
||
{block name="strPageCode"}
|
||
<?php $strPageCode = 'info'; ?>
|
||
{/block}
|
||
|
||
{block name="main"}
|
||
|
||
<div class="a971eb lvshicms-container-bg detail-info-box" style="margin-top:-20px;">
|
||
|
||
|
||
<div class="f969ad container">
|
||
<h1 class="view-title">
|
||
{site:replace code="VIDEO@GETVIDEOINFO@H1" diff="$arrVideo.v_id"}
|
||
</h1>
|
||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOINFO@TEXT" diff="$arrVideo.v_id"}</h4>
|
||
|
||
<nav class="breadcrumb" aria-label="breadcrumb">
|
||
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||
<li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li>
|
||
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href="/" itemprop="item">
|
||
<span itemprop="name">首页</span>
|
||
</a>
|
||
<meta itemprop="position" content="1" />
|
||
</li>
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category_en" /}' itemprop="item">
|
||
<span itemprop="name">{$arrVideo.v_parent_category}</span>
|
||
</a>
|
||
<meta itemprop="position" content="2" />
|
||
</li>
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href='{site:vclurl parent_category="$arrVideo.v_parent_category_en" category="$arrVideo.v_parent_category_en" area="all" lang="all" year="all" order="all" page="1"/}'
|
||
itemprop="item">
|
||
<span itemprop="name">{$arrVideo.v_category}</span>
|
||
</a>
|
||
<meta itemprop="position" content="3" />
|
||
</li>
|
||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
|
||
itemprop="item">
|
||
<span itemprop="name">{$arrVideo.v_name}</span>
|
||
</a>
|
||
<meta itemprop="position" content="4" />
|
||
</li>
|
||
</ol>
|
||
</nav>
|
||
|
||
|
||
<div class="fc40de row">
|
||
<div class="f147ce lvshicms-panel margin-0 clearfix">
|
||
<div class="a193f5 lvshicms-panel-box clearfix">
|
||
<div class="dea615 col-xs-1 detail-box">
|
||
<div class="b97972 lvshicms-content__thumb">
|
||
<a class="f2880b lvshicms-vodlist__thumb video-info-lvshicms-vodlist__thumb picture" href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
|
||
title="{$arrVideo.v_name}">
|
||
<img class="f20604 lazyload" src="{$arrVideo.v_pic}">
|
||
<span class="c5512d detail-icon play"></span>
|
||
<span class="a555ce pic-text text-right">已完结</span>
|
||
</a>
|
||
</div>
|
||
<div class="eecb94 lvshicms-content__detail">
|
||
<h1 class="edfc9f title">{$arrVideo.v_name}</h1>
|
||
<p class="fe7a76 data"><span class="dcb052 text-muted">主演:</span>
|
||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
</p>
|
||
<p class="d53452 data"><span class="a0dae5 text-muted">导演:</span>
|
||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
</p>
|
||
<p class="bb52e4 data">
|
||
<span class="ed25a2 text-muted">分类:</span>
|
||
<a
|
||
href='{site:vsurl key="$arrVideo.v_parent_category" p="1"/}'>{$arrVideo.v_parent_category}</a>
|
||
</p>
|
||
<p class="bb52e4 data">
|
||
<span class="ed25a2 text-muted">类型:</span>
|
||
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>{$arrVideo.v_category}</a>
|
||
</p>
|
||
<p class="d994f6 data">
|
||
<span class="d8c8c2 text-muted">地区:</span>
|
||
{volist name='$arrVideo.v_area' id='vo' key='index'}
|
||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||
|
||
{/volist}
|
||
</p>
|
||
<p class="e027e7 data"><span class="ca5df1 text-muted">更新:</span>{$arrVideo.v_publish_date}
|
||
</p>
|
||
|
||
<div class="ca86f6 detail-info-btn">
|
||
<li>
|
||
<a class="c82c25 btn btn-warm"
|
||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'>
|
||
<i class="b6a199 fa fa-play"></i>
|
||
立即播放
|
||
</a>
|
||
</li>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="b949ce container">
|
||
<div class="d4cf89 row">
|
||
<div class="f608c5 col-xs-1 col-md-wide-75">
|
||
|
||
<div class="cfd65a lvshicms-panel lvshicms-panel-bg clearfix">
|
||
<div class="b3a7e3 lvshicms-panel-box clearfix">
|
||
<div class="e8c33d lvshicms-panel_hd">
|
||
<div class="f238a4 lvshicms-panel__head bottom-line active clearfix">
|
||
<?php $keyLineGroup = 0;?>
|
||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||
<?php $keyLineGroup ++ ;?>
|
||
<h3 class='d82c55 title play-group-head {eq name="$keyLineGroup" value="1"}active {/eq}'
|
||
id="line_head_{$strPlayGroupName}" onclick="checkLine('{$strPlayGroupName}')" >{$strPlayGroupName} </h3>
|
||
{/foreach}
|
||
<span class="ace011 more text-muted"></span>
|
||
</div>
|
||
</div>
|
||
<div class="af83ff lvshicms-panel_bd clearfix">
|
||
<?php $keyLineGroup = 0;?>
|
||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||
<?php $keyLineGroup ++ ;?>
|
||
<ul class='ec7fc4 lvshicms-content__list sort-list clearfix play-group-list {eq name="$keyLineGroup" value="1"}active {/eq}' id="playlist_{$strPlayGroupName}">
|
||
<?php $keyLine = 0;?>
|
||
{volist name='$arrPlayUrlType' id='arrPlayUrl' }
|
||
<?php $keyLine ++ ;?>
|
||
<li class="fe7195 col-lg-6 col-md-5 col-sm-4 col-xs-3 {if $keyLine == $Request.route.intPlayIndex}active{/if}">
|
||
<a class="bd8e2d btn btn-default"
|
||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$keyLine" /}'>{$arrPlayUrl.name}
|
||
</a>
|
||
</li>
|
||
{/volist}
|
||
</ul>
|
||
{/foreach}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
{if !empty($arrVideo.v_seo_words)}
|
||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||
<div class="de59fa lvshicms-panel-box clearfix">
|
||
<div class="c42a28 lvshicms-panel_hd">
|
||
<div class="bb7fba lvshicms-panel__head clearfix">
|
||
<h3 class="f3d3f6 title">相似推荐</h3>
|
||
</div>
|
||
</div>
|
||
<div class="f42eb6 lvshicms-panel_bd">
|
||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||
<a
|
||
href='javascript:void(0)'>{$SeoWords}</a>
|
||
{/volist}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{/if}
|
||
|
||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||
<div class="de59fa lvshicms-panel-box clearfix">
|
||
<div class="c42a28 lvshicms-panel_hd">
|
||
<div class="bb7fba lvshicms-panel__head clearfix">
|
||
<h3 class="f3d3f6 title">剧情介绍</h3>
|
||
</div>
|
||
</div>
|
||
<div class="f42eb6 lvshicms-panel_bd">
|
||
<ul class="fee9ad lvshicms-vod-content col-pd clearfix">
|
||
<li class="ba9e50 col-pd">
|
||
<div class="d154e9 shrink-box shrinked">
|
||
<div class="acf872 shrink-text">
|
||
{$arrVideo.v_description|raw}
|
||
</div>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="cf2f0c lvshicms-panel lvshicms-panel-bg clearfix">
|
||
<div class="c47e1e lvshicms-panel-box clearfix">
|
||
<div class="e83124 lvshicms-panel_hd">
|
||
<div class="afb3ca lvshicms-panel__head bottom-line active clearfix">
|
||
<h3 class="d3b7c4 title">同类型</h3>
|
||
</div>
|
||
</div>
|
||
<div class="d5b99f lvshicms-panel_bd">
|
||
<ul class="bc7e71 lvshicms-vodlist__bd clearfix cs-list-r">
|
||
{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="3600"}
|
||
|
||
{include file="public/video-list-shu" start="0" col-lg="4"/}
|
||
{/video:list}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="d6bc14 lvshicms-panel lvshicms-panel-bg clearfix">
|
||
<div class="e81862 lvshicms-panel-box clearfix">
|
||
<div class="fcdb67 lvshicms-panel_hd">
|
||
<div class="b6114e lvshicms-panel__head bottom-line active clearfix">
|
||
<h3 class="ae5ab2 title">猜你喜欢</h3>
|
||
<span class="fdf3d7 text-muted more pull-right"><a rel="nofollow" href="/case/tv.html">更多 <i
|
||
class="f36af8 fa fa-angle-right"></i></a></span>
|
||
</div>
|
||
</div>
|
||
<div class="b29ef1 lvshicms-panel_bd">
|
||
<ul class="d95dd8 lvshicms-vodlist__bd clearfix cs-list-r">
|
||
{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="3600"}
|
||
|
||
{include file="public/video-list-shu" start="0" col-lg="4"/}
|
||
{/video:list}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="e1d6ee hidden-xs hidden-sm col-md-wide-25">
|
||
<div class="cad2e9 lvshicms-panel lvshicms-panel-bg clearfix">
|
||
<div class="c161d4 lvshicms-panel-box clearfix">
|
||
<div class="b068f7 lvshicms-panel_hd">
|
||
<div class="cb5cbd lvshicms-panel__head bottom-line active clearfix">
|
||
<h3 class="b12e07 title">热播{$arrVideo.v_parent_category}</h3>
|
||
</div>
|
||
</div>
|
||
<div class="cf4a36 lvshicms-panel_bd clearfix">
|
||
<ul class="f9a6ab lvshicms-vodlist__text col-pd clearfix">
|
||
{video:ranklist count="18"
|
||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||
sort_type="weekly"
|
||
d_key="key" d_val="Video" cache_life="3600"}
|
||
{include file="public/video-list-phb" start="25"/}
|
||
{/video:ranklist}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</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']}`,
|
||
'v_year': `{$arrVideo['v_year']}`,
|
||
|
||
};
|
||
</script>
|
||
|
||
{/block}
|
||
{block name="customize"} {/block} |