This commit is contained in:
make
2025-05-05 13:54:05 +08:00
parent 925000f736
commit bb10add769
3 changed files with 36 additions and 16 deletions

View File

@@ -37,8 +37,7 @@
"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",
"uploadDate": "{:date('y-m-d')}",
"publisher": {
"@type": "Organization",
"name": "{$DomainModel->d_name}"
@@ -61,7 +60,7 @@
"item": {
"@type": "TVSeries",
"name": "{$Video.v_name}",
"url": "https://video1.com/voddetail/ai-qing-sheng-huo-di-er-ji-115959",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
@@ -74,13 +73,37 @@
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "7.5",
"reviewCount": "1200"
"ratingValue": "{$Video.v_score}",
}
}
},
{/video:list}
{video:list count="2" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400"}
{
"@type": "ListItem",
"position": {$key+=1},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"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": "{$Video.v_score}",
}
}
},
{/video:list}
]
}
}
@@ -111,7 +134,7 @@
<div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix">
<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
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>
<h2 class="title">
<img src="/template/videodadi/icon/icon_12.png">
@@ -171,7 +194,7 @@
</div>
<div class="stui-pannel_bd clearfix">
<ul class="stui-vodlist__text active col-pd clearfix">
{video:ranklist count="10"
{video:ranklist count="2"
sort_type="$key"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /}