203 lines
8.2 KiB
HTML
203 lines
8.2 KiB
HTML
{extend name="base" /}
|
|
|
|
{block name="get-data"}
|
|
|
|
{video:ranklistexp page="1" limit="30"
|
|
v_parent_category_en="$Request.route.strParentCategory"
|
|
v_category_en="$Request.route.strCategory"
|
|
sort_type="$Request.route.strSortType"
|
|
d_key="key"
|
|
d_val="Video"
|
|
p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankList" /}
|
|
|
|
{site:grm page_code="h5_rank_list_type" diff="$Request.route.intPage" num="100" g_key="arrGrm" /}
|
|
{site:helper func="initVideoRankListTKD" /}
|
|
|
|
{/block}
|
|
|
|
{block name="title"}{site:replace code="VIDEO@GETVIDEORANKLIST@TITLE"}{/block}
|
|
{block name="keywords"}{site:replace code="VIDEO@GETVIDEORANKLIST@KEYWORDS"}{/block}
|
|
{block name="description"}{site:replace code="VIDEO@GETVIDEORANKLIST@DESCRIPTION"}{/block}
|
|
|
|
{block name="head"}
|
|
|
|
{// 社交媒体标签}
|
|
<meta property="og:title" content='{site:replace code="VIDEO@GETVIDEORANKLIST@TITLE"}' />
|
|
<meta property="og:description" content='{site:replace code="VIDEO@GETVIDEORANKLIST@DESCRIPTION"}' />
|
|
<meta property="og:url" content="https://{$DomainModel->d_domain}" />
|
|
<meta property="og:type" content="video.movie" />
|
|
|
|
|
|
<!-- 结构化数据 -->
|
|
<script type="application/ld+json">
|
|
[
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "CollectionPage",
|
|
"name": "{$DomainModel->d_name} - 最新排行榜推荐",
|
|
"url": "https://{$DomainModel->d_domain}",
|
|
"headline": '{site:replace code="VIDEO@GETVIDEORANKLIST@TITLE"}',
|
|
"description": '{site:replace code="VIDEO@GETVIDEORANKLIST@DESCRIPTION"}',
|
|
"potentialAction": {
|
|
"@type": "SearchAction",
|
|
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}",
|
|
"query-input": "required name=search_term_string"
|
|
}
|
|
"hasPart": [
|
|
{volist name="arrVideoRankList" id="Video" key="key"}
|
|
|
|
{if $key < 10 }
|
|
{
|
|
"@type": "VideoObject",
|
|
"name": "{$Video.v_name}",
|
|
"description": "{$Video.v_description}",
|
|
"thumbnailUrl": '{$Video.v_pic}',
|
|
"uploadDate": "{:date('Y-m-d')}",
|
|
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
|
},
|
|
{/if}
|
|
{/volist}
|
|
|
|
]
|
|
},
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "BreadcrumbList",
|
|
"itemListElement": [
|
|
{
|
|
"@type": "ListItem",
|
|
"position": 1,
|
|
"name": "首页",
|
|
"item": "https://{$DomainModel->d_domain}"
|
|
},
|
|
{
|
|
"@type": "ListItem",
|
|
"position": 2,
|
|
"name": "排行榜",
|
|
"item": "https://{$DomainModel->d_domain}{$strRankUrlTemp}"
|
|
},
|
|
{
|
|
"@type": "ListItem",
|
|
"position": 3,
|
|
"name": "{site:getval code="strVideoParentCategoryName" /}{site:getval code="strVideoCategoryName" /}{site:getval code="strOrderName" /}排行榜",
|
|
"item": "https://{$DomainModel->d_domain}{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}"
|
|
}
|
|
]
|
|
},
|
|
]
|
|
</script>
|
|
|
|
{/block}
|
|
|
|
{block name="head-css"}
|
|
{/block}
|
|
{block name="head-js"}
|
|
|
|
{/block}
|
|
|
|
{block name="main"}
|
|
|
|
<div class="container">
|
|
|
|
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
|
<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='{$strRankUrlTemp}' itemprop="item">
|
|
<span itemprop="name">排行榜</span>
|
|
</a>
|
|
<meta itemprop="position" content="2" />
|
|
</li>
|
|
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}'
|
|
itemprop="item">
|
|
<span itemprop="name">{site:getval code="strVideoParentCategoryName" /}{site:getval
|
|
code="strVideoCategoryName" /}{site:getval code="strOrderName" /}排行榜</span>
|
|
</a>
|
|
<meta itemprop="position" content="2" />
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
<h1 class="view-title">
|
|
{site:replace code="VIDEO@GETVIDEORANKLIST@H1"}
|
|
</h1>
|
|
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEORANKLIST@TEXT"}</h4>
|
|
|
|
<div class="row">
|
|
<div class="stui-pannel stui-pannel-bg clearfix">
|
|
<div class="stui-pannel-box">
|
|
<div class="stui-pannel_hd">
|
|
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
|
|
<li>
|
|
<a class="text-muted">按分类</a>
|
|
</li>
|
|
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
<li class="{if $Request.route.strParentCategory == $val.v_category_en}active{/if} ">
|
|
<a
|
|
href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'>
|
|
{$val.v_category}
|
|
</a>
|
|
</li>
|
|
{/video:categorytype}
|
|
</ul>
|
|
|
|
<ul class="stui-screen__list type-slide bottom-line-dot clearfix">
|
|
<li>
|
|
<a class="text-muted">按类型</a>
|
|
</li>
|
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
|
{if $val.v_category_en == $Request.route.strParentCategory}
|
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
|
<li class="{if $Request.route.strCategory == $arrChildrenCategory.v_category_en}active{/if}">
|
|
<a
|
|
href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" sort_type="$Request.route.strSortType" page="1"/}'>{$arrChildrenCategory.v_category}</a>
|
|
</li>
|
|
{/foreach}
|
|
{/if}
|
|
{/video:categorytype}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="stui-pannel stui-pannel-bg clearfix">
|
|
<div class="stui-pannel-box">
|
|
<div class="stui-pannel_hd">
|
|
<div class="stui-pannel__head active bottom-line clearfix">
|
|
<ul class="nav nav-head">
|
|
|
|
{video:ranksort d_key="key" d_val="val"}
|
|
<li class="{if $Request.route.strSortType == $key}active{/if}">
|
|
<a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$key" page="1"/}'
|
|
>
|
|
{$val}{site:getval code="strVideoParentCategoryName" /}
|
|
</a>
|
|
</li>
|
|
{/video:ranksort}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="stui-pannel_bd">
|
|
<ul class="stui-vodlist clearfix">
|
|
{foreach $arrVideoRankList as $key=>$Video}
|
|
{include file="public/video-list-shu" start="0" col-md="6"/}
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{/block}
|
|
{block name="customize"}
|
|
|
|
{/block} |