Authored by weiqingting

Merge branch 'yohobuy_portal_dev_v4.5_20160601' of http://git.yoho.cn/fe/yohobuy…

…-portal-fe into yohobuy_portal_dev_v4.5_20160601
... ... @@ -43,7 +43,6 @@ g.init("/meterManage/tryInfo/index2");
var modelLists = [];
//根据productSkn获取所有试穿信息并拼接返回
var getAllInfo = function (item, callback) {
console.log("item11",item);
common.util.__ajax({url: '/meterManage/tryInfo/info1', data: {productSkn: item.productSkn}}, function (data) {
var feelIds = {
1: "合适",
... ... @@ -117,7 +116,13 @@ var getNewLists = function (modelLists, callback) {
newList[i].fit_remark = "";
}
}
callback(newList);
var postDoc=[];
for(var j=0;j<newList.length;j++){
if(newList[j].feel_id||newList[j].fit_size||newList[j].fit_remark){
postDoc.push(newList[j]);
}
}
callback(postDoc);
};
//详情模态
... ... @@ -182,7 +187,6 @@ $(document).on("change", ".tryInfo1", function () {
else {
item[name] = $(this).val();
}
console.log(item);
});
//查询按钮--点击事件
$(document).on('click', '#filter-btn', function () {
... ...