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

@@ -62,7 +62,7 @@
<div class="stui-header__search"> <div class="stui-header__search">
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}"> <form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
<input type="text" name="keyword" class="mac_wd form-control mac_input" value="" <input type="text" name="keyword" class="mac_wd form-control mac_input" value=""
placeholder="请输入关键词..." autocomplete="off"> placeholder="搜索电影、电视剧或演员名称..." autocomplete="off">
<button class="submit" id="searchbutton" type="submit"> <button class="submit" id="searchbutton" type="submit">
<i class="icon iconfont icon-search"></i> <i class="icon iconfont icon-search"></i>
</button> </button>
@@ -71,7 +71,6 @@
</div> </div>
<ul class="stui-header__menu type-slide"> <ul class="stui-header__menu type-slide">
<!-- 首页 -->
{if $DomainModel->info_id > 0} {if $DomainModel->info_id > 0}
<li class="{if $Request.route.strParentCategory == ''}active{/if}"> <li class="{if $Request.route.strParentCategory == ''}active{/if}">
<a href="/">首页</a> <a href="/">首页</a>
@@ -85,7 +84,6 @@
</li> </li>
{/if} {/if}
<!-- 动态分类导航 -->
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class="{if $val.v_category_en == $Request.route.strParentCategory}active{/if}"> <li class="{if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
<a href='{site:vciurl prent_category="$val.v_category_en" /}'> <a href='{site:vciurl prent_category="$val.v_category_en" /}'>
@@ -95,7 +93,7 @@
{/video:categorytype} {/video:categorytype}
<li> <li>
<a href="{$strRankUrlTemp}">排行榜</a> <a href="{$strRankUrlTemp}">排行榜</a>
</li> </li>
</ul> </ul>
@@ -127,11 +125,10 @@
{/block} {/block}
{// 全局统计 }
<!-- 全局统计 -->
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
<!-- 站点统计 --> {// 站点统计 }
{$DomainModel->d_statis|raw} {$DomainModel->d_statis|raw}

View File

@@ -37,8 +37,7 @@
"name": "{$DomainModel->d_name}热门推荐预告片", "name": "{$DomainModel->d_name}热门推荐预告片",
"description": "观看{$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", "thumbnailUrl": "https://video1.com/img/video/2024/12/18/17/ai-qing-sheng-huo-di-er-ji.webp",
"uploadDate": "2025-05-05", "uploadDate": "{:date('y-m-d')}",
"duration": "m3u8",
"publisher": { "publisher": {
"@type": "Organization", "@type": "Organization",
"name": "{$DomainModel->d_name}" "name": "{$DomainModel->d_name}"
@@ -61,7 +60,7 @@
"item": { "item": {
"@type": "TVSeries", "@type": "TVSeries",
"name": "{$Video.v_name}", "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}", "description": "{$Video.v_description}",
"actor": [ "actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor } {foreach $Video.v_actor as $strActorKey=>$strActor }
@@ -74,13 +73,37 @@
"image": "{$Video.v_pic}", "image": "{$Video.v_pic}",
"aggregateRating": { "aggregateRating": {
"@type": "AggregateRating", "@type": "AggregateRating",
"ratingValue": "7.5", "ratingValue": "{$Video.v_score}",
"reviewCount": "1200" }
}
},
{/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} {/video:list}
] ]
} }
} }
@@ -111,7 +134,7 @@
<div class="stui-pannel_hd"> <div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix"> <div class="stui-pannel__head active bottom-line clearfix">
<a class="more text-muted pull-right" <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> class="icon iconfont icon-more"></i></a>
<h2 class="title"> <h2 class="title">
<img src="/template/videodadi/icon/icon_12.png"> <img src="/template/videodadi/icon/icon_12.png">
@@ -171,7 +194,7 @@
</div> </div>
<div class="stui-pannel_bd clearfix"> <div class="stui-pannel_bd clearfix">
<ul class="stui-vodlist__text active col-pd clearfix"> <ul class="stui-vodlist__text active col-pd clearfix">
{video:ranklist count="10" {video:ranklist count="2"
sort_type="$key" sort_type="$key"
d_key="key" d_val="Video" cache_life="86400"} d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" /} {include file="public/video-list-phb" /}

View File

@@ -6,7 +6,7 @@
<div class="stui-pannel_hd"> <div class="stui-pannel_hd">
<div class="stui-pannel__head active bottom-line clearfix"> <div class="stui-pannel__head active bottom-line clearfix">
<a class="more text-muted pull-right" <a class="more text-muted pull-right"
href='{site:vclurl parent_category="$val.v_category_en" category="all" area="all" lang="all" year="all" order="all" page="1"/}'>更多<i href='{site:vclurl parent_category="$val.v_category_en" category="all" area="all" lang="all" year="all" order="all" page="1"/}'>更多{$val.v_category}<i
class="icon iconfont icon-more"></i></a> class="icon iconfont icon-more"></i></a>
<h3 class="title"> <h3 class="title">
<img src="/template/videodadi/icon/icon_{$val.v_category_en}.png"> <img src="/template/videodadi/icon/icon_{$val.v_category_en}.png">