This commit is contained in:
make
2025-05-05 13:09:19 +08:00
parent cc61365c5d
commit 925000f736
9 changed files with 104 additions and 183 deletions

View File

@@ -17,21 +17,74 @@
<!-- 结构化数据 -->
<script type="application/ld+json">
[
{
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
"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": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"headline": '{site:replace code="VIDEO@INDEX@INDEX@TITLE"}',
"description": '{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}',
"datePublished": "{:date('Y-m-d')}"
"potentialAction": {
"@type": "SearchAction",
"target": 'https://{$DomainModel->d_domain}',
"query-input": "required name=search_term_string"
}
}
"@type": "VideoObject",
"name": "{$DomainModel->d_name}热门推荐预告片",
"description": "观看{$DomainModel->d_name}最新电影和电视剧的精彩预告片!",
"thumbnailUrl": "https://video1.com/img/video/2024/12/18/17/ai-qing-sheng-huo-di-er-ji.webp",
"uploadDate": "2025-05-05",
"duration": "m3u8",
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}"
}
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - 免费高清影视在线观看",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{$DomainModel->d_name}首页提供最新电影、电视剧、综艺、动漫和短剧的免费高清在线观看,热门推荐每日更新!",
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{video:list count="2" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400"}
{
"@type": "ListItem",
"position": {$key+=1},
"item": {
"@type": "TVSeries",
"name": "{$Video.v_name}",
"url": "https://video1.com/voddetail/ai-qing-sheng-huo-di-er-ji-115959",
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
{if $strActorKey < 5 }
{ "@type": "Person", "name": "{$strActor}" },
{/if}
{/foreach}
],
"numberOfEpisodes": {$Video.v_play_url|count},
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "7.5",
"reviewCount": "1200"
}
}
},
{/video:list}
]
}
}
]
</script>
@@ -44,7 +97,7 @@
<div class="container">
<h1 class="view-title">
<a href="/" >{$DomainModel->d_name}</a>-{$DomainModel->d_text_logo}
<a href="/">{$DomainModel->d_name}</a>-{$DomainModel->d_text_logo}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4>
@@ -57,24 +110,24 @@
<div class="col-lg-wide-75 col-xs-1 padding-0">
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<a style="color: rgb(255, 0, 0);" class="more text-muted pull-right"
href='{site:vclurl class="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>更多<i
<a class="more text-muted pull-right"
href='{site:vclurl parent_category="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>更多<i
class="icon iconfont icon-more"></i></a>
<h3 class="title">
<h2 class="title">
<img src="/template/videodadi/icon/icon_12.png">
<a
href='{site:vclurl class="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>火爆推荐</a>
</h3>
href='{site:vclurl parent_category="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>火爆推荐</a>
</h2>
</div>
</div>
<ul class="stui-vodlist clearfix">
{video:list count="12" sort_type="tuijian" d_key="d_key" d_val="Video" cache_life="86400"}
{video:list count="2" sort_type="tuijian" d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" /}
{/video:list}
</ul>
<ul class="stui-vodlist__text col-pd clearfix hidden-xs">
{video:list count="12" sort_type="tuijian" d_key="d_key" d_val="Video" cache_life="86400"}
{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}
</ul>
@@ -90,9 +143,9 @@
</div>
</div>
<ul class="stui-vodlist__text active col-pd clearfix">
{video:list count="18"
{video:list count="2"
sort_type="piaofang"
d_key="key" d_val="Video" cache_life="86400"}
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb2" /}
{/video:list}
</ul>
@@ -118,7 +171,7 @@
</div>
<div class="stui-pannel_bd clearfix">
<ul class="stui-vodlist__text active col-pd clearfix">
{video:ranklist count="10"
{video:ranklist count="10"
sort_type="$key"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}