20-就业率85%
{{each arr value index }}
{{@ value.img}}
{{value.name}}
{{/each}}
{{each arr value index }}
{{@ value.productImgSm}}
{{value.productName}}
{{/each}}
$.get("http://193.112.55.79:9090/api/getmoneyctrl",{"productid":1},function (ret) {
console.log(ret);
// template(模板的id,要渲染的数据)
var html=template("navTpl1",{arr:ret.result});
// console.log(html);
// 渲染
$("nav").html(html);
// evnetList();
})
一键复制
编辑
Web IDE
原始数据
按行查看
历史