PageSourceSearch

https://www.tqedu.net/Template/Default/Skin/phone/js/imgshow-ini.js

js tqedu.net collected 2026-10-07 03:35:49 UTC 875 bytes, 27 lines download raw bytes

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.