1 2var bbs="//bbs.jia.com" 3 4var url=encodeURIComponent(document.URL); 5 6 7 8var d_url=document.location.href; 9var _domain=location.host; 10if(document.domain=="bbs.jia.com"||document.URL.indexOf("//mall.jia.com/order/")!=-1) 11{ 12 document.write('<script type="text/javascript" src="https://fastued1.jia.com/js/common/chat.js" charset="utf-8"><\/script>'); 13}; 14if(d_url.substring(0,18)==bbs||_domain=="mall.jia.com"||_domain=="jiaju.jia.com"){ 15 16 //return 17} 18else{ 19 20document.write('<script type="text/javascript" src="https://fastued1.jia.com/js/common/chat.js" charset="utf-8"><\/script>'); 21 22var cs=document.URL.indexOf('//www.jia.com/ztjz/')==-1?'//csuser.jia.com/new/client.php?m=Index&a=jiancai_dialog&arg=qijia_101306916&shop_id=5154&shop_name=&style=1&l=zh-cn&charset=GBK&lytype=0&referer='+url+'&isvip=bcf14bbb85a346c2fb52e8cea8822cce&identifier=&keyword=&tfrom=1&tpl=crystal_blue&is_mini=1&tpl=minichat2,_blank,height=541,width=603,top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no':'//csuser.jia.com/new/client.php?m=Index&a=jiancai_dialog&arg=qijia_103057827&shop_id=9784&shop_name=&style=1&l=zh-cn&charset=GBK&lytype=0&referer=http%3A%2F%2Fmall.jia.com%2Fshop%2F9784%2F&isvip=bcf14bbb85a346c2fb52e8cea8822cce&identifier=&keyword=&tfrom=1&tpl=crystal_blue&is_mini=1&tpl=minichat2'; 23 24var show_con='<li id="wecat" style="height:42px;"><a href="javascript:;" class="saosao"></a></li>'; 25if(document.URL.indexOf("//www.jia.com/ztjz/")==-1) 26{ 27 if(document.URL.indexOf("/wangpu")!=-1) 28 { 29 show_con=''; 30 }; 31 /*var cusomter_url = '<ul>'+show_con+'<li id="share"><a href="javascript:;" class="btnbox" tjjj="sidebar.btn.2" id="btn_share"><span class="in_t in_s2"></span></a><div id="bdshare" tjjj="sidebar.btn.3" class="bdshare_t bds_tools get-codes-bdshare"><a title="å享å°QQ空é´" class="bds_qzone" tjjj="jia.share2qzone"></a><a class="bds_tsina" tjjj="jia.share2sina"></a><a class="bds_tqq" tjjj="jia.share2tencent"></a><a class="bds_renren" tjjj="jia.share2renren"></a><a class="bds_t163" tjjj="jia.share2163"></a><a class="bds_tieba" tjjj="jia.share2tieba"></a></div></li><li class="gotopItem" id="btop"><a href="javascript:;" class="btnbox" id="backTop"><span class="in_t in_s4"></span></a></li></ul>';*/ 32 var cusomter_url = '<ul>'+show_con+'<li class="gotopItem" id="btop"><a href="javascript:;" class="btnbox" id="backTop"><span class="in_t in_s4"></span></a></li></ul>'; 33} 34else 35{ 36 var cusomter_url = "<ul><li id='wecat' style='height:42px;''><a href='javascript:;' class='saosao'></a></li><li id='server'> <a href='javascript:;' tjjj='sidebar.btn.1' onclick='window.open(\""+cs+"\")' class='btnbox'> <span class='in_t in_s1'></span></a> </li><!--<li id='share'><a href='javascript:;' class='btnbox' tjjj='sidebar.btn.2' id='btn_share'> <span class='in_t in_s2'></span></a> <div id='bdshare' tjjj='sidebar.btn.3' class='bdshare_t bds_tools get-codes-bdshare'> <a title='å享å°QQ空é´' class='bds_qzone' tjjj='jia.share2qzone'></a> <a class='bds_tsina' tjjj='jia.share2sina'></a> <a class='bds_tqq' tjjj='jia.share2tencent'></a> <a class='bds_renren' tjjj='jia.share2renren'></a> <a class='bds_t163' tjjj='jia.share2163'></a> <a class='bds_tieba' tjjj='jia.share2tieba'></a> </div></li> --><li class='gotopItem' id='btop'> <a href='javascript:;' class='btnbox' id='backTop'> <span class='in_t in_s4'></span></a> </li> </ul>"; 37} 38 39var share_style='<style>#qj_popbar #share #bdshare{width:252px;position:absolute;right:100%;top:0;margin-right:2px;height:40px;padding:0;display:none;}#qj_popbar #share #bdshare a{float:left;margin-right:2px;}</style>'; 40$(share_style).appendTo($('head:eq(0)')); 41 42 43var qjia_popbar = {d:document,loadDocument :'',isIE6:navigator.appVersion.indexOf("MSIE 6")>-1, 44 45 html :cusomter_url, 46 share :"<script type=\"text/javascript\" id=\"bdshare_js\" data=\"type=tools&mini=1&uid=6629754\" ></script> <script type=\"text/javascript\" id=\"bdshell_jspopjs\"></script> <script type=\"text/javascript\"> document.getElementById(\"bdshell_jspopjs\").src = \"//bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=\" + Math.ceil(new Date()/3600000) </script>", 47 loadAppendEnd : function(s,i,d){ 48 var s_lby;s_lby = this.d.createElement('script');s_lby.src = s; 49 this.d.body.insertBefore(s_lby,document.body.lastChild);}}; 50 //<li><a title="é请æ½å¥" href="//tuan.jia.com" tjjj="sidebar.btn.5" target="_blank" class="btnbox"> <span class="in_t in_s5"></span></a></li> 51if(typeof(jQuery)=="undefined")qjia_popbar.loadAppendEnd("https://fastued1.jia.com/js/common/jquery.js?v=20120901"); 52 53if(qjia_popbar.isIE6){ 54 qjia_popbar.d.write('<style>#qj_popbar .tel_hover{display:block;background:url(https://fastued3.jia.com/image/activity/wuyou/tel_hover.png) no-repeat;padding: 5px 0 4px;
54cursor: pointer;} #qj_popbar .tel_hover:hover{display:block;background:url(https://fastued3.jia.com/image/activity/wuyou/telphone.gif) no-repeat;padding: 5px 0 4px;cursor: pointer;} #qj_popbar{ width: 30px;position: fixed;right:0;_position: absolute;visibility:hidden; top:50%;} #qj_popbar a:focus{outline:0;}#qj_popbar li{text-align: center;margin-bottom: 4px;} #qj_popbar li.feedbackItem,#qj_popbar li.gotopItem{display: none;} #qj_popbar .btnbox{display:block;background: #B7A699;padding: 5px 0 4px;cursor: pointer;} #qj_popbar .btnbox .in_t{height: 40px;display: block;overflow: hidden;} #qj_popbar .btnbox .in_t,#qj_popbar #bdshare{background: url(https://fastued3.jia.com/image/common/qj_popbar.png) no-repeat;_background:url(https://fastued3.jia.com/image/common/qj_popbarie6.png) no-repeat; } #aimg{width:44px; height:450px; z-index:5; position:absolute; left:0; top:0;} #qj_popbar .btnbox:hover{background: #8E7B73;text-decoration: none;} #qj_popbar .btnbox .in_s1{background-position: 3px 1px;} #qj_popbar .btnbox .in_s2{background-position: 1px -61px;} #qj_popbar .btnbox .in_s3{background-position: 2px -116px;} #qj_popbar .btnbox .in_s4{background-position: 2px -179px;}#qj_popbar .btnbox .in_s5{background-position: 1px -559px;}#qj_popbar #bdshare{width:27px;float:none; padding:2px 0 0 3px;background-color:#B7A699;background-position:1px -259px;overflow: hidden;display: none;} #qj_popbar #bdshare:hover{background-color: #8E7B73;} #qj_popbar #bdshare a{float: none;} .feedback,#gotoTop{display: none;}</style>'); 55} 56 57 58qjia_popbar.pop = qjia_popbar.d.createElement('div'); 59qjia_popbar.pop.setAttribute('id','qj_popbar'); 60qjia_popbar.pop.innerHTML = qjia_popbar.html; 61qjia_popbar.d.body.appendChild(qjia_popbar.pop); 62 63//qjia_popbar.d.write(qjia_popbar.share); 64//qjia_popbar.loadDocument = setInterval(function(){ 65 //console.log('loading'); 66// if(document.readyState == 'complete'){ 67 68 //console.log('over'); 69 70 // clearInterval(qjia_popbar.loadDocument); 71 jQuery(window).load(function(){ 72 73 // æ«ä¸æ« 74 $('#wecat').hover(function(){ 75 $(this).append("<span class='overcat'>æ«ä¸æ«</span>") 76 /*if(location.host.split('.')[0]=="shanghai") 77 { 78 $(this).append("<span class='wecatimg'><a href='//www.jia.com/weixin/' tjjj='right.icons.weixin'><img src='//ued.jia.com/image/jiahome/2015/ewm/wecat_bg_sh.png' alt='é½å®¶äºç»´ç ' /></a></span>") 79 } 80 else 81 { 82 $(this).append("<span class='wecatimg'><a href='//www.jia.com/weixin/' tjjj='right.icons.weixin'><img src='//ued.jia.com/image/jiahome/2015/ewm/wecat_bg_domestic.png' alt='é½å®¶äºç»´ç ' /></a></span>") 83 }*/ 84 85 if(location.host.split('.')[0]=="shanghai") 86 { 87 $(this).append("<span class='wecatimg'><p style='display:block; position:relative;'><img src='https://fastued3.jia.com/image/jiahome/2015/ewm/wecat_bg_sh.png' alt='é½å®¶äºç»´ç ' /><a href='//www.jia.com/weixin/' tjjj='right.icons.weixin' style='display:block; position:absolute;width:125px; height:150px; top:0;left:0;background:url(about:blank);'></a></p></span>") 88 }else{ 89 $(this).append("<span class='wecatimg'><p style='display:block; position:relative;'><img src='https://fastued3.jia.com/image/jiahome/2015/ewm/wecat_bg_domestic.png' alt='é½å®¶äºç»´ç ' /><a href='//www.jia.com/weixin/' tjjj='right.icons.weixin' style='display:block; position:absolute;width:125px; height:150px; top:0;left:0;background:url(about:blank);'></a></p></span>") 90 } 91 92 },function(){ 93 $(this).find('.overcat').remove(); 94 $(this).find('.wecatimg').remove() 95 }) 96 //客ææå¡ 97 $('#server').hover(function(){ 98 $(this).find('.btnbox').append("<span class='server_online'>å¨çº¿å®¢æ</span>") 99 },function(){ 100 $(this).find('.server_online').remove() 101 }) 102 103 104 //å享 105 $('#share').hover(function(){ 106 $(this).append("<span class='server_online' style='line-height: 28px;cursor:pointer;'>å享</span>") 107 },function(){ 108 $(this).find('.server_online').remove() 109 }) 110 111 //è¿åé¡¶é¨ 112 $('#btop').hover(function(){ 113 $(this).find('.btnbox').append("<span class='server_online'>è¿åé¡¶é¨</span>") 114 },function(){ 115 $(this).find('.server_online').remove() 116 }) 117 118 119 qjia_popbar.i = jQuery('#qj_popbar'); 120 qjia_popbar.s = jQuery('#bdshare'); 121 qjia_popbar.sh = qjia_popbar.s.height(); 122 qjia_popbar.b = jQuery('#btn_share'); 123 qjia_popbar.h = qjia_popbar.i.height(); 124 qjia_popbar.t = jQuery('#backTop'); 125 qjia_popbar.tp = qjia_popbar.t.parent(); 126 qjia_popbar.bd = (window.opera)?(document.compatMode == "CSS1Compat"?jQuery('html'):jQuery('body')):jQuery('html,body'); 127 128 qjia_popbar.i.css({marginTop:-(qjia_popbar.h/2),visibility:'visible'}); 129 if(jQuery(window).scrollTop() != 0)qjia_popbar.tp.show(); 130 $('#share .server_online').live('click',function(){ 131 if(!qjia_popbar.isIE6) 132 { 133 if($('#bdshare').is(':hidden')) 134 { 135 $('#bdshare').show(); 136 } 137 else 138 { 139 $('#bdshare').hide(); 140 } 141 } 142 }); 143 /*qjia_popbar.b.parent().hover(function(){ 144 if(!qjia_popbar.s.is(':visible')){ 145 qjia_popbar.s.slideDown(400); 146 if(!qjia_popbar.isIE6)qjia_popbar.i.animate({marginTop:-(qjia_popbar.h/2 + qjia_popbar.sh/2)},400); 147 } 148 },function(){
149 if(qjia_popbar.s.is(':visible')){ 150 qjia_popbar.s.slideUp(400); 151 if(!qjia_popbar.isIE6)qjia_popbar.i.animate({marginTop:-(qjia_popbar.h/2)},400); 152 } 153 });*/ 154 qjia_popbar.b.hover(function(){qjia_popbar.overbgColor();},function(){qjia_popbar.outbgColor();}); 155 qjia_popbar.s.hover(function(){qjia_popbar.overbgColor();},function(){qjia_popbar.outbgColor();}); 156 157 qjia_popbar.t.click(function(){qjia_popbar.bd.animate({scrollTop:0},200);}); 158 159 160 var _flagShow = true; 161 if(qjia_popbar.isIE6){ 162 qjia_popbar.ie6Top = (jQuery(window).height()-qjia_popbar.h)/2; 163 qjia_popbar.i.css({marginTop:0,top:qjia_popbar.ie6Top +jQuery(window).scrollTop()}); 164 } 165 166 jQuery(window).scroll(function(){ 167 if(_flagShow){ 168 qjia_popbar.tp.fadeIn(); 169 _flagShow = false; 170 } 171 if(!_flagShow && jQuery(this).scrollTop()==0){ 172 qjia_popbar.tp.hide(); 173 _flagShow = true; 174 } 175 if(qjia_popbar.isIE6){ 176 qjia_popbar.i.css({top:qjia_popbar.ie6Top+jQuery(this).scrollTop()}); 177 } 178 179 }); 180 181 182 183 qjia_popbar.overbgColor = function(){qjia_popbar.b.css({backgroundColor:'#fff'});qjia_popbar.s.css({backgroundColor:'#fff'});} 184 qjia_popbar.outbgColor = function(){qjia_popbar.b.css({backgroundColor:'#fff'});qjia_popbar.s.css({backgroundColor:'#fff'});} 185 186 187 }); 188} 189 190 //} 191//},1000);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.