{eyou:arclist typeid='264' titlelen='70' row='3' } {eyou:if condition="$i%2 =='0'"} <img src="{$field.litpic}"> {$field.title} {eyou:else /} {$field.title} <img src="{$field.litpic}"> {/eyou:if} {/eyou:arclist}
标签实现如果是偶数,图片在上,字在下,否则,相反。
{eyou:arclist typeid='121' limit='0,10' mod='3'} <li {eyou:eq name='mod' value='0'}class="样式名"{/eyou:eq}> <a href='{$field.arcurl}'>{$field.title}</a> </li> {/eyou:arclist}
上面是每个3行输出一个class