Files
SEONexus/code/app/home/view/videoGpt1/video/getRankList.html

215 lines
9.4 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="3600" export_name="arrVideoRankList" /}
{site:grm page_code="h5_rank_list_type" diff="$Request.route.intPage" num="100" g_key="arrGrm" /}
{site:helper func="initVideoRankListTKD" /}
{php}
$strRankListKeywordsBase = trim((string)($DomainModel->d_keywords ?: $DomainModel->d_name));
$strRankListKeywordsOrder = trim((string)($strOrderName ?? '热门'));
$strRankListKeywords = $strRankListKeywordsBase !== ''
? $strRankListKeywordsBase . ',' . $strRankListKeywordsOrder . '榜单,视频排行'
: trim((string)$DomainModel->d_name) . ',' . $strRankListKeywordsOrder . '榜单,视频排行';
$strRankListDescCategory = trim((string)(\app\model\ConverterMovel::getVal('strVideoParentCategoryName') ?? '影视'));
if ($strRankListDescCategory === '') {
$strRankListDescCategory = '影视';
}
$strRankListDescOrder = $strRankListKeywordsOrder !== '' ? $strRankListKeywordsOrder : '热门';
$strRankListDescription = trim((string)$DomainModel->d_name) . '整理' . $strRankListDescOrder . $strRankListDescCategory . '榜单入口,方便继续查看热度内容、详情页与播放页。';
{/php}
{/block}
{block name="title"}{site:seotkd code="title" page="rank_list" /}{/block}
{block name="keywords"}{$strRankListKeywords}{/block}
{block name="description"}{$strRankListDescription}{/block}
{block name="head"}
<meta name="robots" content="index,follow">
<link rel="canonical" href='https://{$DomainModel->d_domain}{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}'>
{// 社交媒体标签}
<meta property="og:title" content='{site:seotkd code="title" page="rank_list" /}' />
<meta property="og:description" content='{$strRankListDescription}' />
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}' />
<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}{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}",
"headline": '{site:seotkd code="title" page="rank_list" /}',
"description": '{$strRankListDescription}',
"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": "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>
{video:seocopy scene="rank_list"
sort_type="$Request.route.strSortType"
parent_category="$Request.route.strParentCategory"
category="$Request.route.strCategory"
page="1"
total="0"
pages="1"
visible="$arrVideoRankList|count"
export_name="seoCopy" /}
{include file="module/seo_copy/collection" /}
<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 cs-list-r">
{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}