__uniappview.html 961 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <script>
  6. var __UniViewStartTime__ = Date.now();
  7. document.addEventListener('DOMContentLoaded', function() {
  8. document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
  9. })
  10. var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
  11. CSS.supports('top: constant(a)'))
  12. document.write(
  13. '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
  14. (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  15. </script>
  16. <title>View</title>
  17. <link rel="stylesheet" href="view.css" />
  18. </head>
  19. <body>
  20. <div id="app"></div>
  21. <script src="__uniappes6.js"></script>
  22. <script src="view.umd.min.js"></script>
  23. <script src="app-view.js"></script>
  24. </body>
  25. </html>