{pc:content action="position"posid="1"num="3"thumb="1"} {php $i=0;} {loop $data $v} {$i} {php $i++} {/loop} {/pc} 从0开始输出 {pc:content action="position"posid="1"num="3"thumb="1"} {loop $data $k $v} {$n} {/loop} {/pc} |
{pc:content action="position"posid="1"num="3"thumb="1"} {php $i=0;} {loop $data $v} {$i} {php $i++} {/loop} {/pc} 从0开始输出 {pc:content action="position"posid="1"num="3"thumb="1"} {loop $data $k $v} {$n} {/loop} {/pc} |