addClass("safe-open"):$("#btn-normal-download").removeClass("safe-open")}}};e.exports=l},function(e,n,o){var t,a=o(0),i=o(1),r=a.getQuery,d={};d.winStyleType=-1,d.useTbsPopWin=!(!(t=window.AppInfoData)||!t.identityInfo||1!=t.identityInfo.recmdQQBrowserFlag||!(i.os.android&&i.browser.wechat&&window.tbs_bridge&&window.tbs_bridge.nativeExec)),d.showPopWin=function(e,n,o,t){if(d.useTbsPopWin){var a=$.extend({posId:e},n);if(location.host.indexOf("cs0309")>=0||location.host.indexOf("sparta")>=0){var i=r("tbs_type");i>=1&&(a.type=i)}var s=window.tbs_bridge.nativeExec("ug","showBrowserListDialog",-1,JSON.stringify(a));if(s)try{s=JSON.parse(s)}catch(e){console.error(e)}s&&s.code>=0?(d.winStyleType=s.type,o&&o()):(d.useTbsPopWin=!1,t&&t())}else t&&t()},e.exports=d},function(e,n,o){var t=o(1),a=o(0),i=o(2),r=o(5),d=o(3),s=a.getQuery,l=d.report,c=!1;function p(){if(3!=window.templateId)return 1==window.templateId||2==window.templateId?($(".main").addClass("showbanner"),void $("#appbao-download-banner").removeClass("invisible")):void $("#appbao-download-banner").show()}function w(){if(3!=window.templateId)return 1==window.templateId||2==window.templateId?($(".main").removeClass("showbanner"),void $("#appbao-download-banner").addClass("invisible")):void $("#appbao-download-banner").hide()}e.exports={init:function(e,n){if(1e3!=s("fromcase")&&!n&&"com.tencent.wework"!=e.packageName&&0!=$("#appbao-download-banner").length&&!c){c=!0;var o=$("#appbao-download-banner .btn-close");$("#appbao-download-banner .btn-appbao-download").bind(UI.EVENTS.touchstart,(function(e){var n=$("#btn-fast-download").hasClass("btn-unactive"),o=$(e.target);i.report({eventName:i.clickBtnEventName.bannerDownloadBtn,eventResult:i.clickActionEventResult.downloadQQDownloader}),function(){var e="";e=t.browser.qqbrowser?"mtt_banner_ndclick":"other_banner_ndclick";l(e)}(),n||(o.addClass("btn-unactive"),setTimeout((function(){o.removeClass("btn-unactive")}),500),setTimeout((function(){var e=r.getAppBaoDownUrl("sourcecheck");e&&(location.href=e)}),0))})),o.bind("click",(function(){i.report({eventName:i.clickBtnEventName.bannerCloseBtn,eventResult:i.clickActionEventResult.close}),w()})),p(),i.report({eventName:i.pvEventName.banner}),function(){var e="";e=t.browser.qqbrowser?"mtt_bannerpv":"other_bannerpv";l(e)}()}},show:p,hide:w}},function(e,n,o){var t=o(4),a=o(2);function i(){1==window.templateId||2==window.templateId?$("#normaldialog").addClass("invisible"):$("#normaldialog").hide()}e.exports={init:function(){$("#normaldialog .btn-close").off("click").on("click",(function(){a.report({eventName:a.clickBtnEventName.normalDownloadConfirmDialogCloseBtn,eventResult:a.clickActionEventResult.close}),i()})),t.isForKingCard&&($("#normalDownDialogTips").text("(如果您是大王卡用户,建议选择免流下载)"),$("#normalOpenDialogFastDownBtn").text("免流下载"))},show:function(e){e=e||{},$("#normaldialog .appname").text(e.appname||""),$("#normaldialog .btn-ok").off("click").on("click",e.ok||function(){i()}),$("#normaldialog .btn-cancel").off("click").on("click",e.cancel||function(){i()}),1==window.templateId||2==window.templateId?$("#normaldialog").removeClass("invisible"):$("#normaldialog").show()},hide:i}},function(e,n){function o(){$("#normalopendialog").hide()}e.exports={init:function(){$("#normalopendialog .btn-close").off("click").on("click",(function(){o()}))},show:function(e){e=e||{},$("#normalopendialog .appname").text(e.appname||""),$("#normalopendialog .btn-ok").off("click").on("click",e.ok||function(){o()}),$("#normalopendialog .btn-cancel").off("click").on("click",e.cancel||function(){o()}),$("#normalopendialog").show()},hide:o}},function(e,n,o){var t=o(3),a=o(2),i=t.report;e.exports={init:function(e){2==window.templateId||1==window.templateId?function(e){$('<section class="dialog-container" id="opentipsdialog"> <div class="dialog"> <div class="close btn-close"></div> <div class="text"> <p>即将打开第三方应用。(部分浏览器存在打开限制,若打开失败,可前往桌面直接打开)</p> </div> <div class="action"> <a href="'+e+'" class="btn-apple btn-ok">打开</a> </div> </div></section>').appendTo("body>article")}(e):0!=window.templateId&&3!=window.templateId||function(e){$('<div class="mod-mask" id="opentipsdialog"> <section class="mod-dialog"> <h2 class="mod-dialog-header">打开提示<i class="mod-close-btn btn-close"></i></h2> <div class="mod-dialog-content"> <p>即将打开第三方应用。(部分浏览器存在打开限制,若打开失败,可前往桌面直接打开)</p> </div> <div class="mod-dialog-footer"> <a href="'+e+'" class="btn-ok w-btn btn-medium clickable is-blue">打开</a> </div> </section></div>').appendTo("body")}(e),i("other_opendialog_pv"),a.report({eventName:a.pvEventName.browserOpenAppTipsDialog}),function(e){$("#opentipsdialog .btn-ok").on("click",(function(){if(i("other_opendialog_okclick"),a.report({eventName:a.clickBtnEventName.browserOpenAppTipsDialogOkBtn,eventResult:a.clickActionEventResult.openCpApp,eventExtInfo:e}),$("#opentipsdialog").hide(),UI.pageVisibility.isPageVisibilitySupport){var n=new Date;setTimeout((function(){var o;o=new Date,parseInt(o.getTime(),10)-parseInt(n.getTime(),10)<3e3&&(UI.pageVisibility.isHidden()||(location.href=e))}),2e3)}})),$("#opentipsdialog .btn-close").on("click",(function(){a.report({eventName:a.clickBtnEventName.browserOpenAppTipsDialogCloseBtn,eventResult:a.clickActionEventResult.close}),$("#opentipsdialog").hide()}))}(e)}}},function(e,n){e.exports={init:function(){window.BJ_REPORT.init({id:28818,combo:1,delay:1e3,url:"https://badjs.3g.qq.com/badjs",ignore:[],random:location.href.indexOf("debug")>0?1:.001,repeat:5,onReport:function(e,n){console.error(e,n)},ext:{}})}}},function(e,n,o){var t=o(0);e.exports={loadAndInit:function(){t.loadScript(location.protocol+"//"+location.host+"/o/res/dist/js/tcss.min.js",(function(){if(window.tcssPV){var e=t.getQuery("pkgname")+t.getQuery("fromcase"),n=document.referrer||"",o=n.match(/(\w+):\/\/([^:|/]+)(:\d*)?(.*\/)([^#|?|\n]+)?(#.*)?(\?.*)?/i)||[];window.tcssPV.send("micro.a.app.com",e,{referURL:n||"-",referDomain:o[2]||"-",referPath:o[4]||"-"})}}))}}},function(e,n,o){var t=o(0),a=o(1),i=o(2),r=o(3),d=o(6),s=o(5),l=t.getQuery,c=t.formatProtocol,p=t.debug,w=r.report;e.exports={init:function(e){e&&e.

Prev | Next
Pg.: 1 ... 35 36 37 38 39 40 41


Back to home | File page

Subscribe | Register | Login | N