$!{velocityCount} 从1开始 奥!最近发现新版的velocity貌似用这个了 $foreach.count 转载于:https://www.cnblogs.com/qwqs/p/5112762.html