pre { /*控制代码不换行*/ white-space: pre; word-wrap: normal; }
摘要: 一、基本语法1、"#"用来标识Velocity的脚本语句,包括#set、#if 、#else、#end、#foreach、#end、#iinclude、#parse、#macro等; 如: #if($info.imgs) <img src="$info.imgs" border=0> #else <img src="noPhoto.jpg"> #end 2、"$"用来标识一个对象(或理解为变量);如 如:$i、$msg、$TagUtil.options(...)等。 3、"{}&q 阅读全文
posted @ 2012-02-16 11:57 monkey's 阅读(382) 评论(0) 推荐(0)