Velocity 模板标签 #foreach

来源:互联网 发布:淘宝助理顺丰新模板 编辑:程序博客网 时间:2024/06/05 13:22

#foreach

 

判断循环数量

#set($count=3)

 

#foreach($i in[1..10])

  #foreach($afield in $afields)

   #if($velocityCount==$count)//   #if($velocityCount==3)

。。。。

    #end

  #end

  $count=$count+1

 

 

#end

原创粉丝点击