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 }/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 }/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(""));    
        },

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案