添加新模板
This commit is contained in:
46
code/app/home/view/videoGpt1/index/index.html
Normal file
46
code/app/home/view/videoGpt1/index/index.html
Normal file
@@ -0,0 +1,46 @@
|
||||
{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" /}
|
||||
|
||||
{site:grm page_code="h5_index" diff="0" num="100" 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"}
|
||||
<section class="banner">
|
||||
<h2>发现精彩影片</h2>
|
||||
<p>极简 H5 影视站模板,自适应 PC & Mobile</p>
|
||||
</section>
|
||||
|
||||
{// 模块按站群规则随机}
|
||||
{volist name="$TpStyle.module_order" id="item" key="k"}
|
||||
|
||||
{if $item == 'banner'}
|
||||
{include file="public/module-banner" /}
|
||||
{/if}
|
||||
|
||||
{if $item == 'recommend'}
|
||||
{include file="public/module-recommend" /}
|
||||
{/if}
|
||||
|
||||
{if $item == 'newest'}
|
||||
{include file="public/module-newest" /}
|
||||
{/if}
|
||||
|
||||
{if $item == 'ranking'}
|
||||
{include file="public/module-ranking" /}
|
||||
{/if}
|
||||
|
||||
{/volist}
|
||||
|
||||
{/block}
|
||||
|
||||
Reference in New Issue
Block a user