182 lines
8.7 KiB
HTML
182 lines
8.7 KiB
HTML
{extend name="base" /}
|
|
{block name="get-data"}
|
|
{video:listexp count="6" sort_type="tuijian" d_key="key" d_val="Video" cache_life="3600" export_name="arrVideoTuijian" /}
|
|
{video:listexp count="7" 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}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
|
{/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" style="padding-right:10px;padding-left:10px">
|
|
<div class="movie-tuijian-list">
|
|
{ad:list code="INDEX_TOP_GUANG_GAO" order="rand" limit="3" id="Ad"}
|
|
<a class="movei-tuijian-item" href="{site:vurl v_id='$Ad.gg_sort' v_py='$Ad.gg_tiao_zhuan_di_zhi'/}" >
|
|
<img src="/static/img/loading.webp" class="lazyload-img" data-src="{$Ad.gg_tu_pian}" alt="{$Ad.gg_wen_zi}">
|
|
<h3>{$Ad.gg_wen_zi}</h3>
|
|
</a>
|
|
{/ad:list}
|
|
</div>
|
|
<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="row">
|
|
<div class="stui-pannel stui-pannel-bg clearfix">
|
|
<div class="stui-pannel-box clearfix">
|
|
<div class="stui-pannel_bd clearfix">
|
|
<div class="col-lg-wide-75 col-xs-1 padding-0">
|
|
<div class="stui-pannel_hd">
|
|
<div class="stui-pannel__head active bottom-line clearfix">
|
|
<a class="more text-muted pull-right"
|
|
href='{site:vclurl parent_category="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>更多推荐<i
|
|
class="icon iconfont icon-more"></i></a>
|
|
<h2 class="title">
|
|
<img src="/static/img/loading.webp" class="lazyload-img" data-src="/template/videodadi/icon/icon_12.png">
|
|
<a
|
|
href='{site:vclurl parent_category="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>火爆推荐</a>
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
<ul class="stui-vodlist clearfix cs-list-r">
|
|
{foreach $arrVideoTuijian as $key=>$Video }
|
|
{include file="public/video-list-shu" start="0"/}
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
{// 右侧排行榜 }
|
|
<div class="col-lg-wide-25 hidden-md hidden-sm hidden-xs">
|
|
<div class="stui-pannel_hd">
|
|
<div class="stui-pannel__head active bottom-line clearfix">
|
|
<h3 class="title">
|
|
<img src="/static/img/loading.webp" class="lazyload-img" data-src="/template/videodadi/icon/icon_12.png">
|
|
<a href="/">好莱坞榜单</a>
|
|
</h3>
|
|
<p style="float:right">人民币(亿)</p>
|
|
</div>
|
|
</div>
|
|
<ul class="stui-vodlist__text active col-pd clearfix">
|
|
{foreach $arrVideoPiaofang as $key=>$Video }
|
|
{include file="public/video-list-phb2" start="27"/}
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
{include file="public/video-panel" /}
|
|
{/video:categorytype}
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
{block name="customize"}
|
|
{/block} |