gpttemp
This commit is contained in:
181
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_C.html
Normal file
181
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_C.html
Normal file
@@ -0,0 +1,181 @@
|
||||
<nav class="{$TpStyle.dom_prefix}-bc {$TpStyle.dom_prefix}-bc-c {$TpStyle.dom_prefix}-v{$intVariant} {$pageCfg.breadcrumb.class|default=''}">
|
||||
|
||||
|
||||
|
||||
{// ================= Variant 0:纯文本 span ================= }
|
||||
{if $intVariant == 0}
|
||||
<span class="{$TpStyle.dom_prefix}-bc-text">
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{$node.title}{if $i < count($arrBreadcrumb)} > {/if}
|
||||
{/volist}
|
||||
</span>
|
||||
|
||||
{// ================= Variant 1:文本 + 链接混合 ================= }
|
||||
{elseif $intVariant == 1}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-text">
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{if $i < count($arrBreadcrumb)} / {/if}
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 2:small ================= }
|
||||
{elseif $intVariant == 2}
|
||||
<small class="{$TpStyle.dom_prefix}-bc-small">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</small>
|
||||
|
||||
{// ================= Variant 3:SEO 句子 ================= }
|
||||
{elseif $intVariant == 3}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-sentence">
|
||||
当前所在位置:
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{$node.title}{if $i < count($arrBreadcrumb)} → {/if}
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 4:time + 文本 ================= }
|
||||
{elseif $intVariant == 4}
|
||||
<time class="{$TpStyle.dom_prefix}-bc-time">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</time>
|
||||
|
||||
{// ================= Variant 5:strong 强调 ================= }
|
||||
{elseif $intVariant == 5}
|
||||
<strong class="{$TpStyle.dom_prefix}-bc-strong">
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{$node.title}{if $i < count($arrBreadcrumb)} / {/if}
|
||||
{/volist}
|
||||
</strong>
|
||||
|
||||
{// ================= Variant 6:em 斜体 ================= }
|
||||
{elseif $intVariant == 6}
|
||||
<em class="{$TpStyle.dom_prefix}-bc-em">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</em>
|
||||
|
||||
{// ================= Variant 7:address ================= }
|
||||
{elseif $intVariant == 7}
|
||||
<address class="{$TpStyle.dom_prefix}-bc-address">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</address>
|
||||
|
||||
{// ================= Variant 8:blockquote ================= }
|
||||
{elseif $intVariant == 8}
|
||||
<blockquote class="{$TpStyle.dom_prefix}-bc-quote">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</blockquote>
|
||||
|
||||
{// ================= Variant 9:正文段落 ================= }
|
||||
{elseif $intVariant == 9}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-paragraph">
|
||||
本页面内容来源于
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{$node.title}{if $i < count($arrBreadcrumb)} · {/if}
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 10:span + a 混合 ================= }
|
||||
{elseif $intVariant == 10}
|
||||
<span class="{$TpStyle.dom_prefix}-bc-mix">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<span>{$node.title}</span>
|
||||
{/if}
|
||||
{/volist}
|
||||
</span>
|
||||
|
||||
{// ================= Variant 11:SEO 前缀 ================= }
|
||||
{elseif $intVariant == 11}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-prefix">
|
||||
您当前浏览的是:
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 12:H6 ================= }
|
||||
{elseif $intVariant == 12}
|
||||
<h6 class="{$TpStyle.dom_prefix}-bc-h6">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</h6>
|
||||
|
||||
{// ================= Variant 13:code ================= }
|
||||
{elseif $intVariant == 13}
|
||||
<code class="{$TpStyle.dom_prefix}-bc-code">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</code>
|
||||
|
||||
{// ================= Variant 14:kbd ================= }
|
||||
{elseif $intVariant == 14}
|
||||
<kbd class="{$TpStyle.dom_prefix}-bc-kbd">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</kbd>
|
||||
|
||||
{// ================= Variant 15:SEO 长句 ================= }
|
||||
{elseif $intVariant == 15}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-long">
|
||||
本页面为
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{$node.title}{if $i < count($arrBreadcrumb)} 的 {/if}
|
||||
{/volist}
|
||||
相关内容展示。
|
||||
</p>
|
||||
|
||||
{// ================= Variant 16:mark ================= }
|
||||
{elseif $intVariant == 16}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-mark">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<mark>{$node.title}</mark>
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 17:inline text ================= }
|
||||
{elseif $intVariant == 17}
|
||||
<span class="{$TpStyle.dom_prefix}-bc-inline">
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{$node.title}{if $i < count($arrBreadcrumb)} , {/if}
|
||||
{/volist}
|
||||
</span>
|
||||
|
||||
{// ================= Variant 18:footer ================= }
|
||||
{elseif $intVariant == 18}
|
||||
<footer class="{$TpStyle.dom_prefix}-bc-footer">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</footer>
|
||||
|
||||
{// ================= Variant 19:默认 ================= }
|
||||
{else}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-default">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user