index.html 1.2 KB

1234567891011121314151617181920212223
  1. <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>蔡氏PK公式</title><link rel=stylesheet type=text/css href=./src/styles/layout.css><link href=/static/css/app.7ddbdfd9038e704b7da9fbd264a7a294.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.8514b977fb243eae3ba7.js></script><script type=text/javascript src=/static/js/app.e3db1b2f3d0a6fc268cd.js></script></body><style>html {
  2. font-size: 16px;
  3. }
  4. body {
  5. margin: 0px;
  6. padding: 0px;
  7. font-size: 16px;
  8. }</style><script>(function() {
  9. if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
  10. handleFontSize();
  11. } else {
  12. document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
  13. }
  14. function handleFontSize() {
  15. // 设置网页字体为默认大小
  16. WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 });
  17. // 重写设置网页字体大小的事件
  18. WeixinJSBridge.on('menu:setfont', function() {
  19. WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 });
  20. });
  21. }
  22. })();</script></html>