gpttemp
This commit is contained in:
261
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_A.html
Normal file
261
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_A.html
Normal file
@@ -0,0 +1,261 @@
|
||||
<nav class="{$TpStyle.dom_prefix}-bc {$TpStyle.dom_prefix}-bc-a {$pageCfg.breadcrumb.class|default=''} {$TpStyle.dom_prefix}-v{$intVariant}">
|
||||
|
||||
{// ================= Variant 0:OL ================= }
|
||||
{if $intVariant == 0}
|
||||
<ol class="{$TpStyle.dom_prefix}-bc-ol ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<li>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<span>{$node.title}</span>
|
||||
{/if}
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
|
||||
{// ================= Variant 1:UL ================= }
|
||||
{elseif $intVariant == 1}
|
||||
<ul class="{$TpStyle.dom_prefix}-bc-ul ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<li>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<strong>{$node.title}</strong>
|
||||
{/if}
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
{// ================= Variant 2:DIV Flow ================= }
|
||||
{elseif $intVariant == 2}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-flow ">
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<em>{$node.title}</em>
|
||||
{/if}
|
||||
{if $i < count($arrBreadcrumb)} > {/if}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 3:P ================= }
|
||||
{elseif $intVariant == 3}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-p ">
|
||||
{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 4:SPAN ================= }
|
||||
{elseif $intVariant == 4}
|
||||
<span class="{$TpStyle.dom_prefix}-bc-span ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{/volist}
|
||||
</span>
|
||||
|
||||
{// ================= Variant 5:NAV ================= }
|
||||
{elseif $intVariant == 5}
|
||||
<nav class="{$TpStyle.dom_prefix}-bc-nav ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<span>{$node.title}</span>
|
||||
{/if}
|
||||
{/volist}
|
||||
</nav>
|
||||
|
||||
{// ================= Variant 6:ADDRESS ================= }
|
||||
{elseif $intVariant == 6}
|
||||
<address class="{$TpStyle.dom_prefix}-bc-address ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{/volist}
|
||||
</address>
|
||||
|
||||
{// ================= Variant 7:SECTION ================= }
|
||||
{elseif $intVariant == 7}
|
||||
<section class="{$TpStyle.dom_prefix}-bc-section ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<strong>{$node.title}</strong>
|
||||
{/if}
|
||||
</div>
|
||||
{/volist}
|
||||
</section>
|
||||
|
||||
{// ================= Variant 8:ARTICLE ================= }
|
||||
{elseif $intVariant == 8}
|
||||
<article class="{$TpStyle.dom_prefix}-bc-article ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<header>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</header>
|
||||
{/volist}
|
||||
</article>
|
||||
|
||||
{// ================= Variant 9:DL ================= }
|
||||
{elseif $intVariant == 9}
|
||||
<dl class="{$TpStyle.dom_prefix}-bc-dl ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<dd>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</dd>
|
||||
{/volist}
|
||||
</dl>
|
||||
|
||||
{// ================= Variant 10:H6 ================= }
|
||||
{elseif $intVariant == 10}
|
||||
<h6 class="{$TpStyle.dom_prefix}-bc-h ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{/volist}
|
||||
</h6>
|
||||
|
||||
{// ================= Variant 11:STRONG ================= }
|
||||
{elseif $intVariant == 11}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-strong ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<strong>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</strong>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 12:EM ================= }
|
||||
{elseif $intVariant == 12}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-em ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<em>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</em>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 13:INLINE LIST ================= }
|
||||
{elseif $intVariant == 13}
|
||||
<ul class="{$TpStyle.dom_prefix}-bc-inline ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<li>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
{// ================= Variant 14:SMALL ================= }
|
||||
{elseif $intVariant == 14}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-small ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<small>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</small>
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 15:SEO TEXT ================= }
|
||||
{elseif $intVariant == 15}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-seo ">
|
||||
当前位置:
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 16:FIGURE ================= }
|
||||
{elseif $intVariant == 16}
|
||||
<figure class="{$TpStyle.dom_prefix}-bc-fig ">
|
||||
<figcaption>
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{/volist}
|
||||
</figcaption>
|
||||
</figure>
|
||||
|
||||
{// ================= Variant 17:MARK ================= }
|
||||
{elseif $intVariant == 17}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-mark ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<mark>{$node.title}</mark>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 18:TIME ================= }
|
||||
{elseif $intVariant == 18}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-time ">
|
||||
<time>路径:</time>
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 19:DEFAULT ================= }
|
||||
{else}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-default ">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span>{$node.title}</span>
|
||||
{/volist}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</nav>
|
||||
|
||||
167
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_B.html
Normal file
167
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_B.html
Normal file
@@ -0,0 +1,167 @@
|
||||
<nav class="{$TpStyle.dom_prefix}-bc {$TpStyle.dom_prefix}-bc-b {$TpStyle.dom_prefix}-v{$intVariant} {$pageCfg.breadcrumb.class|default=''}">
|
||||
|
||||
{// ================= Variant 0:Block UL ================= }
|
||||
{if $intVariant == 0}
|
||||
<ul class="{$TpStyle.dom_prefix}-bc-block">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<li>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<span>{$node.title}</span>
|
||||
{/if}
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
{// ================= Variant 1:DIV List ================= }
|
||||
{elseif $intVariant == 1}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-div">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<strong>{$node.title}</strong>
|
||||
{/if}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 2:SECTION ================= }
|
||||
{elseif $intVariant == 2}
|
||||
<section class="{$TpStyle.dom_prefix}-bc-section">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<section>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</section>
|
||||
{/volist}
|
||||
</section>
|
||||
|
||||
{// ================= Variant 3:ARTICLE ================= }
|
||||
{elseif $intVariant == 3}
|
||||
<article class="{$TpStyle.dom_prefix}-bc-article">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<article>
|
||||
<header>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</header>
|
||||
</article>
|
||||
{/volist}
|
||||
</article>
|
||||
|
||||
{// ================= Variant 4:DL Block ================= }
|
||||
{elseif $intVariant == 4}
|
||||
<dl class="{$TpStyle.dom_prefix}-bc-dl">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<dd>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</dd>
|
||||
{/volist}
|
||||
</dl>
|
||||
|
||||
{// ================= Variant 5:NAV Stack ================= }
|
||||
{elseif $intVariant == 5}
|
||||
<nav class="{$TpStyle.dom_prefix}-bc-stack">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<em>{$node.title}</em>
|
||||
{/if}
|
||||
</div>
|
||||
{/volist}
|
||||
</nav>
|
||||
|
||||
{// ================= Variant 6:P Block ================= }
|
||||
{elseif $intVariant == 6}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-pblock">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<p>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</p>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 7:H List ================= }
|
||||
{elseif $intVariant == 7}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-hlist">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<h6>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</h6>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 8:FIGURE ================= }
|
||||
{elseif $intVariant == 8}
|
||||
<figure class="{$TpStyle.dom_prefix}-bc-fig">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<figcaption>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</figcaption>
|
||||
{/volist}
|
||||
</figure>
|
||||
|
||||
{// ================= Variant 9:ASIDE ================= }
|
||||
{elseif $intVariant == 9}
|
||||
<aside class="{$TpStyle.dom_prefix}-bc-aside">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</div>
|
||||
{/volist}
|
||||
</aside>
|
||||
|
||||
{// ================= Variant 10–18:语义混合 ================= }
|
||||
{elseif $intVariant >= 10 && $intVariant <= 18}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-mix">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<strong>{$node.title}</strong>
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 19:DEFAULT ================= }
|
||||
{else}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-default">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span>{$node.title}</span>
|
||||
{/volist}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</nav>
|
||||
|
||||
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>
|
||||
|
||||
209
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_D.html
Normal file
209
code/app/home/view/videoGpt1/module/breadcrumb/breadcrumb_D.html
Normal file
@@ -0,0 +1,209 @@
|
||||
<nav class="{$TpStyle.dom_prefix}-bc {$TpStyle.dom_prefix}-bc-d {$TpStyle.dom_prefix}-v{$intVariant} {$pageCfg.breadcrumb.class|default=''}">
|
||||
|
||||
{// ================= Variant 0:Card UL ================= }
|
||||
{if $intVariant == 0}
|
||||
<ul class="{$TpStyle.dom_prefix}-bc-card">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<li>
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<span>{$node.title}</span>
|
||||
{/if}
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
|
||||
{// ================= Variant 1:Pill Links ================= }
|
||||
{elseif $intVariant == 1}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-pill">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}" class="pill">{$node.title}</a>
|
||||
{else /}
|
||||
<span class="pill active">{$node.title}</span>
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 2:Step Bar ================= }
|
||||
{elseif $intVariant == 2}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-step">
|
||||
{volist name="arrBreadcrumb" id="node" key="i"}
|
||||
<div class="step {if empty($node.url)}active{/if}">
|
||||
{$node.title}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 3:Badge ================= }
|
||||
{elseif $intVariant == 3}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-badge">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span class="badge">
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</span>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 4:Box ================= }
|
||||
{elseif $intVariant == 4}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-box">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div class="box-item">
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<strong>{$node.title}</strong>
|
||||
{/if}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 5:Inline Card ================= }
|
||||
{elseif $intVariant == 5}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-inline-card">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span class="card">
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
{$node.title}
|
||||
{/if}
|
||||
</span>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 6:Panel ================= }
|
||||
{elseif $intVariant == 6}
|
||||
<section class="{$TpStyle.dom_prefix}-bc-panel">
|
||||
<header>当前位置</header>
|
||||
<div class="panel-body">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{if !empty($node.url)}
|
||||
<a href="{$node.url}">{$node.title}</a>
|
||||
{else /}
|
||||
<span>{$node.title}</span>
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{// ================= Variant 7:Tab ================= }
|
||||
{elseif $intVariant == 7}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-tab">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div class="tab {if empty($node.url)}active{/if}">
|
||||
{$node.title}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 8:Grid ================= }
|
||||
{elseif $intVariant == 8}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-grid">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div class="grid-item">
|
||||
{$node.title}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 9:Highlight ================= }
|
||||
{elseif $intVariant == 9}
|
||||
<p class="{$TpStyle.dom_prefix}-bc-highlight">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span>{$node.title}</span>
|
||||
{/volist}
|
||||
</p>
|
||||
|
||||
{// ================= Variant 10:Tag ================= }
|
||||
{elseif $intVariant == 10}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-tag">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<i class="tag">{$node.title}</i>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 11:Shadow Card ================= }
|
||||
{elseif $intVariant == 11}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-shadow">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div class="shadow-item">
|
||||
{$node.title}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 12:List Card ================= }
|
||||
{elseif $intVariant == 12}
|
||||
<ol class="{$TpStyle.dom_prefix}-bc-list-card">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<li>{$node.title}</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
|
||||
{// ================= Variant 13:Accent ================= }
|
||||
{elseif $intVariant == 13}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-accent">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span>{$node.title}</span>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 14:Wrap ================= }
|
||||
{elseif $intVariant == 14}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-wrap">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<div class="wrap-item">{$node.title}</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 15:Card Header ================= }
|
||||
{elseif $intVariant == 15}
|
||||
<header class="{$TpStyle.dom_prefix}-bc-header">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span>{$node.title}</span>
|
||||
{/volist}
|
||||
</header>
|
||||
|
||||
{// ================= Variant 16:Notice ================= }
|
||||
{elseif $intVariant == 16}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-notice">
|
||||
<strong>位置:</strong>
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 17:Rounded ================= }
|
||||
{elseif $intVariant == 17}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-rounded">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span class="round">{$node.title}</span>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 18:Soft Card ================= }
|
||||
{elseif $intVariant == 18}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-soft">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
<span>{$node.title}</span>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
{// ================= Variant 19:Default ================= }
|
||||
{else}
|
||||
<div class="{$TpStyle.dom_prefix}-bc-default">
|
||||
{volist name="arrBreadcrumb" id="node"}
|
||||
{$node.title}
|
||||
{/volist}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</nav>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{assign name="intVariant" value="$pageCfg.breadcrumb.variant"}
|
||||
{switch $pageCfg.breadcrumb.layout}
|
||||
|
||||
{case value="A"}
|
||||
{include file="module/breadcrumb/breadcrumb_A" /}
|
||||
{/case}
|
||||
|
||||
{case value="B"}
|
||||
{include file="module/breadcrumb/breadcrumb_B" /}
|
||||
{/case}
|
||||
|
||||
{case value="C"}
|
||||
{include file="module/breadcrumb/breadcrumb_C" /}
|
||||
{/case}
|
||||
|
||||
{case value="D"}
|
||||
{include file="module/breadcrumb/breadcrumb_D" /}
|
||||
{/case}
|
||||
|
||||
{/switch}
|
||||
Reference in New Issue
Block a user