测试
2024-02-13 12:50:02
新闻新闻新闻
![1705734809513080.jpg thumb_20240120151324_443.jpg](/uploads/allimg/20240213/1-240213112321607.png)
本文网址:
http://www.qingzhengkangti.com/html/qzgknrfwde/145.html
(function(a, b, c, d, e, j, s) {
a[d] = a[d] || function() {
(a[d].a = a[d].a || []).push(arguments)
};
j = b.createElement(c),
s = b.getElementsByTagName(c)[0];
j.async = true;
j.charset = 'UTF-8';
j.src = 'https://static.meiqia.com/widget/loader.js';
s.parentNode.insertBefore(j, s);
})(window, document, 'script', '_MEIQIA');
_MEIQIA('entId', 'c1b23f4120f961e78f6e0eee8c190b53');
var href="data/images/other/20190111161125_564.png";
if(href=="")
{
$(".code").css("display","none");
}
var currentid='7';
if(currentid!='7')
{
switch(currentid)
{
case '1':
$('.kf_btn').css('background','url("http://www.gdybty.com/template/default/images/kf/qing.png") left 33px no-repeat');
$('.top_bg').css('background','url("http://www.gdybty.com/template/default/images/kf/qing1.png") left bottom no-repeat');
$('.othercolor').css('background','#40c0ac');
break;
case '2':
$('.kf_btn').css('background','url("http://www.gdybty.com/template/default/images/kf/puper.png") left 33px no-repeat');
$('.top_bg').css('background','url("http://www.gdybty.com/template/default/images/kf/puple1.png") left bottom no-repeat');
$('.othercolor').css('background','#8838cc');
break;
case '3':
$('.kf_btn').css('background','url("http://www.gdybty.com/template/default/images/kf/kefu_yellow.png") left 33px no-repeat');
$('.top_bg').css('background','url("http://www.gdybty.com/template/default/images/kf/yellow1.png") left bottom no-repeat');
$('.othercolor').css('background','#ffc713');
break;
case '4':
$('.kf_btn').css('background','url("http://www.gdybty.com/template/default/images/kf/kefu_left.png") left 33px no-repeat');
$('.top_bg').css('background','url("http://www.gdybty.com/template/default/images/kf/red1.png") left bottom no-repeat');
$('.othercolor').css('background','#e5212d');
break;
case '5':
$('.kf_btn').css('background','url("http://www.gdybty.com/template/default/images/kf/kefu_cheng.png") left 33px no-repeat');
$('.top_bg').css('background','url("http://www.gdybty.com/template/default/images/kf/cheng1.png") left bottom no-repeat');
$('.othercolor').css('background','#e65a22');
break;
case '6':
$('.kf_btn').css('background','url("http://www.gdybty.com/template/default/images/kf/green.png") left 33px no-repeat');
$('.top_bg').css('background','url("http://www.gdybty.com/template/default/images/kf/green1.png") left bottom no-repeat');
$('.othercolor').css('background','#78cf1b');
break;
case '8':
$('.float-kf').css('display','block');
break;
case '9':
$('.float-kf').css('display','none');
$('.kf-switch').css('display','block');
break;
}
}
var _windowScrollTop=0; //滚动条距离顶端距离
var _windowWidth=$(window).width(); //窗口宽度
$(window).scroll(actionEvent).resize(actionEvent); //监听滚动条事件和窗口缩放事件
//响应事件
function actionEvent(){
_windowScrollTop = $(window).scrollTop(); //获取当前滚动条高度
// _windowWidth=$(window).width();//获取当前窗口宽度
moveQQonline();//移动面板
}
//移动面板
function moveQQonline(){
//.stop()首先将上一次的未完事件停止,否则IE下会出现慢速僵死状态,然后重新设置面板的位置。
$(".kf").stop().animate({
top: _windowScrollTop+100
}, "fast");
$('.alignCenter').stop().animate({
top: _windowScrollTop+133
}, "fast");
$(".kf-switch").stop().animate({
top: _windowScrollTop+100
}, "fast");
$(".float-kf").stop().animate({
top: _windowScrollTop+100
}, "fast");
}
$(".kf_btn").toggle(
function()
{
$('.open').addClass('close');
$('.alignCenter').hide();
$(".kf_main").animate({width:'hide',opacity:'hide'},'normal',function(){
$(".kf_main").hide();
var href="data/images/other/20190111161125_564.png";
if(href==""){
$(".code").css("display","none");
}else{
$('.e_code img').animate({width:'hide',opacity:'hide'});
}
});
},
function(){
$('.open').removeClass('close');
$(".kf_main").animate({opacity:'show'},'normal',function(){
$(".kf_main").show();
var href="data/images/other/20190111161125_564.png";
if(href==""){
$(".code").css("display","none");
}else{
$('.e_code img').animate({opacity:'show'});
}
});
}
);
$('#hidden_share').click(function(){
$('.alignCenter').show();
})
$('.alignCenter .title img').click(function(){
$('.alignCenter').hide();
})