gpt
This commit is contained in:
@@ -3,13 +3,12 @@
|
||||
$mod = $module;
|
||||
|
||||
// 2. 读取该模块的 layout 配置(冻结)
|
||||
$cfg = $TpStyle['list_layout'][$mod] ?? null;
|
||||
$listCfg = $TpStyle['list_layout'][$mod] ?? null;
|
||||
$cfg = $TpStyle['template_cfg']['list_layout'][$mod] ?? null;
|
||||
$listCfg = $TpStyle['template_cfg']['list_layout'][$mod] ?? null;
|
||||
if (!$cfg) return;
|
||||
|
||||
// 3. 绑定数据变量(只在这里做一次映射)
|
||||
|
||||
$title = $cfg['title_text'] ?? null;
|
||||
$title = $Slot['title_text'] ?? null;
|
||||
?>
|
||||
<section class="mod-{$mod}">
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
{php}
|
||||
// 统一从 cfg 下发(冻结)
|
||||
$variant = isset($cfg['item_variant']) ? intval($cfg['item_variant']) : 0;
|
||||
// 统一从 listCfg 下发(冻结)
|
||||
$variant = isset($listCfg['item_variant']) ? intval($listCfg['item_variant']) : 0;
|
||||
{/php}
|
||||
|
||||
{video:imgalt video="$vo" slot="list_poster" item_type="$listCfg.item_type" export_name="strAlt" /}
|
||||
|
||||
{switch $cfg.item}
|
||||
{switch $listCfg.item}
|
||||
|
||||
{case 01}
|
||||
{include file="module/list/item/item_01" /}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<article class="{$TpStyle.dom_prefix}-item poster v0">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img class="lazyload-img" src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -23,7 +23,7 @@
|
||||
<li class="{$TpStyle.dom_prefix}-item poster v1">
|
||||
<figure>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover">
|
||||
<figcaption>
|
||||
<strong >{$vo.v_name}</strong>
|
||||
<span>{$vo.v_year}</span>
|
||||
@@ -39,9 +39,9 @@
|
||||
<h3 ><a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" >{$vo.v_name}</a></h3>
|
||||
<p>{$vo.v_year}</p>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img class="lazyload-img" src="{$vo.v_pic}">
|
||||
</div>
|
||||
<a class="{$TpStyle.dom_prefix}-item-cover" href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $variant == 3}
|
||||
@@ -50,7 +50,7 @@
|
||||
<div class="{$TpStyle.dom_prefix}-inner">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-thumb">
|
||||
<img class="lazyload-img {$TpStyle.dom_prefix}-item-cover" src="{$vo.v_pic}">
|
||||
<img class="lazyload-img {$TpStyle.dom_prefix}-item-cover" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
</div>
|
||||
<h3>{$vo.v_name}</h3>
|
||||
</a>
|
||||
@@ -63,23 +63,24 @@
|
||||
<h3 class="{$TpStyle.dom_prefix}-title {$TpStyle.dom_prefix}-item-title">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">{$vo.v_name}</a>
|
||||
</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-media {$TpStyle.dom_prefix}-item-cover">
|
||||
<img class="lazyload-img" src="{$vo.v_pic}">
|
||||
</div>
|
||||
<a class="{$TpStyle.dom_prefix}-media {$TpStyle.dom_prefix}-item-cover" href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}">
|
||||
</a>
|
||||
</section>
|
||||
|
||||
{elseif $variant == 5}
|
||||
{// Variant 5:span + div 混合 }
|
||||
<div class="{$TpStyle.dom_prefix}-entry poster v5">
|
||||
<span class="{$TpStyle.dom_prefix}-media ">
|
||||
<img src="/static/img/load.png"
|
||||
data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}"
|
||||
alt="{$vo.v_name ?? ''} - {$vo.v_parent_category ?? ''}{$vo.v_category ?? ''}免费高清电影在线观看" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</span>
|
||||
<div class="{$TpStyle.dom_prefix} meta">
|
||||
<strong>{$vo.v_name}</strong>
|
||||
<em>{$vo.v_year}</em>
|
||||
</div>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<span class="{$TpStyle.dom_prefix}-media ">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}"
|
||||
alt="{$vo.v_name ?? ''} - {$vo.v_parent_category ?? ''}{$vo.v_category ?? ''}免费高清电影在线观看" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</span>
|
||||
<div class="{$TpStyle.dom_prefix} meta">
|
||||
<strong>{$vo.v_name}</strong>
|
||||
<em>{$vo.v_year}</em>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $variant == 6}
|
||||
@@ -89,7 +90,7 @@
|
||||
<h3 >{$vo.v_name}</h3>
|
||||
</header>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</a>
|
||||
</article>
|
||||
|
||||
@@ -97,12 +98,12 @@
|
||||
{// Variant 7:反向嵌套 }
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v7">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-info {$TpStyle.dom_prefix}-item-title">
|
||||
<h3 >{$vo.v_name}</h3>
|
||||
<p>{$vo.v_year}</p>
|
||||
</div>
|
||||
<figure>
|
||||
<img src="{$vo.v_pic}">
|
||||
<figure class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img">
|
||||
</figure>
|
||||
</a>
|
||||
</div>
|
||||
@@ -111,31 +112,31 @@
|
||||
{// Variant 8:极简 }
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v8">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" >
|
||||
<img src="{$vo.v_pic}">
|
||||
<span class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</span>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover">
|
||||
<span>{$vo.v_name}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $variant == 9}
|
||||
{// Variant 9:多层包裹 }
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v9">
|
||||
<div class="{$TpStyle.dom_prefix}-wrap">
|
||||
<div class="{$TpStyle.dom_prefix}-cover">
|
||||
<img src="{$vo.v_pic}">
|
||||
<a class="{$TpStyle.dom_prefix}-wrap" href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-cover {$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img">
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-text">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
<h3>{$vo.v_name}</h3>
|
||||
<small>{$vo.v_year}</small>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $variant == 10}
|
||||
{// Variant 10:aside 结构 }
|
||||
<aside class="{$TpStyle.dom_prefix}-item poster v10">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover">
|
||||
<h3>{$vo.v_name}</h3>
|
||||
</a>
|
||||
</aside>
|
||||
|
||||
@@ -143,19 +144,19 @@
|
||||
{// Variant 11:dl / dt / dd }
|
||||
<dl class="{$TpStyle.dom_prefix}-item poster v11">
|
||||
<dt>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" >
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover">
|
||||
</a>
|
||||
</dt>
|
||||
<dd class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</dd>
|
||||
<dd >{$vo.v_name}</dd>
|
||||
</dl>
|
||||
|
||||
{elseif $variant == 12}
|
||||
{// Variant 12:section + header }
|
||||
<section class="{$TpStyle.dom_prefix}-item poster v12">
|
||||
<header>{$vo.v_name}</header>
|
||||
<header class=" {$TpStyle.dom_prefix}-item-title">{$vo.v_name}</header>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img" alt="{$strAlt}">
|
||||
</a>
|
||||
</section>
|
||||
|
||||
@@ -163,7 +164,7 @@
|
||||
{// Variant 13:figure 无 figcaption }
|
||||
<figure class="{$TpStyle.dom_prefix}-item poster v13">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</a>
|
||||
</figure>
|
||||
|
||||
@@ -172,7 +173,7 @@
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v14">
|
||||
<strong class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</strong>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -181,7 +182,7 @@
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v15">
|
||||
<p>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" >
|
||||
<img src="{$vo.v_pic}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
{$vo.v_name}
|
||||
</a>
|
||||
</p>
|
||||
@@ -191,24 +192,24 @@
|
||||
{// Variant 16:div + data }
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v16" data-id="{$vo.v_id}">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<span class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</span>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
<span >{$vo.v_name}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $variant == 17}
|
||||
{// Variant 17:h4 }
|
||||
<div class="{$TpStyle.dom_prefix}-item poster v17">
|
||||
<h4 >{$vo.v_name}</h4>
|
||||
<h4 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h4>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{elseif $variant == 18}
|
||||
{// Variant 18:纯链接卡 }
|
||||
<a class="{$TpStyle.dom_prefix}-item poster v18" href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
<span>{$vo.v_name}</span>
|
||||
</a>
|
||||
|
||||
@@ -216,8 +217,8 @@
|
||||
{// Variant 19:极端自由结构 }
|
||||
<div class="{$TpStyle.dom_prefix}-box poster v19">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
{$vo.v_name}
|
||||
<img src="{$vo.v_pic}">
|
||||
<h2 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h2>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img">
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
{if $variant == 0}
|
||||
{// V0 标准(你给的母型) }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -32,10 +32,10 @@
|
||||
|
||||
{elseif $variant == 1}
|
||||
{// V1 figure/figcaption 语义化 }
|
||||
<li class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<li class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<figure class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img" alt="{$strAlt}" >
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -59,7 +59,17 @@
|
||||
|
||||
{elseif $variant == 2}
|
||||
{// V2 信息前置 + 封面后置(结构反转) }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">{$vo.v_name}</a>
|
||||
@@ -78,26 +88,17 @@
|
||||
<p class="{$TpStyle.dom_prefix}-item-extra">主演:{$vo.v_actor[0]}</p>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{elseif $variant == 3}
|
||||
{// V3 多层包裹:inner / media / text }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<div class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-inner">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-media">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -129,7 +130,7 @@
|
||||
|
||||
{elseif $variant == 4}
|
||||
{// V4 header + section 分块 }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<header class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">{$vo.v_name}</a>
|
||||
@@ -142,7 +143,7 @@
|
||||
|
||||
<section class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -160,10 +161,10 @@
|
||||
</article>
|
||||
{elseif $variant == 5}
|
||||
{// V5 a 包裹只包 cover,标题单独 a(双入口) }
|
||||
<div class="{$TpStyle.dom_prefix}-item {$TpStyle.dom_prefix}-item02-{$variant} item02 {$item_type|default='media'} {$cfg.class|default=''} ">
|
||||
<div class="{$TpStyle.dom_prefix}-item {$TpStyle.dom_prefix}-item02-{$variant} item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -192,10 +193,10 @@
|
||||
|
||||
{elseif $variant == 6}
|
||||
{// V6 nav 风格(技术人员很难一眼归类) }
|
||||
<nav class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<nav class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<span class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -222,10 +223,10 @@
|
||||
|
||||
{elseif $variant == 7}
|
||||
{// V7 aside + main 结构 }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item item02 {$item_type|default='media'} ">
|
||||
<aside class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -251,14 +252,14 @@
|
||||
|
||||
{elseif $variant == 8}
|
||||
{// V8 标题在外层 header,link 只包内容区 }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<header class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
</header>
|
||||
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -281,10 +282,10 @@
|
||||
|
||||
{elseif $variant == 9}
|
||||
{// V9 切分为两个链接块(cover/info 各自 a) }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -310,10 +311,10 @@
|
||||
|
||||
{elseif $variant == 10}
|
||||
{// V10 dl/dt/dd 语义结构(很“独立站”) }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -337,7 +338,7 @@
|
||||
|
||||
{elseif $variant == 11}
|
||||
{// V11 section + article 嵌套(深度变化) }
|
||||
<section class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<section class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<article>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
@@ -349,7 +350,7 @@
|
||||
</div>
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -369,11 +370,11 @@
|
||||
|
||||
{elseif $variant == 12}
|
||||
{// V12 picture 包裹 + strong/em }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<picture>
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
</picture>
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
@@ -398,10 +399,10 @@
|
||||
|
||||
{elseif $variant == 13}
|
||||
{// V13 ul/li 信息块(结构伪装成列表条目) }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -424,7 +425,7 @@
|
||||
|
||||
{elseif $variant == 14}
|
||||
{// V14 小标题 + 内容块分离(多层) }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
<p class="{$TpStyle.dom_prefix}-item-meta">
|
||||
@@ -436,7 +437,7 @@
|
||||
<div class="mid">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -456,7 +457,7 @@
|
||||
|
||||
{elseif $variant == 15}
|
||||
{// V15 强语义:header/aside/footer 三段 }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<header class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">{$vo.v_name}</a>
|
||||
@@ -465,7 +466,7 @@
|
||||
|
||||
<aside class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -488,10 +489,10 @@
|
||||
|
||||
{elseif $variant == 16}
|
||||
{// V16 同 class 挂在不同标签(指纹扰动强) }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<figure class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -515,11 +516,11 @@
|
||||
|
||||
{elseif $variant == 17}
|
||||
{// V17 双层 link(外层 div 伪装) }
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<div class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<div class="{$TpStyle.dom_prefix}-item-link">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -546,7 +547,7 @@
|
||||
|
||||
{elseif $variant == 18}
|
||||
{// V18 compact 文本强:标题/信息同级 }
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<article class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
@@ -566,7 +567,7 @@
|
||||
</div>
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
@@ -576,11 +577,11 @@
|
||||
|
||||
{else}
|
||||
{// V19 最终扰动:ol/li 语义(但仍然是单 item) }
|
||||
<ol class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} {$cfg.class|default=''}">
|
||||
<ol class="{$TpStyle.dom_prefix}-item item02 {$item_type|default='media'} ">
|
||||
<li>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item-link">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$strAlt}" class="lazyload-img">
|
||||
{notempty name="vo.v_score"}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_score}</span>
|
||||
{/notempty}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
{if $variant == 0}
|
||||
{// Variant 00:原始基准 }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a class="{$TpStyle.dom_prefix}-item-link"
|
||||
href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}"
|
||||
title="{$vo.v_name}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}" loading="lazy"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img" loading="lazy"/>
|
||||
{if isset($vo.v_level)}
|
||||
<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_level}</span>
|
||||
{/if}
|
||||
@@ -24,10 +24,10 @@
|
||||
|
||||
{elseif $variant == 1}
|
||||
{// Variant 01:article → section }
|
||||
<section class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<section class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img"/>
|
||||
{if isset($vo.v_level)}<em class="{$TpStyle.dom_prefix}-item-score">{$vo.v_level}</em>{/if}
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
@@ -38,9 +38,9 @@
|
||||
|
||||
{elseif $variant == 2}
|
||||
{// Variant 02:a 外包 }
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}" class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
{if isset($vo.v_level)}<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_level}</span>{/if}
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
@@ -50,10 +50,10 @@
|
||||
|
||||
{elseif $variant == 3}
|
||||
{// Variant 03:header / footer }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<header class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
</header>
|
||||
<footer class="{$TpStyle.dom_prefix}-item-info">
|
||||
<strong class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</strong>
|
||||
@@ -64,10 +64,10 @@
|
||||
|
||||
{elseif $variant == 4}
|
||||
{// Variant 04:figure / figcaption }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<figure class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img"/>
|
||||
{if isset($vo.v_level)}<figcaption class="{$TpStyle.dom_prefix}-item-score">{$vo.v_level}</figcaption>{/if}
|
||||
</figure>
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
@@ -78,10 +78,10 @@
|
||||
|
||||
{elseif $variant == 5}
|
||||
{// Variant 05:meta 改为 p }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" class="lazyload-img" alt="{$vo.v_name}"/>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
@@ -95,10 +95,10 @@
|
||||
|
||||
{elseif $variant == 6}
|
||||
{// Variant 06:strong title }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
<strong class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</strong>
|
||||
@@ -108,11 +108,11 @@
|
||||
|
||||
{elseif $variant == 7}
|
||||
{// Variant 07:div 层级加深 }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<div class="{$TpStyle.dom_prefix}-wrap">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-item-info">
|
||||
<h3 class="{$TpStyle.dom_prefix}-item-title">{$vo.v_name}</h3>
|
||||
@@ -123,19 +123,19 @@
|
||||
|
||||
{elseif $variant == 8}
|
||||
{// Variant 08:nav }
|
||||
<nav class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<nav class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img"/>
|
||||
<span>{$vo.v_name}</span>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
{elseif $variant == 9}
|
||||
{// Variant 09:small meta }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" class="lazyload-img" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
</div>
|
||||
<small>{$vo.v_name}</small>
|
||||
</a>
|
||||
@@ -143,10 +143,10 @@
|
||||
|
||||
{elseif $variant == 10}
|
||||
{// Variant 10:title 在 cover 内 }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item-cover">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img class="lazyload-img" src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" />
|
||||
<span class="title-inside">{$vo.v_name}</span>
|
||||
</div>
|
||||
</a>
|
||||
@@ -154,38 +154,38 @@
|
||||
|
||||
{elseif $variant == 11}
|
||||
{// Variant 11:去 info }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover"/>
|
||||
<h3 >{$vo.v_name}</h3>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{elseif $variant == 12}
|
||||
{// Variant 12:score 提前 }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
{if isset($vo.v_level)}<span class="{$TpStyle.dom_prefix}-item-score">{$vo.v_level}</span>{/if}
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name} " class="{$TpStyle.dom_prefix}-item-cover lazyload-img"/>
|
||||
<h3>{$vo.v_name}</h3>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{elseif $variant == 13}
|
||||
{// Variant 13:em title }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover"/>
|
||||
<em>{$vo.v_name}</em>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{elseif $variant == 14}
|
||||
{// Variant 14:多 span }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<span class="{$TpStyle.dom_prefix}-img">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<span class="{$TpStyle.dom_prefix}-img ">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img"/>
|
||||
</span>
|
||||
<span class="txt">{$vo.v_name}</span>
|
||||
</a>
|
||||
@@ -194,36 +194,36 @@
|
||||
{elseif $variant == 15}
|
||||
{// Variant 15:article 外包 }
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover"/>
|
||||
<span>{$vo.v_name}</span>
|
||||
</article>
|
||||
</a>
|
||||
|
||||
{elseif $variant == 16}
|
||||
{// Variant 16:section + h4 }
|
||||
<section class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<section class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover"/>
|
||||
<h4>{$vo.v_name}</h4>
|
||||
</a>
|
||||
</section>
|
||||
|
||||
{elseif $variant == 17}
|
||||
{// Variant 17:p title }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="lazyload-img {$TpStyle.dom_prefix}-item-cover"/>
|
||||
<p>{$vo.v_name}</p>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
{elseif $variant == 18}
|
||||
{// Variant 18:label }
|
||||
<article class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<article class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
<label>
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<img src="{$vo.v_pic}" alt="{$vo.v_name}"/>
|
||||
<img src="{$TpStyle.lazy_img}" data-src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}" alt="{$vo.v_name}" class="{$TpStyle.dom_prefix}-item-cover lazyload-img"/>
|
||||
{$vo.v_name}
|
||||
</a>
|
||||
</label>
|
||||
@@ -232,7 +232,7 @@
|
||||
{else}
|
||||
{// Variant 19:极简反转 }
|
||||
<a href="{site:vurl v_id='$vo.v_id' v_py='$vo.v_name_en' /}">
|
||||
<div class="{$TpStyle.dom_prefix}-item poster score">
|
||||
<div class="{$TpStyle.dom_prefix}-item poster {$TpStyle.dom_prefix}-item4-v{$variant} score">
|
||||
{$vo.v_name}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{switch $cfg.shell}
|
||||
{switch $listCfg.shell}
|
||||
|
||||
{case A}
|
||||
{include file="module/list/shell/shell_A" /}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="{$TpStyle.dom_prefix}-shellA {$cfg.class}">
|
||||
<section class="{$TpStyle.dom_prefix}-shellA {$listCfg.class}">
|
||||
{notempty name="__LIST__"}
|
||||
<div class="{$TpStyle.dom_prefix}-list"
|
||||
data-max-lg="{$listCfg.layout.max.lg}"
|
||||
@@ -6,11 +6,13 @@
|
||||
data-max-sm="{$listCfg.layout.max.sm}"
|
||||
data-max-h5="{$listCfg.layout.max.h5}"
|
||||
style="--cols-lg: {$listCfg.grid.cols_pc_lg};--cols-md: {$listCfg.grid.cols_pc_md};--cols-sm: {$listCfg.grid.cols_pc_sm};--cols-h5: {$listCfg.grid.cols_h5};">
|
||||
{volist name="__LIST__" id="vo" key="i"}
|
||||
{// 这里由上层决定具体使用哪一个 item 模板 }
|
||||
{assign name="item_type" value="$cfg.item_type|default='poster'"}
|
||||
{include file="module/list/item/_item_router" /}
|
||||
|
||||
{volist name="__LIST__" id="vo" key="i"}
|
||||
|
||||
{// 这里由上层决定具体使用哪一个 item 模板 }
|
||||
{assign name="item_type" value="$listCfg.item_type|default='poster'"}
|
||||
|
||||
{include file="module/list/item/_item_router" /}
|
||||
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="{$TpStyle.dom_prefix}-shellB {$cfg.class}" >
|
||||
<section class="{$TpStyle.dom_prefix}-shellB {$listCfg.class}" >
|
||||
{notempty name="__LIST__"}
|
||||
<div class="{$TpStyle.dom_prefix}-list"
|
||||
data-max-lg="{$listCfg.layout.max.lg}"
|
||||
@@ -8,7 +8,7 @@
|
||||
style="--cols-lg: {$listCfg.grid.cols_pc_lg};--cols-md: {$listCfg.grid.cols_pc_md};--cols-sm: {$listCfg.grid.cols_pc_sm};--cols-h5: {$listCfg.grid.cols_h5};">
|
||||
{volist name="__LIST__" id="vo" key="i"}
|
||||
{// Item 模板由上层决定,如 item_01 / item_04 }
|
||||
{assign name="item_type" value="$cfg.item_type|default='poster'"}
|
||||
{assign name="item_type" value="$listCfg.item_type|default='poster'"}
|
||||
{include file="module/list/item/_item_router" /}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="{$TpStyle.dom_prefix}-shellC {$cfg.class}">
|
||||
<section class="{$TpStyle.dom_prefix}-shellC {$listCfg.class}">
|
||||
{notempty name="__LIST__"}
|
||||
<ol class="{$TpStyle.dom_prefix}-list"
|
||||
data-max-lg="{$listCfg.layout.max.lg}"
|
||||
@@ -8,7 +8,7 @@
|
||||
style="--cols-lg: {$listCfg.grid.cols_pc_lg};--cols-md: {$listCfg.grid.cols_pc_md};--cols-sm: {$listCfg.grid.cols_pc_sm};--cols-h5: {$listCfg.grid.cols_h5};">
|
||||
{volist name="__LIST__" id="vo" key="i"}
|
||||
{// 榜单类推荐 item_03 / item_05 }
|
||||
{assign name="item_type" value="$cfg.item_type|default='poster'"}
|
||||
{assign name="item_type" value="$listCfg.item_type|default='poster'"}
|
||||
{include file="module/list/item/_item_router" /}
|
||||
|
||||
{/volist}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="{$TpStyle.dom_prefix}-shellD {$cfg.class}" >
|
||||
<section class="{$TpStyle.dom_prefix}-shellD {$listCfg.class}" >
|
||||
{notempty name="__GROUPS__"}
|
||||
{volist name="__GROUPS__" id="group"}
|
||||
<div class="{$TpStyle.dom_prefix}-shellD-group">
|
||||
@@ -20,7 +20,7 @@
|
||||
style="--cols-lg: {$listCfg.grid.cols_pc_lg};--cols-md: {$listCfg.grid.cols_pc_md};--cols-sm: {$listCfg.grid.cols_pc_sm};--cols-h5: {$listCfg.grid.cols_h5};">
|
||||
{volist name="group.list" id="vo" key="i"}
|
||||
{// Item 模板由上层决定 }
|
||||
{assign name="item_type" value="$cfg.item_type|default='poster'"}
|
||||
{assign name="item_type" value="$listCfg.item_type|default='poster'"}
|
||||
{include file="module/list/item/_item_router" /}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{switch $cfg.title}
|
||||
{switch $Slot.title_tpl.family}
|
||||
|
||||
{case A}
|
||||
{include file="module/list/title/title_A" /}
|
||||
@@ -20,6 +20,10 @@
|
||||
{include file="module/list/title/title_E" /}
|
||||
{/case}
|
||||
|
||||
{case F}
|
||||
{include file="module/list/title/title_F" /}
|
||||
{/case}
|
||||
|
||||
{default}
|
||||
{include file="module/list/title/title_A" /}
|
||||
{/default}
|
||||
|
||||
@@ -1,21 +1,365 @@
|
||||
<header class="{$TpStyle.dom_prefix}-titleF">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">
|
||||
{$title.primary}
|
||||
</h3>
|
||||
{//
|
||||
title_F_variants.html
|
||||
Family: F
|
||||
Variant index: 0..19 (与 item 的 0..19 一致)
|
||||
依赖变量:
|
||||
- $TpStyle.dom_prefix
|
||||
- $title.primary / $title.secondary
|
||||
- $strMoreUrl (可空)
|
||||
- $Slot.more_text (可空,默认“更多”)
|
||||
}
|
||||
|
||||
{if !empty($title.secondary)}
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-sub">
|
||||
{$title.secondary}
|
||||
{switch $Slot.title_tpl.variant}
|
||||
|
||||
{case value="0"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v00" data-tf="F00">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="1"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v01" data-tf="F01">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-row">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-stack">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<p class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</p>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="2"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v02" data-tf="F02">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-dot" aria-hidden="true"></span>
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-txt">{$title.primary}</span>
|
||||
</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-meta">
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
{if !empty($strMoreUrl)}
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >{$Slot.more_text|default='更多'}</a>
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{if !empty($moreUrl)}
|
||||
{case value="3"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v03" data-tf="F03">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-top">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" aria-label="{$Slot.more_text|default='更多'}">»</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{if !empty($title.secondary)}<div class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</div>{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="4"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v04" data-tf="F04">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-grid">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-cell">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<small class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</small>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-cell {$TpStyle.dom_prefix}-titleF-cell--more">
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="5"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v05" data-tf="F05">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-mark" aria-hidden="true"></span>
|
||||
{$title.primary}
|
||||
</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<nav class="{$TpStyle.dom_prefix}-titleF-nav" aria-label="More">
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
</nav>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="6"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v06" data-tf="F06">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-line" aria-hidden="true"></div>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-body">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-text">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<p class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</p>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-cta">
|
||||
<a href="{$strMoreUrl}" >{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="7"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v07" data-tf="F07">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-wrap">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-head">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-tail">
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}" >
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreTxt">{$Slot.more_text|default='更多'}</span>
|
||||
<i class="{$TpStyle.dom_prefix}-titleF-moreIco" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="8"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v08" data-tf="F08">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">
|
||||
{$title.primary}
|
||||
<em class="{$TpStyle.dom_prefix}-titleF-sfx" aria-hidden="true"></em>
|
||||
</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$moreUrl}" rel="nofollow">
|
||||
{$moreText|default='更多'}
|
||||
<a href="{$strMoreUrl}" >
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreTxt">{$Slot.more_text|default='更多'}</span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="9"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v09" data-tf="F09">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-bar">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-l">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<div class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</div>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-r">
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="10"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v10" data-tf="F10">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-head">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main"><span aria-hidden="true">#</span>{$title.primary}</h3>
|
||||
{if !empty($strMoreUrl)}
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{if !empty($title.secondary)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-foot">
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>
|
||||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="11"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v11" data-tf="F11">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-rail" aria-hidden="true"></div>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-content">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-actions">
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
{if !empty($strMoreUrl)}
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="12"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v12" data-tf="F12">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-right">
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
{if !empty($strMoreUrl)}
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >{$Slot.more_text|default='更多'}</a>
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="13"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v13" data-tf="F13">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-center">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-moreWrap">
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="14"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v14" data-tf="F14">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-inner">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-title">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreTxt">{$Slot.more_text|default='更多'}</span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-divider" aria-hidden="true"></div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="15"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v15" data-tf="F15">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-pre" aria-hidden="true"></span>
|
||||
{$title.primary}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-right">
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
{if !empty($strMoreUrl)}
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}"
|
||||
>{$Slot.more_text|default='更多'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="16"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v16" data-tf="F16">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-hero">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($strMoreUrl)}
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}" >
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreTxt">{$Slot.more_text|default='更多'}</span>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
{if !empty($title.secondary)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="17"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v17" data-tf="F17">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-row">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-text">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreTxt">{$Slot.more_text|default='更多'}</span>
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreArr" aria-hidden="true">→</span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="18"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v18" data-tf="F18">
|
||||
<!-- <div class="{$TpStyle.dom_prefix}-titleF-cap" aria-hidden="true"></div> -->
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-body">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<small class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</small>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{case value="19"}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v19" data-tf="F19">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-a">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-b">
|
||||
<a class="{$TpStyle.dom_prefix}-titleF-more" href="{$strMoreUrl}" >
|
||||
<span class="{$TpStyle.dom_prefix}-titleF-moreTxt">{$Slot.more_text|default='更多'}</span>
|
||||
<i class="{$TpStyle.dom_prefix}-titleF-ico" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/case}
|
||||
|
||||
{default /}
|
||||
<header class="{$TpStyle.dom_prefix}-titleF {$TpStyle.dom_prefix}-titleF-v00" data-tf="F00">
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-left">
|
||||
<h3 class="{$TpStyle.dom_prefix}-titleF-main">{$title.primary}</h3>
|
||||
{if !empty($title.secondary)}<span class="{$TpStyle.dom_prefix}-titleF-sub">{$title.secondary}</span>{/if}
|
||||
</div>
|
||||
{if !empty($strMoreUrl)}
|
||||
<div class="{$TpStyle.dom_prefix}-titleF-more">
|
||||
<a href="{$strMoreUrl}" >{$Slot.more_text|default='更多'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</header>
|
||||
{/default}
|
||||
|
||||
{/switch}
|
||||
Reference in New Issue
Block a user