video-template-2
This commit is contained in:
@@ -46,13 +46,13 @@ p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankL
|
||||
"hasPart": [
|
||||
{volist name="arrVideoRankList" id="Video" key="key"}
|
||||
|
||||
{if $key < 5 }
|
||||
{if $key < 10}
|
||||
{
|
||||
"@type": "VideoObject",
|
||||
"name": "{$Video.v_name}",
|
||||
"description": "{$Video.v_description}",
|
||||
"thumbnailUrl": '{$Video.v_pic}',
|
||||
"uploadDate": "{:date('y-m-d')}",
|
||||
"uploadDate": "{:date('Y-m-d')}",
|
||||
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
|
||||
},
|
||||
{/if}
|
||||
@@ -73,8 +73,14 @@ p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankL
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "排行榜首页",
|
||||
"name": "排行榜",
|
||||
"item": "https://{$DomainModel->d_domain}{$strRankUrlTemp}"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 3,
|
||||
"name": "{site:getval code="strVideoParentCategoryName" /}{site:getval code="strVideoCategoryName" /}{site:getval code="strOrderName" /}排行榜",
|
||||
"item": "https://{$DomainModel->d_domain}{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -154,7 +160,7 @@ p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankL
|
||||
<ul class="nav nav-head">
|
||||
{video:ranksort d_key="key" d_val="val"}
|
||||
<li class="{if $Request.route.strSortType == $key}active{/if}">
|
||||
<a href='{site:vrlurl class="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$key" page="1"/}'>
|
||||
<a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$key" page="1"/}'>
|
||||
{$val}排行榜
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user