index.html 2.1 KB

123456789101112131415161718
  1. <!DOCTYPE html><html><head><link rel="stylesheet" href="/umi.css"><meta charset="utf-8"><meta name="theme-color" content="#000000"><title>常见药品知识</title><!-- set `maximum-scale` for some compatibility issues --><!-- 强制显示方式 --><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"><!-- 允许全屏 --><meta name="apple-mobile-web-app-capable" content="yes"><!-- 顶端状态条样式 --><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><!-- 忽略将数字变为电话号码 --><meta content="telephone=no" name="format-detection"><!-- uc强制竖屏 --><meta name="screen-orientation" content="portrait"><!-- qq强制竖屏 --><meta name="x5-orientation" content="portrait"><!-- uc强制全屏 --><meta name="full-screen" content="yes"><!-- qq强制全屏 --><meta name="x5-fullscreen" content="true"><!-- uc应用模式 --><meta name="browsermode" content="application"><!-- qq应用模式 --><meta name="x5-page-mode" content="app"><!-- windows phone 点击无高光 --><meta name="msapplication-tap-highlight" content="no"><script>var winWidth = window.innerWidth;
  2. var winHeight = window.innerHeight;
  3. var perRemPx = document.getElementsByTagName("html")[0].clientWidth / 7.5;
  4. window.addEventListener("resize", function () {
  5. perRemPx = document.getElementsByTagName("html")[0].clientWidth / 7.5;
  6. document.getElementsByTagName("html")[0].style.fontSize = perRemPx + "px";
  7. });
  8. document.getElementsByTagName("html")[0].style.fontSize = perRemPx + "px";
  9. if ('addEventListener' in document) {
  10. // document.addEventListener('DOMContentLoaded', function () {
  11. // FastClick.attach(document.body);
  12. // }, false);
  13. }
  14. if (!window.Promise) {
  15. document.writeln('<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"' + '>' + '<' + '/' + 'script>');
  16. }</script><script>window.routerBase = "/";</script></head><body><div id="root"></div><script src="/umi.js"></script></body></html>