<div id="endend"></div>
<script>
var selects = res.data.selects;
var hh = '';
if(res.code==200){
console.log(selects);
$.each(selects,function(key,v){
// console.log(v);
hh+='<tr>';
hh+=' <td>'+v.shipu_id+'</td>';
hh+=' <td>'+v.shipu_title+'</td>';
hh+=' <td>'+v.shipu_ladel+'</td>';
hh+=' <td style="height:70px;text-align:center;"><img src="'+v.shipu_img+'" style="height:100%;"></td>';
hh+=' <td class="center ">'+v.shipu_description+'</td>';
hh+=' <td>';
hh+=' <a href="#" class="btn btn-info btn-xs edit"><i class="fa fa-edit"></i> 修改</a>';
hh+=' <a href="#" class="btn btn-danger btn-xs delete"><i class="fa fa-trash-o"></i> 删除</a>';
hh+=' </td>';
hh+='</tr>';
})
$("#endend").html(hh);
}