if(typeof jQuery != 'undefined'){ $(function(){ $('#XYHOnlineView .xyh-online-tool').mouseover(function(event) { $('#XYHOnlineView .xyh-online-panel').css('visibility', 'visible'); }) $('#XYHOnlineView').mouseleave(function(event) { $('#XYHOnlineView .xyh-online-panel').css('visibility', 'hidden'); }); $('#XYHOnlineView .xyh-online-panel-close').click(function(event) { $('#XYHOnlineView .xyh-online-panel').css('visibility', 'hidden'); }); }); } else { console.log('没有jquery,在线客服开启失败!') } document.write(''); document.write('