146 lines
5.3 KiB
HTML
146 lines
5.3 KiB
HTML
{extend name="base" /}
|
|
|
|
{block name="get-data"}
|
|
{video:pagerexp page="$Request.get.page" limit="12"
|
|
key="$Request.get.keyword"
|
|
d_key="d_key"
|
|
d_val="Video"
|
|
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
|
|
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
|
|
{/block}
|
|
|
|
|
|
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
|
|
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
|
|
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
|
|
|
|
|
{block name="head"}
|
|
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
|
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
|
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
|
|
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
|
|
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
|
|
|
|
{// 结构化数据}
|
|
<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"
|
|
}
|
|
|
|
},
|
|
{
|
|
"@type": "CollectionPage",
|
|
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
|
|
"url": "https://{$DomainModel->d_domain}",
|
|
"alternateName": "{$DomainModel->d_domain}",
|
|
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
|
|
"mainEntity": {
|
|
"@type": "ItemList",
|
|
"itemListElement": [
|
|
{volist name="resData.data" id="Video" key="key"}
|
|
{if $key < 5 }
|
|
{
|
|
"@type": "ListItem",
|
|
"position": {$key},
|
|
"item": {
|
|
"@type": "Movies",
|
|
"name": "{$Video.v_name}",
|
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id='$vo.v_id' v_py='$vo.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-css"}
|
|
|
|
{/block}
|
|
|
|
{block name="head-js"}
|
|
|
|
{/block}
|
|
|
|
{block name="main"}
|
|
|
|
<div class="container">
|
|
<div class=" layout-box top-weizhi hidden-xs">
|
|
<label>当前位置:</label>
|
|
<a href="/">{$DomainModel->d_name}</a><i>></i><a href="/sitemap.html">网站地图</a>
|
|
</div>
|
|
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
<div class=" layout-box">
|
|
<div class="box-title">
|
|
<!-- <span class="title-lb"></span> -->
|
|
<h2>
|
|
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
|
</h2>
|
|
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
|
|
<span class=" iconfont icon-weizhi"></span>
|
|
更多
|
|
<i>>
|
|
</i>
|
|
</a>
|
|
</div>
|
|
|
|
<div class=" sitemap">
|
|
<ul class=" clearfix">
|
|
<li class=" title"><span class=" text-color">类型</span></li>
|
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
|
<li>
|
|
<a target="_blank"
|
|
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
|
|
title="{$arrChildrenCategory.v_category}">
|
|
{$arrChildrenCategory.v_category}
|
|
</a>
|
|
</li>
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{/video:categorytype}
|
|
|
|
|
|
</div>
|
|
|
|
{/block}
|
|
{block name="customize"}
|
|
|
|
{/block} |