上面一段{{}}
下面一段是<%%>
问题是我简洁和元素所需要的2个js文件都引进来了。template.js,template-native.js
难道不能在一个页面共用吗?
因为{{}}实在没法给条件索引,比如分页器要显示10行,就一定要用for循环。
你不看文档的吗
简写用each
啊
参考官方文档https://github.com/aui/artTemplate/wiki/syntax:simple
打不开看这个http://www.jq22.com/jquery-info1097