...
|
...
|
@@ -759,10 +759,8 @@ |
|
|
type:"POST",
|
|
|
data:{"province_id":0,"province_id2":province_id,"page":page,"pageNum":pageNum,'paginate':1,'sort':sort,'keyword':keyword,'lng':lng,'lat':lat, 'store_id':store_id},
|
|
|
success:function(res){
|
|
|
console.log(res);
|
|
|
var goods_html = "";
|
|
|
$(res.data.data).each(function (key1, vo) {
|
|
|
console.log(vo);
|
|
|
var property = "";
|
|
|
$(vo.property).each(function (key2, p) {
|
|
|
property += "<span class=\"myLable\">"+p+"</span>";
|
...
|
...
|
@@ -783,7 +781,6 @@ |
|
|
" </tr>";
|
|
|
goods_html += str.replace("GOODS_ID",vo.id).replace("STORE_ID",vo.store_id).replace("PROVINCE_ID",province_id);
|
|
|
});
|
|
|
console.log(goods_html);
|
|
|
$('.goods_dom').html(goods_html);
|
|
|
$('#resultsNum').html(res.data.total+"件");
|
|
|
//初始化分页
|
...
|
...
|
|