gpt
This commit is contained in:
@@ -728,6 +728,11 @@ d_key="key" d_val="Video" cache_life="86400"}
|
||||
|
||||
|
||||
|
||||
{video:imgalt video="$arrVideo" slot="detail_cover" item_type="poster" export_name="strAlt" /}
|
||||
<img src="{$arrVideo.v_pic|default=''}" alt="{$strAlt}">
|
||||
|
||||
{video:imgalt video="$Video" slot="list_poster" item_type="$listCfg.item_type" export_name="strAlt" /}
|
||||
<img src="{$Video.v_pic|default=''}" alt="{$strAlt}">
|
||||
|
||||
|
||||
|
||||
|
||||
346
doc/gpt1/url.md
Normal file
346
doc/gpt1/url.md
Normal file
@@ -0,0 +1,346 @@
|
||||
模板中如何使用(示例)
|
||||
详情页链接
|
||||
<a href="{$Url->detail($vod.slug, $vod.id)}">
|
||||
|
||||
播放页链接
|
||||
<a href="{$Url->play($vod.slug, $vod.id, 'default', 1)}">
|
||||
|
||||
分类列表
|
||||
<a href="{$Url->categoryList('dian-ying','dong-zuo-pian',1)}">
|
||||
|
||||
|
||||
|
||||
{site:seotkd code="title" /}
|
||||
{site:seotkd code="title" page="detail" /}
|
||||
|
||||
|
||||
{site:seotkd code="title" page="detail" /}
|
||||
<p>{site:vciurl parent_category="dianying" /}</p>
|
||||
<p>{site:vurl v_id="1" v_py="gg"/}</p>
|
||||
<p>{site:vpurl v_id="1" v_py="gg" play_type="default" play_index="1" /}</p>
|
||||
<p>{site:vclurl parent_category="dianying" category="all" area="all" lang="all" year="all" order="all" page="1"/}</p>
|
||||
<p>{site:vsurl key="哈哈" p="1"/}</p>
|
||||
|
||||
|
||||
{site:pinlun id="$arrVideo.v_id" export_name="arrPinlunData" /}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
搜索
|
||||
<form action="{$Url->searchEntry()}" method="get">
|
||||
|
||||
|
||||
tkd
|
||||
{php}
|
||||
use app\common\helper\SeoRenderer;
|
||||
$Seo = new SeoRenderer($TpStyle);
|
||||
{/php}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<title>{$Seo->title([
|
||||
'site_name' => $DomainModel->d_name,
|
||||
'site_keywords' => $DomainModel->d_keywords,
|
||||
'site_description' => $DomainModel->d_description,
|
||||
'video_name' => $vod_info['vod_name'] ?? '',
|
||||
'video_id' => $vod_info['vod_id'] ?? 0,
|
||||
'category' => $CategoryModel->c_name ?? '',
|
||||
'keyword' => input('keyword', ''),
|
||||
'page' => input('page', 1),
|
||||
])}</title>
|
||||
|
||||
<meta name="keywords" content="{$Seo->keywords([...同上...])}" />
|
||||
<meta name="description" content="{$Seo->description([...同上...])}" />
|
||||
|
||||
{site:seotkd code="title" /}
|
||||
Reference in New Issue
Block a user