{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}
{$it.text}
{if $metaPos == 1} {/if} {$itemTag}> {/volist} {$listTag}> {$wrapTag}>