Apple产品京东自营旗舰店 – 京东



+ ‘关闭’
+ ‘提示’
+ ‘

‘ + ” + ‘


+ ”
+ ”
+ ‘

‘ + ” +” +”;

var jAttWrap = $(“.j-attent-dialog-wrap”);

if(jAttWrap.length === 0){
jAttWrap = $(attentHtml).appendTo(“body”);
}
}
addAttentHtml();
function _seacrh_hot_keyword(obj){
var base_url = “//mall.jd.com/view_search” + “-394872” + “-1000000127” + “-1000000127” + “-0-1-0-0-1-1-24.html”;
var keyword = $(obj).html();
if(keyword){
keyword = encodeURIComponent(keyword);
keyword = encodeURIComponent(keyword);
}else{
keyword=””;
}
var url = base_url + “?keyword=”+keyword+”&isGlobalSearch=1”;
window.open(url);
}

function shop_signs_search(obj){
var base_url = “//mall.jd.com/view_search” + “-394872” + “-1000000127” + “-1000000127” + “-0-1-0-0-1-1-24.html”;
var keyword = $(obj).prev().val();
if(keyword){
keyword = encodeURIComponent(keyword);
keyword = encodeURIComponent(keyword);
}else{
keyword=””;
}
var url = base_url + “?keyword=”+keyword+”&isGlobalSearch=1”;
window.open(url);
}

$(‘.m-kw’).keydown(function(e){
if(e.keyCode==13){
var base_url = “//mall.jd.com/view_search” + “-394872” + “-1000000127” + “-1000000127” + “-0-1-0-0-1-1-24.html”;
var keyword = $(this).val();
if(keyword){
keyword = encodeURIComponent(keyword);
keyword = encodeURIComponent(keyword);
}else{
keyword=””;
}
var url = base_url + “?keyword=”+keyword+”&isGlobalSearch=1”;
window.open(url);
return false;
}
});

function _shop_attention(){
jQuery(‘#shop-signs-attention’).unbind(‘click’);
jQuery(‘#shop-signs-attention’).click(function() {
S_ifollow.follow(this);
var url = “//f-mall.jd.com/rpc/vender/follow”;
url+=”?sysName=mall.jd.com&venderId=” +”1000000127″;
jQuery.ajax({
url:url,
type : ‘GET’,
dataType : ‘jsonp’,
//jsonp: ‘jsonpCallback’,
success:function (data){
S_ifollow.requestSuccess(data);
},
error:function(){

}
});
});
}
_shop_attention();

Source