1var iswx= (function(){ 2return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1 3} 4)(); 5 6/*è°ç¨å¾®ä¿¡é¢è§å¾ççæ¹æ³*/ 7function funcReadImgInfo(){ 8 var imgs = []; 9 var imgObj = $("[tq-con='true'] img");//è¿éæ¹æç¸åºç对象 10 for(var i=0; i<imgObj.length; i++){ 11 var srcTemp=imgObj.eq(i).attr('src'); 12 if(srcTemp.indexOf("http")==-1){srcTemp="http://www.tqedu.net"+srcTemp;} 13 imgs.push(srcTemp); 14 } 15 if(iswx){ 16 imgObj.click(function(){ 17 var nowImgurl = $(this).attr('src'); 18 if(nowImgurl.indexOf("http")==-1){nowImgurl="http://www.tqedu.net"+nowImgurl;} 19 WeixinJSBridge.invoke("imagePreview",{ 20 "urls":imgs, 21 "current":nowImgurl 22 }); 23 }); 24 } 25} 26funcReadImgInfo(); 27
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.