...
|
...
|
@@ -126,7 +126,8 @@ |
|
|
data_arr = JSON.parse(data);
|
|
|
for(var i=0;i<data_arr.length;i++){
|
|
|
show_img = data_arr[i].show_img;
|
|
|
$('.se_con').append("<div class='in_hotLi'><div class='in_hotImg'><img src='"+show_img+"'></div><div class='in_hotText'><div class='in_hotName txt-cut'><span>"+data_arr[i].name+"</span>"+data_arr[i].book_name+"</div><div class='in_cam_shopPrice'><div class='in_hotPrice1'>¥<span>"+data_arr[i].price0+"</span>."+data_arr[i].price01+"</div></div></div></div>");
|
|
|
data_id = data_arr[i].id;
|
|
|
$('.se_con').append("<div class='in_hotLi'><a href='"+"{:url('Goodsdetails/Goods_details',array('goods_id'=>"+data_id+"))}"+"'><div class='in_hotImg'><img src='"+show_img+"'></div><div class='in_hotText'><div class='in_hotName txt-cut'><span>"+data_arr[i].name+"</span>"+data_arr[i].book_name+"</div><div class='in_cam_shopPrice'><div class='in_hotPrice1'>¥<span>"+data_arr[i].price0+"</span>."+data_arr[i].price01+"</div></div></div></a></div>");
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
|