document.getElementById("headnav").innerHTML = "
本站导航
"; document.writeln(""); //头部导航的js $(document).ready(function(){ $("#top_headhang").hover(function(){ $("#top_headdanzhi").addClass("top_headdanzhi_on"); $("#top_headdanbox").slideDown(); }, function(){ $("#top_headdanzhi").removeClass("top_headdanzhi_on"); $("#top_headdanbox").slideUp(); }); $(document).on("click","#top_headhang",function(){ $("#top_headdanbox").slideToggle(); }); }); //显示客服 document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln("
电话
"); document.writeln("
"); document.writeln("
"); document.writeln("
电话咨询
"); document.writeln("
13961347334
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
客服
"); document.writeln("
"); document.writeln("
"); document.writeln("
QQ在线客服
"); document.writeln("
售前咨询
"); document.writeln("
程序定制咨询
"); document.writeln("
投票系统定制
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
扫码
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
关注联系QQ
"); document.writeln("
"); document.writeln("
关注联系微信号
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
顶部
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(""); $(document).ready(function(){ kefu_topback(); $('.jiankefu_ul').hover(function(){ var kefu_id = $(this).attr("kefid"); $("#jiankefu_div" + kefu_id).css("display","block"); }, function(){ var kefu_id = $(this).attr("kefid"); $("#jiankefu_div" + kefu_id).css("display","none"); }); }); function kefu_topback(){ //返回顶部 $('#qwbmpage_topback').click(function(){ $('html,body').animate({scrollTop:0},'slow');//慢慢回到页面顶部 return false; }); $('#qwbmpage_topback1').click(function(){ $('html,body').animate({scrollTop:0},'slow');//慢慢回到页面顶部 return false; }); $(window).scroll(function(){ if($(this).scrollTop() < 10) {//当window的垂直滚动条距顶部距离小于10时 $('#qwbmpage_topback').fadeOut('slow');//goToTop按钮淡出 $('#qwbmpage_topback1').fadeOut('slow');//goToTop按钮淡出 } else { $('#qwbmpage_topback').fadeIn('slow');//反之按钮淡入 $('#qwbmpage_topback1').fadeIn('slow');//反之按钮淡入 } }); }