gpt
This commit is contained in:
359
code/app/home/view/videoGpt1/module/pinlun/layout/layout_A.html
Normal file
359
code/app/home/view/videoGpt1/module/pinlun/layout/layout_A.html
Normal file
@@ -0,0 +1,359 @@
|
||||
{switch $variant}
|
||||
|
||||
{case value="0"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">最新评论</h3>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-count">共 {:$arrPinlun ? count($arrPinlun) : 0} 条</span>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<time class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</time>
|
||||
</div>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="1"}
|
||||
<section class="{$baseCls}">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<strong class="{$TpStyle.dom_prefix}-cmt-title">观众留言</strong>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span> · <span>{$it.time}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="2"}
|
||||
<aside class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">短评</h4>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">“{$it.text}”</p>
|
||||
<footer class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<small>{$it.user}</small>
|
||||
<small>{$it.time}</small>
|
||||
</footer>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="3"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">大家都在说</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<b>{$it.user}</b> <i>{$it.time}</i>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="4"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">讨论区</h3>
|
||||
</header>
|
||||
<ol class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</span>
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="5"}
|
||||
<div class="{$baseCls}">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-title">网友热评</span>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
</header>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<footer class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<time>{$it.time}</time>
|
||||
</footer>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{case value="6"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">评论精选</h3>
|
||||
<a class="{$TpStyle.dom_prefix}-cmt-more" href="javascript:void(0)">更多</a>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span><span>{$it.time}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="7"}
|
||||
<aside class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">看完的朋友说</h3>
|
||||
<ul class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<small>{$it.user}</small>
|
||||
<small>{$it.time}</small>
|
||||
</div>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="8"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">短评区</h4>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-meta">来自 {$it.user} · {$it.time}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="9"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">评论</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</span>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="10"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<strong class="{$TpStyle.dom_prefix}-cmt-title">留言板</strong>
|
||||
</header>
|
||||
<dl class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<dt class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</dt>
|
||||
<dd class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</dd>
|
||||
</div>
|
||||
{/volist}
|
||||
</dl>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="11"}
|
||||
<div class="{$baseCls}">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">互动</h3>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text"><mark>{$it.text}</mark></p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span> <span>{$it.time}</span>
|
||||
</div>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{case value="12"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">影评摘录</h4>
|
||||
</header>
|
||||
<ol class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<blockquote class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</blockquote>
|
||||
<cite class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</cite>
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="13"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">短评</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="14"}
|
||||
<aside class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">大家怎么看</h3>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<small>{$it.user}</small>
|
||||
</header>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="15"}
|
||||
<div class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">评论区</h3>
|
||||
<ul class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-meta">{$it.time}</p>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{case value="16"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">看法</h4>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<footer class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
</footer>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="17"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">观后感</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="18"}
|
||||
<aside class="{$baseCls}">
|
||||
<strong class="{$TpStyle.dom_prefix}-cmt-title">评论摘要</strong>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span><span>{$it.time}</span>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="19"}
|
||||
<div class="{$baseCls}">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">讨论</h4>
|
||||
<ol class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
<small class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</small>
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{default}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">最新评论</h3>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<time class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</time>
|
||||
</div>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/default}
|
||||
{/switch}
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
|
||||
<{$wrapTag} class="{$baseCls}">
|
||||
{if $titleTag}
|
||||
<{$titleTag} class="{$TpStyle.dom_prefix}-cmt-title">观众评论</{$titleTag}>
|
||||
{/if}
|
||||
|
||||
<ul class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
|
||||
{if $arrRule.meta == 'top'}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
{if $arrRule.user}<span>{$it.user}</span>{/if}
|
||||
{if $arrRule.time}<span>{$it.time}</span>{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">
|
||||
{$it.text}
|
||||
</div>
|
||||
|
||||
{if $arrRule.meta == 'bottom'}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
{if $arrRule.user}<span>{$it.user}</span>{/if}
|
||||
{if $arrRule.time}<span>{$it.time}</span>{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</{$wrapTag}>
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
|
||||
|
||||
<{$wrapTag} class="{$baseCls}">
|
||||
{if $titleTag}
|
||||
<{$titleTag} class="{$TpStyle.dom_prefix}-cmt-title">网友热评</{$titleTag}>
|
||||
{/if}
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-cards">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-card">
|
||||
|
||||
{if $arrRule.meta == 'top'}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
{if $arrRule.user}<span>{$it.user}</span>{/if}
|
||||
{if $arrRule.time}<span>{$it.time}</span>{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">
|
||||
{$it.text}
|
||||
</div>
|
||||
|
||||
{if $arrRule.meta == 'bottom'}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
{if $arrRule.user}<span>{$it.user}</span>{/if}
|
||||
{if $arrRule.time}<span>{$it.time}</span>{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</{$wrapTag}>
|
||||
61
code/app/home/view/videoGpt1/module/pinlun/pinlun_A.html
Normal file
61
code/app/home/view/videoGpt1/module/pinlun/pinlun_A.html
Normal file
@@ -0,0 +1,61 @@
|
||||
{php}
|
||||
/**
|
||||
* Layout A:标准影评 / SEO 语义型
|
||||
* variant ∈ 0–19
|
||||
*/
|
||||
|
||||
$V = $variant % 20;
|
||||
|
||||
$titles = [
|
||||
'最新评论','观众留言','短评','大家都在说','讨论区',
|
||||
'网友热评','评论精选','看完的朋友说','短评区','评论',
|
||||
'留言板','互动','影评摘录','短评','大家怎么看',
|
||||
'评论区','看法','观后感','评论摘要','讨论'
|
||||
];
|
||||
|
||||
$titleTags = ['h3','h4','strong','span',null];
|
||||
$wrapTags = ['section','aside','div'];
|
||||
$listTags = ['div','ul','ol','dl'];
|
||||
$itemTags = ['article','div','li'];
|
||||
|
||||
$titleText = $titles[$V];
|
||||
$titleTag = $titleTags[$V % count($titleTags)];
|
||||
$wrapTag = $wrapTags[$V % count($wrapTags)];
|
||||
$listTag = $listTags[$V % count($listTags)];
|
||||
$itemTag = $itemTags[$V % count($itemTags)];
|
||||
$metaPos = $V % 3; // 0=top 1=bottom 2=inline
|
||||
{/php}
|
||||
|
||||
<{$wrapTag} class="{$baseCls} layout-a v{$V}">
|
||||
|
||||
{if $titleTag}
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<{$titleTag} class="{$TpStyle.dom_prefix}-cmt-title">{$titleText}</{$titleTag}>
|
||||
</header>
|
||||
{/if}
|
||||
|
||||
<{$listTag} class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<{$itemTag} class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
|
||||
{if $metaPos == 0}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
<time>{$it.time}</time>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
|
||||
{if $metaPos == 1}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
<time>{$it.time}</time>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</{$itemTag}>
|
||||
{/volist}
|
||||
</{$listTag}>
|
||||
|
||||
</{$wrapTag}>
|
||||
70
code/app/home/view/videoGpt1/module/pinlun/pinlun_B.html
Normal file
70
code/app/home/view/videoGpt1/module/pinlun/pinlun_B.html
Normal file
@@ -0,0 +1,70 @@
|
||||
{php}
|
||||
$V = $variant % 20;
|
||||
|
||||
/* 20 个不同标题 */
|
||||
$titles = [
|
||||
'观众评论','大家都在说','留言区','网友讨论','评论列表',
|
||||
'讨论区','大家怎么看','留言板','影迷交流','看法汇总',
|
||||
'用户反馈','评论','短评','影迷说','大家的意见',
|
||||
'交流区','讨论','留言','网友声音','评论区'
|
||||
];
|
||||
|
||||
/* 标签池 */
|
||||
$wrapTags = ['section','div','aside'];
|
||||
$listTags = ['ul','ol','div'];
|
||||
$itemTags = ['li','li','div']; // 强化列表感
|
||||
$titleTags = ['h3','h4','strong','span',null];
|
||||
|
||||
$titleText = $titles[$V];
|
||||
$wrapTag = $wrapTags[$V % count($wrapTags)];
|
||||
$listTag = $listTags[$V % count($listTags)];
|
||||
$itemTag = $itemTags[$V % count($itemTags)];
|
||||
$titleTag = $titleTags[$V % count($titleTags)];
|
||||
$metaPos = $V % 4; // 0=top 1=bottom 2=inline 3=none
|
||||
{/php}
|
||||
|
||||
<{$wrapTag} class="{$baseCls} layout-b v{$V}">
|
||||
|
||||
{if $titleTag}
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<{$titleTag} class="{$TpStyle.dom_prefix}-cmt-title">
|
||||
{$titleText}
|
||||
</{$titleTag}>
|
||||
</header>
|
||||
{/if}
|
||||
|
||||
<{$listTag} class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
|
||||
{volist name="arrPinlun" id="it"}
|
||||
|
||||
<{$itemTag} class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
|
||||
{if $metaPos == 0}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
<span>{$it.time}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $metaPos == 2}
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
{/if}
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">
|
||||
{$it.text}
|
||||
</div>
|
||||
|
||||
{if $metaPos == 1}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
<span>{$it.time}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</{$itemTag}>
|
||||
|
||||
{/volist}
|
||||
|
||||
</{$listTag}>
|
||||
|
||||
</{$wrapTag}>
|
||||
74
code/app/home/view/videoGpt1/module/pinlun/pinlun_C.html
Normal file
74
code/app/home/view/videoGpt1/module/pinlun/pinlun_C.html
Normal file
@@ -0,0 +1,74 @@
|
||||
{php}
|
||||
$V = $variant % 20;
|
||||
|
||||
/* 20 个标题(偏内容 / 热评) */
|
||||
$titles = [
|
||||
'网友热评','大家的看法','评论精选','短评摘要','热门反馈',
|
||||
'讨论精选','观后感','大家在说','影评摘录','热评',
|
||||
'评论亮点','精选留言','内容反馈','观众声音','短评',
|
||||
'讨论要点','网友评价','反馈','热门评论','大家的意见'
|
||||
];
|
||||
|
||||
$wrapTags = ['div','section','aside'];
|
||||
$cardsWrap = ['div','div','section'];
|
||||
$cardTags = ['div','article'];
|
||||
$titleTags = ['strong','h3','h4','span',null];
|
||||
|
||||
$titleText = $titles[$V];
|
||||
$wrapTag = $wrapTags[$V % count($wrapTags)];
|
||||
$cardsTag = $cardsWrap[$V % count($cardsWrap)];
|
||||
$cardTag = $cardTags[$V % count($cardTags)];
|
||||
$titleTag = $titleTags[$V % count($titleTags)];
|
||||
$metaMode = $V % 5; // 0=user 1=time 2=both 3=none 4=inline
|
||||
{/php}
|
||||
|
||||
<{$wrapTag} class="{$baseCls} layout-c v{$V}">
|
||||
|
||||
{if $titleTag}
|
||||
<{$titleTag} class="{$TpStyle.dom_prefix}-cmt-title">
|
||||
{$titleText}
|
||||
</{$titleTag}>
|
||||
{/if}
|
||||
|
||||
<{$cardsTag} class="{$TpStyle.dom_prefix}-cmt-cards">
|
||||
|
||||
{volist name="arrPinlun" id="it"}
|
||||
|
||||
<{$cardTag} class="{$TpStyle.dom_prefix}-cmt-card">
|
||||
|
||||
{if $metaMode == 0}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $metaMode == 1}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<time>{$it.time}</time>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">
|
||||
{$it.text}
|
||||
</div>
|
||||
|
||||
{if $metaMode == 2}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
<time>{$it.time}</time>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $metaMode == 4}
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-inline">
|
||||
{$it.user} · {$it.time}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
</{$cardTag}>
|
||||
|
||||
{/volist}
|
||||
|
||||
</{$cardsTag}>
|
||||
|
||||
</{$wrapTag}>
|
||||
359
code/app/home/view/videoGpt1/module/pinlun/pinlun_D.html
Normal file
359
code/app/home/view/videoGpt1/module/pinlun/pinlun_D.html
Normal file
@@ -0,0 +1,359 @@
|
||||
{switch $variant}
|
||||
|
||||
{case value="0"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">最新评论</h3>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-count">共 {:$arrPinlun ? count($arrPinlun) : 0} 条</span>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<time class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</time>
|
||||
</div>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="1"}
|
||||
<section class="{$baseCls}">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<strong class="{$TpStyle.dom_prefix}-cmt-title">观众留言</strong>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span> · <span>{$it.time}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="2"}
|
||||
<aside class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">短评</h4>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">“{$it.text}”</p>
|
||||
<footer class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<small>{$it.user}</small>
|
||||
<small>{$it.time}</small>
|
||||
</footer>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="3"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">大家都在说</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<b>{$it.user}</b> <i>{$it.time}</i>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="4"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">讨论区</h3>
|
||||
</header>
|
||||
<ol class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</span>
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="5"}
|
||||
<div class="{$baseCls}">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-title">网友热评</span>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
</header>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<footer class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<time>{$it.time}</time>
|
||||
</footer>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{case value="6"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">评论精选</h3>
|
||||
<a class="{$TpStyle.dom_prefix}-cmt-more" href="javascript:void(0)">更多</a>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span><span>{$it.time}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="7"}
|
||||
<aside class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">看完的朋友说</h3>
|
||||
<ul class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<small>{$it.user}</small>
|
||||
<small>{$it.time}</small>
|
||||
</div>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="8"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">短评区</h4>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-meta">来自 {$it.user} · {$it.time}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="9"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">评论</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</span>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="10"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<strong class="{$TpStyle.dom_prefix}-cmt-title">留言板</strong>
|
||||
</header>
|
||||
<dl class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<dt class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</dt>
|
||||
<dd class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</dd>
|
||||
</div>
|
||||
{/volist}
|
||||
</dl>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="11"}
|
||||
<div class="{$baseCls}">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">互动</h3>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text"><mark>{$it.text}</mark></p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span> <span>{$it.time}</span>
|
||||
</div>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{case value="12"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">影评摘录</h4>
|
||||
</header>
|
||||
<ol class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<blockquote class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</blockquote>
|
||||
<cite class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</cite>
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="13"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">短评</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</span>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="14"}
|
||||
<aside class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">大家怎么看</h3>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<small>{$it.user}</small>
|
||||
</header>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="15"}
|
||||
<div class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">评论区</h3>
|
||||
<ul class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-meta">{$it.time}</p>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{case value="16"}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">看法</h4>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<footer class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span>
|
||||
</footer>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="17"}
|
||||
<section class="{$baseCls}">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">观后感</h3>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/case}
|
||||
|
||||
{case value="18"}
|
||||
<aside class="{$baseCls}">
|
||||
<strong class="{$TpStyle.dom_prefix}-cmt-title">评论摘要</strong>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span>{$it.user}</span><span>{$it.time}</span>
|
||||
</div>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</aside>
|
||||
{/case}
|
||||
|
||||
{case value="19"}
|
||||
<div class="{$baseCls}">
|
||||
<h4 class="{$TpStyle.dom_prefix}-cmt-title">讨论</h4>
|
||||
<ol class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<li class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</div>
|
||||
<small class="{$TpStyle.dom_prefix}-cmt-meta">{$it.user} · {$it.time}</small>
|
||||
</li>
|
||||
{/volist}
|
||||
</ol>
|
||||
</div>
|
||||
{/case}
|
||||
|
||||
{default}
|
||||
<section class="{$baseCls}">
|
||||
<header class="{$TpStyle.dom_prefix}-cmt-hd">
|
||||
<h3 class="{$TpStyle.dom_prefix}-cmt-title">最新评论</h3>
|
||||
</header>
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-list">
|
||||
{volist name="arrPinlun" id="it"}
|
||||
<article class="{$TpStyle.dom_prefix}-cmt-item">
|
||||
<div class="{$TpStyle.dom_prefix}-cmt-meta">
|
||||
<span class="{$TpStyle.dom_prefix}-cmt-user">{$it.user}</span>
|
||||
<time class="{$TpStyle.dom_prefix}-cmt-time">{$it.time}</time>
|
||||
</div>
|
||||
<p class="{$TpStyle.dom_prefix}-cmt-text">{$it.text}</p>
|
||||
</article>
|
||||
{/volist}
|
||||
</div>
|
||||
</section>
|
||||
{/default}
|
||||
{/switch}
|
||||
@@ -0,0 +1,36 @@
|
||||
{site:pinlun id="$arrVideo.v_id" export_name="arrPinlunData" /}
|
||||
|
||||
{assign name="arrPinlun" value="$arrPinlunData.arrPinlun"}
|
||||
{assign name="arrRule" value="$arrPinlunData.arrRule"}
|
||||
{assign name="pinlunCfg" value="$pageCfg.pinlun"}
|
||||
|
||||
{assign name="layout" value="$pinlunCfg.layout"}
|
||||
{assign name="variant" value="$pinlunCfg.variant"}
|
||||
|
||||
{assign name="wrapTag" value="$arrRule.wrap"}
|
||||
{assign name="titleTag" value="$arrRule.title"}
|
||||
|
||||
|
||||
{php}
|
||||
|
||||
// 统一 class(冻结)
|
||||
$baseCls = $TpStyle['dom_prefix'] . '-cmt'
|
||||
. ' layout-' . strtolower($layout)
|
||||
. ' v' . $variant;
|
||||
|
||||
{/php}
|
||||
|
||||
{switch $layout}
|
||||
{case value="A"}
|
||||
{include file="module/pinlun/layout/layout_A" /}
|
||||
{/case}
|
||||
{case value="B"}
|
||||
{include file="module/pinlun/layout/layout_B" /}
|
||||
{/case}
|
||||
{case value="C"}
|
||||
{include file="module/pinlun/layout/layout_C" /}
|
||||
{/case}
|
||||
{default}
|
||||
{include file="module/pinlun/layout/layout_A" /}
|
||||
{/default}
|
||||
{/switch}
|
||||
@@ -0,0 +1,39 @@
|
||||
{site:pinlun id="$arrVideo.v_id" export_name="arrPinlunData" /}
|
||||
|
||||
{assign name="arrPinlun" value="$arrPinlunData.arrPinlun"}
|
||||
|
||||
{assign name="pinlunCfg" value="$pageCfg.pinlun"}
|
||||
|
||||
{assign name="layout" value="$pinlunCfg.layout"}
|
||||
{assign name="variant" value="$pinlunCfg.variant"}
|
||||
|
||||
|
||||
|
||||
|
||||
{php}
|
||||
|
||||
// 统一 class(冻结)
|
||||
$baseCls = $TpStyle['dom_prefix'] . '-cmt'
|
||||
. ' layout-' . strtolower($layout)
|
||||
. ' v' . $variant;
|
||||
|
||||
{/php}
|
||||
|
||||
|
||||
{switch $layout}
|
||||
{case value="A"}
|
||||
{include file="module/pinlun/pinlun_A" /}
|
||||
{/case}
|
||||
{case value="B"}
|
||||
{include file="module/pinlun/pinlun_B" /}
|
||||
{/case}
|
||||
{case value="C"}
|
||||
{include file="module/pinlun/pinlun_C" /}
|
||||
{/case}
|
||||
{case value="D"}
|
||||
{include file="module/pinlun/pinlun_D" /}
|
||||
{/case}
|
||||
{default}
|
||||
{include file="module/pinlun/pinlun_A" /}
|
||||
{/default}
|
||||
{/switch}
|
||||
Reference in New Issue
Block a user