result.result[0].name
var arr = new Array();
$.each(result.result, function(i, item) {
arr.push(“<li onclick=”tiaoZhuan(‘”+item.id+”‘)”>”);
arr.push(“<div class=”shopList-ima”>”);
arr.push(“<img src=”${ctx%20}/static/wx/images/shopima.png” alt=”门店图片”/>”);
arr.push(“</div> <div class=”shopList-txt”>”);
arr.push(“<h3>”+item.customername+”</h3>”);
arr.push(“<p>评价<img src=”${ctx%20}/static/wx/images/star.png” alt=”门店评价”/></p>”);
arr.push(“<p>”+item.address+”</p>”);
arr.push(“<p>电话:”+item.tel+”</p>”);
arr.push(“</div></li>”);
});
$(“#shopid”).append(arr.join(“”));
},