267 lines
11 KiB
HTML
267 lines
11 KiB
HTML
{extend name="base" /}
|
|
|
|
{block name="get-data"}
|
|
|
|
{video:listexp count="9" sort_type="tuijian" d_key="key" d_val="Video" cache_life="3600" export_name="arrVideoTuijian"
|
|
/}
|
|
{video:listexp count="9" sort_type="piaofang" d_key="key" d_val="Video" cache_life="3600"
|
|
export_name="arrVideoPiaofang" /}
|
|
|
|
{site:grm page_code="h5_index" diff="0" num="100" g_key="arrGrm" /}
|
|
|
|
{/block}
|
|
|
|
{block name="title"}{site:replace code="VIDEO@INDEX@INDEX@TITLE"}{/block}
|
|
{block name="keywords"}{site:replace code="VIDEO@INDEX@INDEX@KEYWORDS"}{/block}
|
|
{block name="description"}{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}{/block}
|
|
|
|
{block name="head"}
|
|
<!-- 社交媒体标签 -->
|
|
<meta property="og:title" content='{site:replace code="VIDEO@INDEX@INDEX@TITLE"}' />
|
|
<meta property="og:description" content='{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}' />
|
|
<meta property="og:url" content="https://{$DomainModel->d_domain}" />
|
|
<meta property="og:type" content="website" />
|
|
|
|
<!-- 结构化数据 -->
|
|
<script type="application/ld+json">
|
|
[
|
|
{
|
|
"@type": "WebSite",
|
|
"name": "{$DomainModel->d_name}",
|
|
"url": "https://{$DomainModel->d_domain}",
|
|
"alternateName": "{$DomainModel->d_domain}",
|
|
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
|
|
"potentialAction": {
|
|
"@type": "SearchAction",
|
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
|
|
"query-input": "required name=search_term_string"
|
|
}
|
|
|
|
},
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "VideoObject",
|
|
"name": "{$DomainModel->d_name}热门推荐预告片",
|
|
"description": "观看{$DomainModel->d_name}最新电影和电视剧的精彩预告片!",
|
|
{volist name="arrVideoTuijian" id="Video" key="key"}
|
|
{if $key == 1 }
|
|
"thumbnailUrl": 'https://{$DomainModel->d_domain}{$Video.v_pic}',
|
|
{/if}
|
|
{/volist}
|
|
"uploadDate": "{:date('Y-m-d')}",
|
|
"publisher": {
|
|
"@type": "Organization",
|
|
"name": "{$DomainModel->d_name}"
|
|
}
|
|
},
|
|
{
|
|
"@type": "CollectionPage",
|
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
|
"url": "https://{$DomainModel->d_domain}",
|
|
"alternateName": "{$DomainModel->d_domain}",
|
|
"description": "{$DomainModel->d_name}首页提供好莱坞最新电影、电视剧、综艺、动漫和短剧的免费高清在线观看,热门推荐每日更新!",
|
|
"mainEntity": {
|
|
"@type": "ItemList",
|
|
"itemListElement": [
|
|
|
|
{volist name="arrVideoTuijian" id="Video" key="key"}
|
|
{if $key < 5 }
|
|
{
|
|
"@type": "ListItem",
|
|
"position": {$key},
|
|
"item": {
|
|
"@type": "TVSeries",
|
|
"name": "{$Video.v_name}",
|
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
|
"description": "{$Video.v_description}",
|
|
"actor": [
|
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
|
{if $strActorKey < 5 }
|
|
{ "@type": "Person", "name": "{$strActor}" },
|
|
{/if}
|
|
{/foreach}
|
|
],
|
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
|
"image": "{$Video.v_pic}",
|
|
"aggregateRating": {
|
|
"@type": "AggregateRating",
|
|
"ratingValue": "{$Video.v_score}",
|
|
}
|
|
}
|
|
},
|
|
{/if}
|
|
{/volist}
|
|
|
|
{volist name="arrVideoPiaofang" id="Video" key="key"}
|
|
{if $key < 5 }
|
|
{
|
|
"@type": "ListItem{$Video.v_id}",
|
|
"position": {$key},
|
|
"item": {
|
|
"@type": "Movies",
|
|
"name": "{$Video.v_name}",
|
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
|
"description": "{$Video.v_description}",
|
|
"actor": [
|
|
{foreach $Video.v_actor as $strActorKey=>$strActor }
|
|
{if $strActorKey < 5 }
|
|
{ "@type": "Person", "name": "{$strActor}" },
|
|
{/if}
|
|
{/foreach}
|
|
],
|
|
"numberOfEpisodes": {$Video.v_play_url|count},
|
|
"image": "{$Video.v_pic}",
|
|
"aggregateRating": {
|
|
"@type": "AggregateRating",
|
|
"ratingValue": "{$Video.v_score}",
|
|
}
|
|
}
|
|
},
|
|
{/if}
|
|
{/volist}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
</script>
|
|
|
|
|
|
{/block}
|
|
|
|
{block name="head-js"}{/block}
|
|
|
|
|
|
{block name="main"}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<h1 class="view-title">
|
|
<a href="/">{$DomainModel->d_name}</a>-{$DomainModel->d_text_logo}
|
|
</h1>
|
|
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4>
|
|
|
|
<div class="myui-panel myui-panel-bg clearfix">
|
|
<div class="myui-panel-box clearfix">
|
|
<div class="myui-panel_hd">
|
|
<div class="myui-panel__head clearfix"><span
|
|
class="text-muted more pull-right"></span>
|
|
<h2 class="title">全球票房榜</h2>
|
|
</div>
|
|
</div>
|
|
<div class="myui-panel_bd clearfix">
|
|
<ul class="myui-vodlist clearfix">
|
|
{foreach $arrVideoPiaofang as $key=>$Video }
|
|
{include file="public/video-list-shu-pf" start="0" col-lg="9"/}
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="myui-panel myui-panel-bg clearfix">
|
|
<div class="myui-panel-box clearfix">
|
|
<div class="myui-panel_hd">
|
|
<div class="myui-panel__head clearfix"><span
|
|
class="text-muted more pull-right"></span>
|
|
<h2 class="title">影片推荐</h2>
|
|
</div>
|
|
</div>
|
|
<div class="myui-panel_bd clearfix">
|
|
<ul class="myui-vodlist clearfix">
|
|
{foreach $arrVideoTuijian as $key=>$Video }
|
|
{include file="public/video-list-shu" start="10" col-lg="9"/}
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
{include file="public/video-panel" /}
|
|
{/video:categorytype}
|
|
|
|
|
|
|
|
<div class="myui-panel myui-panel-bg hidden-xs clearfix visible-inline-lg">
|
|
<div class="myui-panel-box clearfix">
|
|
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
{if $val.v_category_en != 'zong-yi'}
|
|
|
|
<div class="col-lg-4 col-md-3 col-sm-2 col-xs-1 padding-0">
|
|
<div class="myui-panel_hd">
|
|
<div class="myui-panel__head active bottom-line clearfix">
|
|
<h2 class="title">{$val.v_category}总榜单</h2>
|
|
<a class="more text-muted"
|
|
href="{$strRankUrlTemp}">更多<i class="fa fa-angle-right"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="myui-panel_bd clearfix">
|
|
<ul class="myui-vodlist__media active col-pd clearfix">
|
|
{video:ranklist count="1"
|
|
v_parent_category_en="$val.v_category_en"
|
|
sort_type="total"
|
|
d_key="key" d_val="Video" cache_life="3600"}
|
|
<li>
|
|
<div class="thumb">
|
|
<a class="myui-vodlist__thumb img-xs-70"
|
|
style="background: url({$Video.v_pic});"
|
|
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
|
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
|
|
data-original="{$Video.v_pic}">
|
|
</a>
|
|
</div>
|
|
<div class="detail detail-side">
|
|
<h6 class="title">
|
|
<a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' >
|
|
<i class="fa fa-angle-right text-muted pull-right"></i>
|
|
{$Video.v_name}
|
|
</a>
|
|
</h6>
|
|
<p class="font-12"><span class="text-muted">类型:</span>{$Video.v_parent_category}</p>
|
|
<p class="font-12"><span class="text-muted">地区:</span>
|
|
{volist name='$Video.v_area' id='vo' key='index'}
|
|
{$vo}
|
|
{/volist}
|
|
</p>
|
|
<p class="font-12 margin-0"><span class="text-muted">主演:</span>
|
|
{volist name='$Video.v_actor' id='vo' key='index'}
|
|
{$vo}
|
|
|
|
{/volist}
|
|
</p>
|
|
</div>
|
|
</li>
|
|
{/video:ranklist}
|
|
</ul>
|
|
<ul class="myui-vodlist__text col-pd clearfix">
|
|
{video:ranklist count="10"
|
|
v_parent_category_en="$val.v_category_en"
|
|
sort_type="total"
|
|
d_key="key" d_val="Video" cache_life="3600"}
|
|
{if $key >0}
|
|
{include file="public/video-list-phb" start="80"/}
|
|
{/if}
|
|
{/video:ranklist}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
{/video:categorytype}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{/block}
|
|
|
|
{block name="customize"}
|
|
|
|
|
|
{/block} |