- 小程序webview嵌入公众号网页,不能弹出授权按钮,页面展示空白
详情请看代码片段 https://developers.weixin.qq.com/s/dNHLxemg7ipm
2021-04-01 - 电脑版微信网页授权提示请在微信客户端打开链接?
访问以下链接会跳转到公众号授权,手机版微信可以正常访问,mac版微信也可以正常,在window版微信上会跳转到白屏页面 https://jyzy.fzzqcdn.com/s/articledata/ARTICLE15888939130811?isshare=true&pid=74cefab8-8217-4acf-88ca-b23a05d55fda&pidUserId=liwei16&ubrUuid=2ebf6c2c-0f1c-45cb-8402-eba6d658d41b&ubrSourceRefid=liwei16 查看页面源代码,里面显示”请在微信客户端打开链接“ https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx05924e5e43f814a9&response_type=code&scope=snsapi_userinfo&connect_redirect=1&state=5f77fe439f2b4809b273510c700f7ebb&redirect_uri=https://weixin.foundersc.com/wx/rewrite/nosilence?nextUrl=https%3A%2F%2Fjyzy.fzzqcdn.com%2FfaTools%2Fh6%2Fwxuserinfo%2Fgreet#wechat_redirect <!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0"> <title>WECHAT_EMPTY_TITLE</title><style id="__WXWORK_INNER_SCROLLBAR_CSS">::-webkit-scrollbar { width: 12px !important; height: 12px !important; }::-webkit-scrollbar-track:vertical { }::-webkit-scrollbar-thumb:vertical { background-color: rgba(136, 141, 152, 0.5) !important; border-radius: 10px !important; background-clip: content-box !important; border:2px solid transparent !important; } ::-webkit-scrollbar-track:horizontal { }::-webkit-scrollbar-thumb:horizontal { background-color: rgba(136, 141, 152, 0.5) !important; border-radius: 10px !important; background-clip: content-box !important; border:2px solid transparent !important; } ::-webkit-resizer { display: none !important; }</style></head> <body> <script type="text/javascript"> var ua = navigator.userAgent.toLowerCase(); var isWeixin = ua.indexOf('micromessenger') != -1; var isAndroid = ua.indexOf('android') != -1; var isIos = (ua.indexOf('iphone') != -1) || (ua.indexOf('ipad') != -1); if (!isWeixin) { document.head.innerHTML = '<title>抱歉,出错了</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0"><link rel="stylesheet" type="text/css" href="https://res.wx.qq.com/open/libs/weui/0.4.1/weui.css">'; document.body.innerHTML = '<div class="weui_msg"><div class="weui_icon_area"><i class="weui_icon_info weui_icon_msg"></i></div><div class="weui_text_area"><h4 class="weui_msg_title">请在微信客户端打开链接</h4></div></div>'; } </script> </body></html>
2020-06-01