//鍒涘缓閬僵灞
function cmask(){
var w = $(window).width();
var h = $(document).height();
$("body").append('
');
}
function hide(){
$("#vmask").hide().remove();
}
function bhloading($txt){
$("body").append('');
}
function hideload(){
$('.bh-mask,.bh-load').hide().removeClass('*');
}
//
$(document).ready(function (e) {
$(".bh-fixtop").click(function(e) {
$("html,body,php").animate({scrollTop: 0}, 400);
});
$(".top-weixin").hover(function(e) {
var r = ($(window).width()-1200)/2;
($(window).width() > 1200) ? $(".bh-weixinpic").css("right",(r-68)+"px") : $(".bh-weixinpic").css("right","72px");
$(".bh-weixinpic").show();
},function(e){
$(".bh-weixinpic").hide();
});
$(".top-xiaochengxu").hover(function(e) {
var r = ($(window).width()-1200)/2;
($(window).width() > 1200) ? $(".bh-xiaochnegxupic").css("right",(r-48)+"px") : $(".bh-xiaochnegxupic").css("right","72px");
$(".bh-xiaochnegxupic").show();
},function(e){
$(".bh-xiaochnegxupic").hide();
});
//
$(window).scroll(function () {
if ($(document).scrollTop() < 15) { $('.bh-snow').show(); }
if ($(document).scrollTop() > 15) {
$('.bh-snow').hide();
}
if ($(document).scrollTop() > 165) {
$(".bh-fixheader").fadeIn(150);
} else {
$(".bh-fixheader").fadeOut(150);
}
});
//
//qiao
$(".bh-showqiao").click(function(e) {
$("#qiaoview").attr("src",'https://im.jxbh.cn/im.html');
$(".bh-qiao").show(100);
});
$(".bh-qiao b").click(function(e) {
$("#qiaoview").attr("src",think+"/cases/bhloading");
$(".bh-qiao").hide();
});
//
$(".bh-fixtel").hover(function(e) {
$(".bh-fixhide").show().stop().animate({"left":"-270px"},500,function(e){
$(".bh-fixhidetel").show().stop().animate({'opacity':1,'filter':'alpha(opacity=100)',"top":0},200,function(e){
});
});
},function(e){
$(".bh-fixhidetel").stop().animate({'opacity':0,'filter':'alpha(opacity=0)',"top":"-52px"},200,function(e){
$(".bh-fixhidetel").hide();
$(".bh-fixhide").stop().animate({"left":"270px"},500,function(e){
$(".bh-fixhide").hide();
});
});
});
//
$(".bh-fixweixin").hover(function(e) {
$(".bh-fixweixinhide").fadeIn(600);
},function(e){
$(".bh-fixweixinhide").fadeOut(300);
});
//
$(".bh-fixxiaochengxu").hover(function(e) {
$(".bh-fixxiaochengxunhide").fadeIn(600);
},function(e){
$(".bh-fixxiaochengxunhide").fadeOut(300);
});
//
$(".bh-weixin").hover(function(e) {
$(".bh-hideweixin").fadeIn(600);
},function(e){
$(".bh-hideweixin").fadeOut(300);
});
$(".bh-xiaochengxu").hover(function(e) {
$(".bh-hidexiaochengxu").fadeIn(600);
},function(e){
$(".bh-hidexiaochengxu").fadeOut(300);
});
//
$(".bh-phone").hover(function(e) {
$(".bh-phonehide,.bh-a-b").show();
},function(e){
$(".bh-phonehide,.bh-a-b").hide();
});
//
function showbhonline(){
$(".bh-qqonline").show().animate({"left":"10px"},300,function(e){
$(".bh-qqclose").show().animate({"width":"30px"},300,function(e){});
});
}
$(".bh-qqclose").click(function(e) {
$(this).animate({"width":"0px"},180,function(){
$(".bh-qqclose").hide();
$(".bh-qqonline").animate({"left":"-130px"},300,function(e){
$(".bh-qqonline").hide();
});
});
});
$(".bh-fixqq,.plan-more").click(function(e) {
showbhonline();
});
});
var br = '\n';
var bhlogo = br+'%c'
+br+'# # # # # # # # # # # # # # # # # # # # # '
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+'# # # # # # # # # # # # # # # # # # # # # #'
+br+' # # # # # # # # # # # # # # # # # # # # #'
+br+br;
console.log(bhlogo,'color: #0097e0;');
console.log('%c bhcms v6.0.2 Powered by http://www.jxbh.cn','color: #fdd000;');