The android
Function () {if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge == "function") { handleFontSize(); } else { if (document.addEventListener) { document.addEventListener("WeixinJSBridgeReady", handleFontSize, false); } else if (document.attachEvent) { document.attachEvent("WeixinJSBridgeReady", handleFontSize); document.attachEvent("onWeixinJSBridgeReady", handleFontSize); Invoke ('setFontSizeCallback', {'fontSize': 0}); invoke('setFontSizeCallback', {'fontSize': 0}); On ('menu:setfont', function () {weixinjsbridle.invoke ('setFontSizeCallback', { 'fontSize': 0 }); }); }}) ();Copy the code
ios
//css -webkit-text-size-adjust: 100%! important;Copy the code