index.html 1.8 KB

1234567891011121314151617181920
  1. <!DOCTYPE html><html><head><meta charset=utf-8><script src=https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js></script><script src=https://res.wx.qq.com/open/js/jweixin-1.6.0.js></script><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=0"><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name=viewport><title>TOKTOK餐品出品规范</title><link rel=icon type=image/x-icon href=static/favicon.ico><link href=./static/css/app.afa80a5fe965e3b47738db2ab2d8c5b1.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.b05e6cf1059c9bd002b8.js></script><script type=text/javascript src=./static/js/app.0d4a3a92060721466cc6.js></script></body><script>(function() {
  2. if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
  3. handleFontSize();
  4. } else {
  5. if (document.addEventListener) {
  6. document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
  7. } else if (document.attachEvent) {
  8. document.attachEvent("WeixinJSBridgeReady", handleFontSize);
  9. document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
  10. }
  11. }
  12. function handleFontSize() {
  13. // 设置网页字体为默认大小
  14. WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 });
  15. // 重写设置网页字体大小的事件
  16. WeixinJSBridge.on('menu:setfont', function() {
  17. WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 });
  18. });
  19. }
  20. })();</script></html>