js百度商桥自定义样式
浏览量:253
why:
how:
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f6c6885ed6b8a99c743fd6a4b0706e87";
var s = document.getElementsByTagName("script")[0];
s.parentNode.Before(hm, s);
})();
//联系我们显示
!function() {
var timer = setInterval(function() {
//处理免费电话
if ($(".lxb-container").length > 0) {
var btn = $(".lxb-close-btn"),
icon = $(".lxb-container");
btn.remove();
icon.css({ "right": "61px","bottom": "auto","top": "40","left":"auto"});
var cssText = icon.attr("style") + ";display: none !important;";
icon.css("cssText", cssText);
icon.find(".lxb-hide-btn").remove();
clearInterval(timer);
}
//隐藏在线客服图标
if($("#nb_icon_wrap").length > 0){
$("#nb_icon_wrap").hide();
}
}, 1);
setTimeout(function() {
clearInterval(timer);
}, 30000);
} ();
$(".webService .tel").hover(function(){
$(".lxb-container").show();
},function(){
$(".lxb-container").hide();
});


感谢支持与鼓励~