Anekke Multicolor Contemporary Sports Sneakers - Anekke Polska
You set the pace. Above all, with your new multicolored trainer from Anekke Contemporary, your new favorite shoes! The most comfortable shoes you can dream of are now a reality. Its multicolored combination, but sober and elegant, makes this pair of sneakers a basic for your day to day. Combine it with the most informal or elegant look you want, and give it a chic and comfortable touch from your feet. Get yours now!
-1){
//如果有'-'
var price_list = td_text.split("-");
$(this).text(price_list[0]*uni_base+"-"+price_list[1]*uni_base)
}else{
if(td_text !== "" && td_text != null && !isNaN(td_text)){
//如果是纯数字
var abcd = parseFloat((td_text*uni_base)).toFixed(2);
$(this).text(abcd);
}
}
});
}else{
//点inch数据切换
$("#size_chart_table td[class='hs']").each(function(){
var td_text = $(this).text();
if(td_text.indexOf("-")>-1){
//如果有'-'
var price_list = td_text.split("-");
$(this).text(price_list[0]/uni_base+"-"+price_list[1]/uni_base)
}else{
if(td_text !== "" && td_text != null && !isNaN(td_text)){
//如果是纯数字
var abcd = parseFloat((td_text/uni_base)).toFixed(1);
$(this).text(abcd)
}
}
});
};
$(".unit").text($(this).text().toUpperCase())
}
})
},
cancel: function(){
// 右上角关闭事件的逻辑
$("body").css("height","auto");
$("body").css("overflow","auto");
$('.initLayerShade').hide();
}
});
})
// $(".uni_menu").on("click",function(){
// var odiv = $(".selected").text();
// $(".unit").text(odiv);
// })
var customerId = $('#customerId').text();
var products_id = $('#productsId').text();
$.ajax({
type: "GET",
url: "/api/favorites?customer_id="+customerId+"&products_id="+products_id,
// async: false,
dataType: "json", //预期服务器返回数据的类型
success: function(data){
$(".favoritesPro").show();
if(data.rtn_code == "2"){
$(".favoritesPro").addClass("selected");
}else{
$(".favoritesPro").removeClass("selected");
}
}
});
$(".favoritesPro").on("click",function(){
if(customerId){
//$("#login").trigger("click");
if($(this).hasClass("selected")){
$(this).removeClass("selected");
$.ajax({
type: "GET",
url: "/api/favorites?customer_id="+customerId+"&products_id="+products_id+'&favoriteslist=2',
// async: false,
dataType: "json", //预期服务器返回数据的类型
success: function(data){
//already remove favorites
}
});
}else{
$(this).addClass("selected");
$.ajax({
type: "GET",
url: "/api/favorites?customer_id="+customerId+"&products_id="+products_id+'&favoriteslist=1',
// async: false,
dataType: "json", //预期服务器返回数据的类型
success: function(data){
//already remove favorites
}
});
}
}
})
});