微信各种BUG、技巧汇总

BUG:

Android 4.0
微信4.5.1 会导致打开的网页文字非常小
重现机型 galaxy s3, 三儿子 iOS6 下改变字号,JS获取的高度还是原始字号的高度  

ios微信
webview里 iframe 里的 input ,双击之后出不了菜单,导致无法输入  

android 2.3 4.5微信
webview刷新还没过期css的话,返回200,而不是304

无法打开自定义scheme 例如

公众账号 图文列表不认识中文文件名图片

如果 tel:12345 无法唤起拨号,请加 #mp.weixin.qq.com 在后面

特性

<select> 即使 online casino -webkit-appearance:none 了还是有初始border-radius 不确定自带浏览器是不是也这样

判断网络情况

window.onload = function() {
document.addEventListener(“WeixinJSBridgeReady”, onWeixinReady, false);
}
function onWeixinReady() {
WeixinJSBridge.invoke(‘getNetworkType’,{}, function(e){
WeixinJSBridge.log(e.err_msg); alert(e.err_msg); });
}

return wifi|wwan   //微信原生看图…

WeixinJSBridge.invoke(‘imagePreview’,{ ‘current’:list[0], ‘urls’:list} );  

在URL后面配置上 #wechat_webview_type=1 用微信打开就会自动去掉bar

[]: tmt://

2 thoughts on “微信各种BUG、技巧汇总

  1. Alex

    March 1, 2016 onwards, WeChat payment transfer function to stop charging fees. On the same day, the cash collection function began to charge fees. [4] March 10th, WeChat officially announced the first enterprise WeChat related details, and in April 18th through the application of the official release of Android. In August, WeChat and Alipay with the first in Hongkong to pay the license, intended to compete for new markets [5].

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *