标签按栏目分类
2022-08-17 加入收藏
{eyou:channelartlist typeid='2,3'} {eyou:channel type="son" id='field2'} <!-- 如果有三级 --> {eyou:notempty name='$field2.children' /} <p> <h2>{$field2.typename}{$field2.typeid}</h2> {eyou:channel name="$field2.children" id='field3'} {eyou:tag getall='1' typeid='$field3.typeid'} <span><a href='{$field.link}'>{$field.tag}</a></span> {/eyou:tag} {/eyou:channel} </p> {eyou:else /} <p> <h2>{$field2.typename}{$field2.typeid}</h2> {eyou:tag getall='1' typeid='$field2.typeid'} <span><a href='{$field.link}'>{$field.tag}</a></span> {/eyou:tag} {/eyou:notempty} </p> {/eyou:channel} {/eyou:channelartlist}