98 lines
1.8 KiB
HTML
98 lines
1.8 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="6" sort_type="piaofang" d_key="key" d_val="Video" cache_life="3600"
|
|
export_name="arrVideoPiaofang" /}
|
|
|
|
|
|
{video:listexp
|
|
count="12"
|
|
sort_type="tuijian"
|
|
export_name="arrVideoRecommend"
|
|
/}
|
|
|
|
|
|
{video:listexp
|
|
count="12"
|
|
sort_type="zuixin"
|
|
export_name="arrVideoNewest"
|
|
/}
|
|
|
|
{video:listexp
|
|
count="12"
|
|
sort_type="zuire"
|
|
export_name="arrVideoTrending"
|
|
/}
|
|
|
|
|
|
{video:listexp
|
|
count="12"
|
|
sort_type="ranking"
|
|
export_name="arrVideoRanking"
|
|
/}
|
|
|
|
{site:grm page_code="h5_index" diff="0" num="80" 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="main"}
|
|
|
|
{// ================= 最近更新 ================= }
|
|
{include file="module/list/home_newest" /}
|
|
|
|
{// ================= 热门推荐 ================= }
|
|
{include file="module/list/home_hot" /}
|
|
|
|
{// ================= 排行榜 ================= }
|
|
{include file="module/list/home_rank" /}
|
|
|
|
<div class="{$TpStyle.dom_prefix}-page-wrap">
|
|
{foreach $TpStyle.home_modules as $key=>$mod }
|
|
|
|
{if $mod == 'banner'}
|
|
{include file="$TpTpl.banner" /}
|
|
{/if}
|
|
|
|
{if $mod == 'recommend'}
|
|
{include file="$TpTpl.recommend" /}
|
|
{/if}
|
|
|
|
{if $mod == 'trending'}
|
|
{include file="$TpTpl.trending" /}
|
|
{/if}
|
|
|
|
{if $mod == 'newest'}
|
|
{include file="$TpTpl.newest" /}
|
|
{/if}
|
|
|
|
{if $mod == 'ranking'}
|
|
{include file="$TpTpl.ranking" /}
|
|
{/if}
|
|
|
|
{if $mod == 'category'}
|
|
{include file="$TpTpl.category" /}
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
{include file="$TpTpl.list" /}
|
|
|
|
</div>
|
|
|
|
{/block} |