video-template-3
This commit is contained in:
224
code/app/home/view/videoBoKu/video/getRankIndex.html
Normal file
224
code/app/home/view/videoBoKu/video/getRankIndex.html
Normal file
@@ -0,0 +1,224 @@
|
||||
{extend name="base" /}
|
||||
|
||||
{block name="get-data"}
|
||||
|
||||
{site:grm page_code="h5_rank_type" diff="0" num="100" g_key="arrGrm" /}
|
||||
|
||||
|
||||
{/block}
|
||||
|
||||
{block name="title"}{site:replace code="VIDEO@GETVIDEORANKINDEX@TITLE"}{/block}
|
||||
{block name="keywords"}{site:replace code="VIDEO@GETVIDEORANKINDEX@KEYWORDS"}{/block}
|
||||
{block name="description"}{site:replace code="VIDEO@GETVIDEORANKINDEX@DESCRIPTION"}{/block}
|
||||
|
||||
|
||||
{block name="head"}
|
||||
|
||||
{// 社交媒体标签}
|
||||
<meta property="og:title" content='{site:replace code="VIDEO@GETVIDEORANKINDEX@TITLE"}' />
|
||||
<meta property="og:description" content='{site:replace code="VIDEO@GETVIDEORANKINDEX@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@GETVIDEORANKINDEX@TITLE"}',
|
||||
"description": '{site:replace code="VIDEO@GETVIDEORANKINDEX@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": [
|
||||
{video:ranklist count="5"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
|
||||
{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}
|
||||
{/video:ranklist}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"@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}"
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
{/block}
|
||||
|
||||
|
||||
{block name="head-css"}
|
||||
|
||||
{/block}
|
||||
|
||||
{block name="head-js"}
|
||||
|
||||
{/block}
|
||||
|
||||
{block name='body-class'}rank-index{/block}
|
||||
|
||||
{block name="main"}
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h1 class="view-title">
|
||||
{site:replace code="VIDEO@GETVIDEORANKINDEX@H1"}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEORANKINDEX@TEXT"}</h4>
|
||||
|
||||
<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>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<div class="row">
|
||||
<div class="myui-panel myui-panel-bg2 clearfix">
|
||||
<div class="myui-panel-box clearfix">
|
||||
<div class="myui-panel_hd">
|
||||
<div class="myui-panel__head active bottom-line clearfix">
|
||||
<h2 class="title"> 排行榜 筛选</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="myui-panel_bd">
|
||||
<div class="slideDown-box">
|
||||
<ul class="myui-screen__list nav-slide clearfix" data-align="left">
|
||||
<li><a class="text-muted btn">类型</a></li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li>
|
||||
<a href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'
|
||||
class="btn {if $Request.route.strParentCategory == $val.v_category_en}btn-warm{/if}">
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- hidden-xs visible-inline-lg-->
|
||||
<div class="myui-panel myui-panel-bg clearfix ">
|
||||
<div class="myui-panel-box clearfix">
|
||||
<?php $intRankSortKey = 0;?>
|
||||
{video:ranksort d_key="strRankSortKey" d_val="strRankSortVal"}
|
||||
<?php $intRankSortKey ++ ;?>
|
||||
<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">{$strRankSortVal}排行榜</h2>
|
||||
<a class="more text-muted"
|
||||
href='{site:vrlurl parent_category="all" category="all" sort_type="$strRankSortKey" page="1"/}'>
|
||||
更多
|
||||
<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"
|
||||
sort_type="$key"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
<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"
|
||||
sort_type="$key"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{if $key >0}
|
||||
{include file="public/video-list-phb" start="($intRankSortKey * 10)"/}
|
||||
{/if}
|
||||
{/video:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/video:ranksort}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{/block}
|
||||
{block name="customize"}
|
||||
|
||||
{/block}
|
||||
Reference in New Issue
Block a user