This commit is contained in:
make
2025-05-05 16:26:35 +08:00
parent aa316f9a00
commit f827d86ee6
16 changed files with 299 additions and 267 deletions

View File

@@ -2,8 +2,9 @@
{block name="get-data"}
{video:list count="2" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400" export_name="arrVideoTuijian"}
{/video:list}
{video:listexp count="12" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400" export_name="arrVideoTuijian" /}
{video:listexp count="18" sort_type="piaofang" d_key="key" d_val="Video" cache_life="86400" export_name="arrVideoPiaofang" /}
{site:grm page_code="h5_index" diff="0" num="100" g_key="arrGrm" /}
{/block}
@@ -49,18 +50,19 @@
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - 免费高清影视在线观看",
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{$DomainModel->d_name}首页提供最新电影、电视剧、综艺、动漫和短剧的免费高清在线观看,热门推荐每日更新!",
"description": "{$DomainModel->d_name}首页提供好莱坞最新电影、电视剧、综艺、动漫和短剧的免费高清在线观看,热门推荐每日更新!",
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{foreach $arrVideoTuijian as $key=>$Video }
{volist name="arrVideoTuijian" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem{$Video.v_id}",
"position": {$key+=1},
"position": {$key},
"item": {
"@type": "TVSeries",
"name": "{$Video.v_name}",
@@ -81,12 +83,14 @@
}
}
},
{/foreach}
{/if}
{/volist}
{video:list count="2" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400"}
{volist name="arrVideoPiaofang" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem",
"position": {$key+=1},
"@type": "ListItem{$Video.v_id}",
"position": {$key},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
@@ -107,7 +111,8 @@
}
}
},
{/video:list}
{/if}
{/volist}
]
}
}
@@ -151,12 +156,12 @@
<ul class="stui-vodlist clearfix">
{foreach $arrVideoTuijian as $key=>$Video }
{include file="public/video-list-shu" /}
{include file="public/video-list-shu" start="0"/}
{/foreach}
</ul>
<ul class="stui-vodlist__text col-pd clearfix hidden-xs">
{video:list count="2" sort_type="tuijian" d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu-end-text" /}
{video:list count="12" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu-end-text" start="13" /}
{/video:list}
</ul>
</div>
@@ -171,11 +176,9 @@
</div>
</div>
<ul class="stui-vodlist__text active col-pd clearfix">
{video:list count="2"
sort_type="piaofang"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb2" /}
{/video:list}
{foreach $arrVideoPiaofang as $key=>$Video }
{include file="public/video-list-phb2" start="27"/}
{/foreach}
</ul>
</div>
</div>
@@ -199,10 +202,10 @@
</div>
<div class="stui-pannel_bd clearfix">
<ul class="stui-vodlist__text active col-pd clearfix">
{video:ranklist count="2"
{video:ranklist count="12"
sort_type="$key"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}
{include file="public/video-list-phb" start="50" /}
{/video:ranklist}
</ul>
</div>