CINXE.COM
微信登录
<!DOCTYPE html> <html> <head> <title>微信登录</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover"> <link href="https://res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico" rel="Shortcut Icon"> <!-- iframe & 客户端嵌入 --> <!--style--> <!-- 独立页面 --> <!-- 由于文件打包问题,暂时无法按需引入css,所以需要指定独立的命名空间 页面-独立页面:.web_qrcode_type_page_self 页面-webview内嵌:.web_qrcode_type_page_embedded iframe:.web_qrcode_type_iframe --> <link rel="stylesheet" href="https://res.wx.qq.com/t/wx_fed/weui-source/res/2.6.12/weui.min.css"> <!--style--> <!--[if IE]> <style> .weui-vertical-helper{ height:100%; } .web_qrcode_wrp{ margin-top:-100px; } .web_qrcode_type_page_self .web_qrcode_app{ vertical-align:middle; margin-top:-.2em; } </style> <![endif]--> <!--[if lt IE 9]> <style> .web_qrcode_type_page_self .web_qrcode_tips_logo{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAAEgklEQVRIDX1WW2hcVRRd596bmWSSTDKJIRk12ERF/ahIjBLTD0XwQRHRqiCFoogVHxT0oyj6oeBHWyNYUSooJR9+iFJRtAqFCCokCq0Wkqo1kpKQ2iQS0zwmmUdm7nXtfe+5TaatOzl377PP3ms/ziMxiCgx+9LWynplbwDTDwRZqusAYxAEytSMIgyHcCErO8anskD9jDFmxPXMQKnjnTFrAvfsi7uCiv8RHZLqLI4kw5+AP8IvRQGDE5A52IixVdG4zu7K1Qc/NolpZu5XjnMpWZ1gHOwi/xCI2P9XYNFz3Ns8gu8lUFJcbJ6Wa0B+LL7oVRfia+Za5YYKrC1NkoLt0WNb4EfqKgSZtrtpdHkt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MSp2U1MUtRqoIHIkqCNlqUZk4TKELN8oB8QipmBrJbKWGH1mK8qQv8/b6JpluvwPI3BkLSa7H9EeibOE4UsgJ1H/baHfCC/OgCbOtf8A30ktk6ag05kAAAAASUVORK5CYII="); } .web_qrcode_type_page_self .web_qrcode_msg_icon_success{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAImklEQVR4Ae2dXWwUVRTH751ttxTTWj4iaPiyQCAQRRKjpkATEGN8oA9KfBMLNUYfalTAZ94hIYEXQywQ46P6UJ74kAeKDYkmfgVDY0OqEEDDR0MjLUt3ruc/u1OHZZd778yd2dndu0kz05k7557z+9+ZuXNn5gxj9mcJWAKWgCVgCVgCloAlYAlYAo1GgKc54LYf35+fm8qtZy5f5TC2Sgj6Y2whZ6KN/G4TnGHKuGATNJkQjE9QQDc4ZyMuYyPMESPZWdmfJl48chPl0vhLlQCLhj9pvZ2/szUv2BaChb/nGFGNBI7Uou1/o7+zGc7Ozs3MOXO16+BkJJsGN44WnAFHhBC8dWhXN2HaIbjYTtN2A2Yrm+DsLhf8a5L1y8lNR89xTvtPFX9VE2DFH/0tV67/u5Ma6F4SobMaDAj+ZdrB9i9++oljoysP36+KD0lXisPMrenxD6jZ7SHwzyRdf7n6SIhr1BIPzGvq+Dzpw1Oie8Dsod5trssOEfxl5UBUexnBGHMc9tG9TcdPJOVLIgLM+r5vqZh2DzEmepIKLFo9fNDJNPdPbjzyVzQ78q1jF6D1fO+bbp4NkCsdcndSVWLcybC+yY3Hv43Tq9gEWHtxX/byrbEDrmD9cQYQt22Hs8Od85btubh2Xy6OumIRoH24b25u2j1BJ9muOJxO2iadpIezTc62u10Dt03XbVyA1gvvLXJz+ZNMiDWmna2qPc5/d7KZ1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2dbErL91xKwBCwBS8ASsAQsAUvAErAEGoDAf6rWCLsHcEYMAAAAAElFTkSuQmCC"); } .web_qrcode_type_page_self .web_qrcode_msg_icon_error{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAMPUlEQVR4Ae1dzYscxxXv6undeEESTiI7YS3Hsi5rjEOI40MQSiCL7ICCHbxfYB2EQ7BJhNaHRLroD9BF0kUrFOMQYkSwYaXdJTIScSIUSITIIY4DCsaLQZYlebGTOMhWQMpO91R+r7Znt7rqzXT3THfNrNUNw1S9rnr13u/VV1dXvfa86qoQqBCoEKgQqBCoEKgQqBCoEKgQuNsQEP2ssHzuuc3hnTvflL4/4ks5Ij1vREr5Vci8EYJv9ITYqOSX8hbu3UL4lhDiI9xbbAixKBqNxeCee94Wr7/+737Vs68MICcnh6JGYydAHgWgo0LKr+O/KxmRWUohLuP/Aoxzoeb758WpU7f7xSBdKVeEEgBbhFNT35VhuAfCTADwTUXwbcUDZXyGMk6LIDgZzM7+CUZBtHdXzwwgp6e/UF9a+hHq5wH8tvUEAiGuoBs7PDA8/GsxM/O/Xsjg3ADUzdTD8CcoeD+q3nBepVFj68iz2ufH+VfGBIwLaFEDuXl63hJkOTIQBC+77p6cGiAcH3+60WgcA0BbM4EkxAdIdwG19G9qQA2CRW929nqrboO6M29q6sEwDEdo4EbLehz5R/H/UKbyPO+q7/svBXNzb2RM33UyJwaQY2MPhZ53DAA9005iCEP98UWA9xqq8e/F3NyVdumz3pPj49vQbJ6CEXcjzw4U0lZvGPhMUKtNozVcy1pGp+naCtIpUz1fODExJqPoV1D6Xp2uh6HwPxE/AaVPQun39XtFh9EFPhxG0R7w3YsKcX8r/gDmpqjVfhycPj3fKk0R9NIMAEUHoyg60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RBnCD0TrX6kFsJzwEc2O1oGBeqTxm2A8jlPeqeqo95ukQ8pazVz9kK8Qg5DUFroR8d/2/3OduPMU4s4vNZi/DZ826/f842BYLqdoVAhUCFQIVAhUCFQIVAhUCFQIXA5xCB/wNlnoDhXKkb7wAAAABJRU5ErkJggg=="); } .web_qrcode_refresh_btn.web_qrcode_refresh_btn{ width:38px; height:38px; margin-top:-19px; margin-left:-19px; } .web_qrcode_refresh_icon.web_qrcode_refresh_icon{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmBAMAAABaE/SdAAAAMFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABaPxwLAAAAEHRSTlMAjBJ7RoNoCVc1Iz1yGixP4pDsqAAAARZJREFUKM9jwAfYFTDFaowwxQ4KYyp0FMRUyCKIoZBrRyC6QpVAQUE0hSVAISCYgCTEdFBQ8ESjoAiyMmVBUXcmQ0EHBgYlmBCQ+x0oLgJkGcOMZANy2cHKigUToGITQVxHEbAjJaFihmIgrgOImSgMEeITFILbpii4AExzgAyBG90AppmR3MopGACmCwUVEK6HmrNQEMn5grIQMWEkMUMpMHVRFFmdFNT+AkRMQc1jFXwAF+OD2ssm+AFEobiVWzAc4Q+oW9kD5eFijTA3OMI9wg0Pax7BOCAJcb4BzEOBgg5QZaJwb14VFAY5hytRMBZuMq+hoHD3TGCsC19A+EhDEAKSkGNzGVgoCzVxaH47nLGdgXIAAM7JK5fOrXo0AAAAAElFTkSuQmCC"); } .web_qrcode_img_mask{ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#DDFFFFFF', endColorstr='#DDFFFFFF'); } </style> <![endif]--> <link rel="stylesheet" href="//res.wx.qq.com/t/wx_fed/mp/connect/res/static/css/e10e8971107d1377fc7b8a1abf97eb7a.css"/></head> <body> <!-- 独立页面 --> <div id="tpl_for_page" class="web_qrcode_area" style="display: none;"> <span class="web_qrcode_wrp"> <!-- 默认 --> <div class="web_qrcode_initial_context js_status js_wx_default_tip"> <div class="web_qrcode_tips js_web_qrcode_tips_normal"><i class="web_qrcode_tips_logo"></i>使用微信扫一扫登录</div> <div class="web_qrcode_tips js_web_qrcode_tips_fast" style="display:none;"><i class="web_qrcode_tips_logo"></i>使用微信快捷登录</div> <div class="web_qrcode_app_wrp"> 「<strong class="web_qrcode_app">学术会议云</strong>」 </div> <!-- 普通登录 --> <div class="js_normal_login web_qrcode_img_area"> <div class="web_qrcode_img_wrp"> <img class="js_qrcode_img web_qrcode_img" src="/connect/qrcode/011t9FWn086H1w3m"/> <button style="display:none" type="button" class="weui-btn_reset web_qrcode_refresh_btn js_refresh_qrcode" title="刷新"><i class="web_qrcode_refresh_icon"></i></button> <i style="display:none" class="weui-loading js_refresh_qrcode_loading web_qrcode_refresh_loading"></i> <div style="display:none" class="web_qrcode_img_mask js_refresh_qrcode_mask"></div> </div> <div class="web_qrcode_switch_wrp js_switchToFast_wrp" style="display:none;"> <button type="button" class="weui-btn_reset weui-link js_switchToFast web_qrcode_switch">快捷登录</button> </div> </div> <!-- 快捷登录 --> <div class="js_quick_login" style="display: none;"> <div class="qlogin_mod"> <img src="https://res.wx.qq.com/t/fed_upload/937b4aa0-2cc5-42ec-81d7-e641da427fff/avatar_default.svg" alt="" class="js_quick_login_avatar qlogin_user_avatar"> <div class="js_quick_login_nickname qlogin_user_nickname">昵称</div> <button class="weui-btn weui-btn_primary js_quick_login_btn qlogin_btn" type="button">微信快捷登录</button> <div class="qlogin_msg js_quick_login_msg" style="display:none;">登录中...</div> <div class="web_qrcode_switch_wrp js_switchToNormal_wrp"> <button type="button" class="weui-btn_reset weui-link js_switchToNormal web_qrcode_switch">使用其他头像、昵称或账号</button> </div> </div> </div> </div> <!-- 扫码成功 --> <div class="web_qrcode_msg js_status js_wx_after_scan" style="display:none"> <i class="web_qrcode_msg_icon web_qrcode_msg_icon_success"></i> <h1 class="web_qrcode_msg_title">扫描成功</h1> <p class="web_qrcode_msg_desc">在微信中轻触允许即可登录</p> </div> <!-- 取消登录 --> <div class="web_qrcode_msg js_status js_wx_after_cancel" style="display:none"> <i class="web_qrcode_msg_icon web_qrcode_msg_icon_error"></i> <h1 class="web_qrcode_msg_title">你已取消此次登录</h1> <div class="web_qrcode_msg_opr"> <a href="javascript:;" class="weui-btn weui-btn_primary js_web_qrcode_reload">重试</a> </div> </div> </span> <span class="weui-vertical-helper"></span> </div> <!-- iframe、内嵌webview --> <div id="tpl_for_iframe" class="web_qrcode_panel_area" style="display: none;"> <!-- 普通登录 --> <div class="js_normal_login web_qrcode_panel_normal_login"> <!-- 旧版UI --> <div class="old-template" id="tpl_old_iframe"> <div class="main impowerBox"> <div class="loginPanel normalPanel"> <div class="title">微信登录</div> <div class="waiting panelContent"> <div class="wrp_code"> <img class="qrcode lightBorder js_qrcode_img" src="/connect/qrcode/011t9FWn086H1w3m"> </div> <div class="info"> <div class="status status_browser js_status js_wx_default_tip" id="wx_default_tip"> <p>使用微信扫一扫登录</p> <p>“学术会议云”</p> </div> <div class="status status_succ js_status js_wx_after_scan" style="display:none" id="wx_after_scan"> <i class="status_icon icon38_msg succ"></i> <div class="status_txt"> <h4>扫描成功</h4> <p>在微信中轻触允许即可登录</p> </div> </div> <div class="status status_fail js_status js_wx_after_cancel" style="display:none" id="wx_after_cancel"> <i class="status_icon icon38_msg warn"></i> <div class="status_txt"> <h4>你已取消此次登录</h4> <p>你可再次扫描登录,或关闭窗口</p> </div> </div> </div> </div> <div class="web_qrcode_switch_wrp js_switchToFast_wrp" style="display:none"> <button type="button" class="weui-btn_reset weui-link js_switchToFast web_qrcode_switch">快捷登录</button> </div> </div> </div> </div> <!-- 2024年版UI --> <div class="web_qrcode_panel_wrp" id="tpl_iframe" style="display:none;"> <div class="web_qrcode_panel"> <div class="web_qrcode_initial_context js_status js_wx_default_tip"> <div class="web_qrcode_img_wrp"> <img class="js_qrcode_img web_qrcode_img" src="/connect/qrcode/011t9FWn086H1w3m"/> <button style="display:none" type="button" class="weui-btn_reset web_qrcode_refresh_btn js_refresh_qrcode" title="刷新"><i class="web_qrcode_refresh_icon"></i></button> <i style="display:none" class="weui-loading js_refresh_qrcode_loading web_qrcode_refresh_loading"></i> <div style="display:none" class="web_qrcode_img_mask js_refresh_qrcode_mask"></div> </div> </div> <div class="web_qrcode_msg web_qrcode_msg_success js_status js_wx_after_scan" style="display:none"> <div class="web_qrcode_msg_icon_area"> <i class="web_qrcode_msg_icon web_qrcode_msg_icon_success"></i> </div> <div class="web_qrcode_msg_text_area"> <h4 class="web_qrcode_msg_title">扫描成功</h4> <p class="web_qrcode_msg_desc">在微信中轻触允许即可登录</p> </div> </div> <div class="web_qrcode_msg web_qrcode_msg_error js_status js_wx_after_cancel" style="display:none"> <div class="web_qrcode_msg_icon_area"> <i class="web_qrcode_msg_icon web_qrcode_msg_icon_error"></i> </div> <div class="web_qrcode_msg_text_area"> <h4 class="web_qrcode_msg_title">你已取消此次登录</h4> <p class="web_qrcode_msg_desc">你可<a class="weui-link js_web_qrcode_reload" href="javascript:;">再次登录</a>,或关闭窗口</p> </div> </div> <span class="weui-vertical-helper"></span> </div> <div class="web_qrcode_switch_wrp js_switchToFast_wrp" style="display:none"> <button type="button" class="weui-btn_reset weui-link js_switchToFast web_qrcode_switch">快捷登录</button> </div> </div> </div> <!-- 快捷登录 --> <div class="js_quick_login web_qrcode_panel_quick_login" style="display: none;"> <div class="qlogin_mod"> <img src="https://res.wx.qq.com/t/fed_upload/937b4aa0-2cc5-42ec-81d7-e641da427fff/avatar_default.svg" alt="" class="js_quick_login_avatar qlogin_user_avatar"> <div class="js_quick_login_nickname qlogin_user_nickname">昵称</div> <button class="weui-btn weui-btn_primary js_quick_login_btn qlogin_btn" type="button">微信快捷登录</button> <div class="qlogin_msg js_quick_login_msg" style="display:none;">登录中...</div> <div class="web_qrcode_switch_wrp js_switchToNormal_wrp"> <button type="button" class="weui-btn_reset weui-link js_switchToNormal web_qrcode_switch">使用其他头像、昵称或账号</button> </div> </div> </div> </div> <div class="qlogin_authorize_mask weui-mask_transparent" id="quick_login_authorize_mask"></div> <div role="alert" class="qlogin_toast" id="quick_login_success_toast"> <div class="weui-mask_transparent"></div> <div class="weui-toast"> <i class="weui-icon-success-no-circle weui-icon_toast"></i> <p class="weui-toast__content">已允许</p> </div> </div> <div role="alert" class="qlogin_toast" id="quick_login_fail_toast"> <div class="weui-mask_transparent"></div> <div class="weui-toast"> <i class="weui-icon-close weui-icon_toast"></i> <p class="weui-toast__content">已拒绝</p> </div> </div> <div role="alert" class="qlogin_toast" id="quick_login_error_toast"> <div class="weui-mask_transparent"></div> <div class="weui-toast weui-toast_text"> <p class="weui-toast__content">系统错误,请刷新重试</p> </div> </div> <div role="alert" class="qlogin_toast" id="quick_login_timeout_toast"> <div class="weui-mask_transparent"></div> <div class="weui-toast"> <i class="weui-icon-warn weui-icon_toast"></i> <p class="weui-toast__content" id="quick_login_error_msg">登录超时</p> </div> </div> <div role="alert" class="qlogin_toast" id="quick_login_loading_toast"> <div class="weui-mask_transparent"></div> <div class="weui-toast"> <span class="weui-loading weui-icon_toast"></span> <p class="weui-toast__content">正在加载</p> </div> </div> <script src="https://res.wx.qq.com/t/wx_fed/cdn_libs/res/jquery/1.11.3/jquery.min.js"></script> <script> // @cunjin 下面的变量是给开发者工具用的,inline到html里面,一定不能删掉 var fordevtool = "https://long.open.weixin.qq.com/connect/l/qrconnect?uuid=011t9FWn086H1w3m" // console.log('devtool use', fordevtool) </script> <script> var usenewdomain = '1' * 1 || 0; </script> <!--script--> <!--script--> <!--script--> <script>!function(e){function n(o){if(t[o])return t[o].exports;var s=t[o]={exports:{},id:o,loaded:!1};return e[o].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}var t={};return n.m=e,n.c=t,n.p="//res.wx.qq.com/t/wx_fed/mp/connect/res",n(0)}([function(e,n,t){e.exports=t(9)+t(10)+t(11)},,,function(e,n){},,,,function(e,n){},,function(module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var n=meta[e];return"string"==typeof n?n:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,n){var t,o,s,i,c,r=gap,a=n[e];switch(a&&"object"==typeof a&&"function"==typeof a.toJSON&&(a=a.toJSON(e)),"function"==typeof rep&&(a=rep.call(n,e,a)),typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";if(gap+=indent,c=[],"[object Array]"===Object.prototype.toString.apply(a)){for(i=a.length,t=0;t<i;t+=1)c[t]=str(t,a)||"null";return s=0===c.length?"[]":gap?"[\n"+gap+c.join(",\n"+gap)+"\n"+r+"]":"["+c.join(",")+"]",gap=r,s}if(rep&&"object"==typeof rep)for(i=rep.length,t=0;t<i;t+=1)"string"==typeof rep[t]&&(o=rep[t],s=str(o,a),s&&c.push(quote(o)+(gap?": ":":")+s));else for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(s=str(o,a),s&&c.push(quote(o)+(gap?": ":":")+s));return s=0===c.length?"{}":gap?"{\n"+gap+c.join(",\n"+gap)+"\n"+r+"}":"{"+c.join(",")+"}",gap=r,s}}var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,n,t){var o;if(gap="",indent="","number"==typeof t)for(o=0;o<t;o+=1)indent+=" ";else"string"==typeof t&&(indent=t);if(rep=n,n&&"function"!=typeof n&&("object"!=typeof n||"number"!=typeof n.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(e,n){var t,o,s=e[n];if(s&&"object"==typeof s)for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(o=walk(s,t),void 0!==o?s[t]=o:delete s[t]);return reviver.call(e,n,s)}var j;if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},function(e,n){function t(e,n){for(var t=new Array,o=0;o<e.length;o++)if("&"==e.charAt(o)){var s=[3,4,5,9],i=0;for(var c in s){var r=s[c];if(o+r<=e.length){var a=e.substr(o,r).toLowerCase();if(n[a]){t.push(n[a]),o=o+r-1,i=1;break}}}0==i&&t.push(e.charAt(o))}else t.push(e.charAt(o));return t.join("")}function o(){for(var e=new Object,n="'\"<>`script:daex/hml;bs64,",o=0;o<n.length;o++){for(var s=n.charAt(o),i=s.charCodeAt(),c=i,r=i.toString(16),a=0;a<7-i.toString().length;a++)c="0"+c;e["&#"+i+";"]=s,e["&#"+c]=s,e["&#x"+r]=s}e["<"]="<",e[">"]=">",e["""]='"';var l=location.href,d=document.referrer;l=decodeURIComponent(t(l,e)),d=decodeURIComponent(t(d,e));var _=new RegExp("['\"<>`]|script:|data:text/html;base64,");if(_.test(l)||_.test(d)){var u="1.3",A="http://zyjc.sec.qq.com/dom",p=new Image;p.src=A+"?v="+u+"&u="+encodeURIComponent(l)+"&r="+encodeURIComponent(d),l=l.replace(/['\"<>`]|script:/gi,""),l=l.replace(/data:text\/html;base64,/gi,"data:text/plain;base64,"),location.href=l}}o()},function(e,n){!function(){function e(e){var n=document.location.search?document.location.search.substring(1):document.location.hash.substring(1);if(n){if(null==e)return decodeURIComponent(n);for(var t=n.split("&"),o=0;o<t.length;o++){var s=t[o].split("=");if(s[0]===e)return decodeURIComponent(s[1]||"")}}return""}function n(e,n){n||(n=window.location.href),e=e.replace(/[\[\]]/g,"\\</body>");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),o=t.exec(n);return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null}function t(e){var n=document.location.search||document.location.hash;if(n){if("?"===n[0]&&(n=n.slice(1)),null===e)return decodeURIComponent(n);for(var t=n.split("&"),o=0,s=t.length;o<s;o++){var i=t[o].split("=");if(i[0]===e)return!0}}return!1}function o(t,o,s){Math.random()>=1-(Number(s)||.1)&&((new Image).src="https://support.weixin.qq.com/cgi-bin/mmsupportmeshnodelogicsvr-bin/cube?biz=3512&label=connect.qrconnect&"+t+"="+o+"&msg="+e("appid")+"&idx1="+e("scope")+"&idx2="+encodeURIComponent(encodeURIComponent(n("redirect_uri"))))}function s(e){jQuery.ajax({type:"GET",url:B+"/connect/l/qrconnect?uuid="+O+(e?"&last="+e:""),dataType:"script",cache:!1,timeout:6e4,success:function(e,n,t){o("action","connect_qrconnect_longpull_success",.01);var i=window.wx_errcode;switch(i){case 405:o("action","connect_qrconnect_longpull_success_405",.01);var c="http://www.allconfs.org/wechat2/user4.asp";if(c=c.replace(/&/g,"&"),c+=(c.indexOf("?")>-1?"&":"?")+"code="+wx_code+"&state=CE09CB3BC6D26CBADFB74F797B66F67A",console.log("扫码redirect_uri: ",c),f)if("true"!==D&&"false"!==D)try{document.domain="qq.com";var r=window.top.location.host.toLowerCase();r&&(window.location=c)}catch(e){window.top.location=c}else if("true"===D)try{window.location=c}catch(e){window.top.location=c}else window.top.location=c;else window.location=c;break;case 404:o("action","connect_qrconnect_longpull_success_404",.01),jQuery(".js_status").hide(),jQuery(".js_qr_img").hide(),jQuery(".js_wx_after_scan").show(),setTimeout(s,100,i);break;case 403:o("action","connect_qrconnect_longpull_success_403",.01),jQuery(".js_status").hide(),jQuery(".js_qr_img").hide(),jQuery(".js_wx_after_cancel").show(),setTimeout(s,2e3,i);break;case 402:o("action","connect_qrconnect_longpull_success_402",.01),U=!0,f&&1!==v||y?$(".js_qrcode_img").attr("src","https://res.wx.qq.com/t/fed_upload/46a73b115c002aa8d49ae255da18c592/qrcode_expired.jpg"):($(".js_refresh_qrcode").show(),$(".js_refresh_qrcode_mask").show());break;case 500:o("action","connect_qrconnect_longpull_success_500",.01),setTimeout(function(){window.location.reload()},200);break;case 408:o("action","connect_qrconnect_longpull_success_408",.01),G&&0!==N||setTimeout(s,2e3);break;default:o("action","connect_qrconnect_longpull_success_others",.01)}},error:function(e,n,t){o("action","connect_qrconnect_longpull_error",.01);var i=window.wx_errcode;408==i?(o("action","connect_qrconnect_longpull_error_408",.01),setTimeout(s,5e3)):(o("action","connect_qrconnect_longpull_error_others",.01),setTimeout(s,5e3,i))}})}function i(e,n){var t,o,s=screen.width,i=screen.height,c=window.outerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=window.outerHeight||document.documentElement.clientHeight||document.body.clientHeight,a=window.screenX||window.screenLeft||0,l=window.screenY||window.screenTop||0,d=window.screen.availLeft||0,_=window.screen.availTop||0;return window.top!=window?void 0===window.screen.availLeft?(t=a+c/2-e/2,o=l+r/2-n/2,console.log("availLeft undefined && centerX: ",t)):(t=s/2-e/2+d,o=i/2-n/2+_,console.log("centerX: ",t)):(t=a+c/2,o=l+r/2,t=0===d?Math.min(Math.max(t-e/2,0),s+d-e):Math.min(Math.max(t-e/2,d),s+d-e),o=0===_?Math.min(Math.max(o-n/2,0),i+_-n):Math.min(Math.max(o-n/2,_),i+_-n)),{x:t,y:o}}function c(e,n,t,o,s,i,r){return r||(r=jQuery.Deferred()),0===e.length?($(".js_quick_login").hide(),$(".js_normal_login").show(),$(".js_switchToFast_wrp").hide(),$(".js_web_qrcode_tips_fast").hide(),$(".js_web_qrcode_tips_normal").show(),G=!1,console.log("所有端口均无法连接"),r.resolve(),r.promise()):(console.log("当前port: ",e[0]),$.ajax({url:"https://localhost.weixin.qq.com:"+e[0]+n,type:t,cache:!1,contentType:"application/json",data:JSON.stringify(o),success:function(n){s&&s(n),r.resolve(n,e[0])},error:function(a,l,d){console.log("端口"+e[0]+"连接失败,尝试下一个端口"), e.length>1?c(e.slice(1),n,t,o,s,i,r):(i&&i(),r.resolve(!1))}}),r.promise())}function r(t){return console.log("checklogin post redirect_uri",n("redirect_uri")),c(t,"/api/check-login","POST",{apiname:"qrconnectchecklogin",jsdata:{appid:e("appid"),scope:e("scope"),redirect_uri:n("redirect_uri"),state:n("state")||""}},function(e){o("action","connect_qrconnect_checkLogin_succ",1)},function(){o("action","connect_qrconnect_checkLogin_fail",1)})}function a(e){var n=e.errcode;return!(0!==n||!M)}function l(e,n){if(e){var t=JSON.parse(e);return console.log("登录状态检查成功",t),K=n,console.log("连通port: ",K),V=t.jsdata&&t.jsdata.authorize_uuid||"",a(t)}return!1}function d(e,n){if(n)var t=JSON.parse(n);e?(o("action","connect_qrconnect_fastLogin_show",1),$(".js_quick_login").show(),$(".js_normal_login").hide(),$(".js_switchToFast_wrp").show(),$(".js_web_qrcode_tips_fast").show(),$(".js_web_qrcode_tips_normal").hide(),$(".js_quick_login_nickname").text(t.jsdata&&t.jsdata.nickname||""),$(".js_quick_login_avatar").attr("src",t.jsdata&&t.jsdata.headimgurl||"https://res.wx.qq.com/t/fed_upload/937b4aa0-2cc5-42ec-81d7-e641da427fff/avatar_default.svg")):($(".js_quick_login").hide(),$(".js_normal_login").show(),$(".js_switchToFast_wrp").hide(),$(".js_web_qrcode_tips_fast").hide(),$(".js_web_qrcode_tips_normal").show())}function _(e,n){for(var t=!1,o=0,s=0;s<e.length;s++)!function(s){e[s].then(function(s,i){t||(console.log("before handle, fastLogin: ",G),G=l(s,i),console.log("after handle, fastLogin: ",G),G&&(t=!0,d(!0,s),n()),o++,t||o!==e.length||(d(!1,!1),n()))})}(s)}function u(e,n){for(var t=[],o=0;o<e.length;o++)t.push(r([e[o]]));_(t,n)}function A(){N=0,$(".js_quick_login").hide(),$(".js_normal_login").show(),$(".js_switchToFast_wrp").show(),$(".js_web_qrcode_tips_fast").hide(),$(".js_web_qrcode_tips_normal").show(),setTimeout(s,100)}function p(){N=1,$("#quick_login_loading_toast").fadeIn(300),console.log("连通port: ",K),u([K],function(){console.log("switchToQuickLogin, fastLogin: ",G),$("#quick_login_loading_toast").fadeOut(300),G||setTimeout(s,1e3)})}function g(){var e=jQuery.Deferred(),n=window.location.href.replace(/#.*$/,"")+"&f=xml&"+(new Date).getTime();return jQuery.ajax({url:n,type:"GET",dataType:"xml",cache:!1,success:function(n){$(".js_refresh_qrcode_loading").hide(),$(".js_refresh_qrcode_mask").hide(),O=jQuery(n).find("uuid").text(),$(".js_qrcode_img").attr("src","/connect/qrcode/"+O),setTimeout(s,2e3),e.resolve()},error:function(n,t,o){$(".js_refresh_qrcode_loading").hide(),$(".js_refresh_qrcode_mask").hide(),$("#quick_login_error_toast").fadeIn(300,function(){var e=this;setTimeout(function(){$(e).fadeOut(300)},1e3)}),console.log("qrcode img error: ",t,o),e.resolve()}}),e.promise()}function w(){var e=jQuery.Deferred();return setTimeout(function(){e.resolve()},1e3),jQuery(window).load(function(){e.resolve()}),e.promise()}"undefined"==typeof console?console={log:function(){},error:function(){}}:("undefined"==typeof console.log&&(console.log=function(){}),"undefined"==typeof console.error&&(console.error=function(){})),jQuery(".js_web_qrcode_reload").click(function(){window.location.reload()});var f=window.top!=window,m=t("self_redirect")||t("style")||t("href")||t("oldstyle"),h=parseInt(e("styletype"),10),q=NaN,b="",v=parseInt(n("stylelite"),10),y=!1;if(1!==h&&0!==h&&1===q&&(h=0),1!==v&&1!==h&&0!==h&&b){y=!0,o("action","connect_qrconnect_css_href");var j=document.createElement("link");j.rel="stylesheet",j.href=b.replace(new RegExp("javascript:","gi"),""),document.getElementsByTagName("head")[0].appendChild(j)}if(1===v&&(jQuery("#tpl_old_iframe").hide(),jQuery("#tpl_iframe").show()),f){o("action","connect_qrconnect_iframe"),document.body.className+=" web_qrcode_type_iframe";var x="";"white"!=x&&(document.body.style.color="#373737"),jQuery("#tpl_for_iframe").show()}else{o("action","connect_qrconnect_page"),document.getElementsByClassName||(document.getElementsByClassName=function(e){for(var n=[],t=new RegExp("(^| )"+e+"( |$)"),o=document.getElementsByTagName("*"),s=0,i=o.length;s<i;s++)t.test(o[s].className)&&n.push(o[s]);return n});for(var k=document.getElementsByClassName("status"),E=0,T=k.length;E<T;++E){var Q=k[E];Q.className=Q.className+" normal"}if(m)o("action","connect_qrconnect_page_embedded"),document.body.className+=" web_qrcode_type_page_embedded",document.body.style.backgroundColor="#333333",document.body.style.padding="50px",jQuery("#tpl_for_iframe").show();else{o("action","connect_qrconnect_page_self");var C=document.createElement("meta");C.name="color-scheme",C.content="light dark",document.getElementsByTagName("head")[0].appendChild(C),document.body.className+=" web_qrcode_type_page_self",jQuery("#tpl_for_page").show()}}var B=window.usenewdomain?"https://lp.open.weixin.qq.com":"https://long.open.weixin.qq.com",D=n("self_redirect"),O="011t9FWn086H1w3m",U=!1,S=!1,I=360,F=263,N=-1,G=!1,M=0!==parseInt(n("fast_login"),10);console.log("fast_login: ",n("fast_login")),console.log("fastLogin_enabled: ",M);var V,K,R,z=[14013,14014,14015,13013,13014,13015];$(".js_quick_login_btn").click(function(){o("action","connect_qrconnect_fastLogin_click",1);var t=i(I,F);$(".js_quick_login_btn").prop("disabled",!0),console.log("发起authorize请求,port=",K),console.log("authorize post redirect_uri",n("redirect_uri")),$.ajax({url:"https://localhost.weixin.qq.com:"+K+"/api/authorize",type:"POST",cache:!1,contentType:"application/json",data:JSON.stringify({apiname:"qrconnectfastauthorize",jsdata:{data:JSON.stringify({x:t.x,y:t.y}),appid:e("appid"),scope:e("scope"),redirect_uri:n("redirect_uri"),state:n("state")||"",authorize_uuid:V}}),success:function(e){$(".js_quick_login_btn").prop("disabled",!1),console.log("服务器返回:",e);var n=JSON.parse(e);switch(console.log("json:",n),R=n.errcode,console.log("code:",R),R){case 0:console.log("允许登录"),$(".js_quick_login_btn").hide(),$(".js_switchToNormal_wrp").hide(),$(".js_quick_login_msg").show(),$("#quick_login_success_toast").fadeIn(300,function(){var e=this;setTimeout(function(){if($(e).fadeOut(300),f)if("true"!==D&&"false"!==D)try{document.domain="qq.com";var t=window.top.location.host.toLowerCase();t&&(window.location=n.jsdata.redirect_url)}catch(e){window.top.location=n.jsdata.redirect_url}else if("true"===D)try{window.location=n.jsdata.redirect_url}catch(e){window.top.location=n.jsdata.redirect_url}else window.top.location=n.jsdata.redirect_url;else window.location=n.jsdata.redirect_url},1e3)}),o("action","connect_qrconnect_fastLogin_succ",1);break;case 10050:console.log("拒绝登录"),A(),$("#quick_login_fail_toast").fadeIn(300,function(){var e=this;setTimeout(function(){$(e).fadeOut(300)},1e3)}),o("action","connect_qrconnect_fastLogin_reject",1);break;case 10046:console.log("登录超时,authorize_uuid已过期"),$("#quick_login_timeout_toast").fadeIn(300,function(){var e=this;setTimeout(function(){$(e).fadeOut(300,function(){window.location.reload()})},1e3)}),o("action","connect_qrconnect_fastLogin_fail",1);break;default:A(),jQuery(".js_switchToFast_wrp").hide(),o("action","connect_qrconnect_fastLogin_fail_switchto_normal",1)}},error:function(e){console.error("authorize req error",e),A(),jQuery(".js_switchToFast_wrp").hide(),o("action","connect_qrconnect_fastLogin_fail_switchto_normal",1)}})}),$(".js_switchToFast").click(function(){p(),o("action","connect_qrconnect_switchto_fast",1)}),$(".js_switchToNormal").click(function(){A(),o("action","connect_qrconnect_switchto_normal",1)}),$(".js_refresh_qrcode").click(function(){o("action","connect_qrconnect_refresh_qrcode_btn",1),$(".js_refresh_qrcode").hide(),$(".js_refresh_qrcode_loading").show(),g().then(function(){U=!1})}),$(".js_qrcode_img").click(function(){U&&(o("action","connect_qrconnect_refresh_qrcode_img",1),g().then(function(){U=!1})),S&&window.location.reload()}),$(".js_qrcode_img").on("error",function(){S=!0,$(this).attr("src","https://res.wx.qq.com/t/fed_upload/46a73b115c002aa8d49ae255da18c592/qrcode_expired.jpg")});var Y,L;w().then(function(){o("action","connect_qrconnect_ready"),setTimeout(s,100),M&&(Y=Date.now(),L=new Date(Y),console.log("checklogin请求发起: "+L.toString()),u(z,function(){console.log("fastLogin: ",G);var e=Date.now(),n=new Date(e),t=e-Y;console.log("请求结束: "+n.toString()),console.log("请求时长: "+t+" ms")}))})}()}]);</script></body> </html>