index.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  8. <title><%= htmlWebpackPlugin.options.title %></title>
  9. <!-- <script>
  10. !function(d,a){var e=d.documentElement,c="orientationchange"in window?"orientationchange":"resize",v=function(){
  11. var f=e.clientWidth, ratio=1;
  12. if(f > 750 && f < 1300) {
  13. f = 1300;
  14. ratio = 1920 / 750;
  15. }
  16. if(f >= 1300) {
  17. f = 1920;
  18. ratio = 1920 / 750;
  19. }
  20. var p=20*(f/320) / ratio
  21. f&&(e.style.fontSize=p+"px")
  22. };d.addEventListener&&(a.addEventListener(c,v,!1),d.addEventListener("DOMContentLoaded",v,!1))}(document,window);
  23. </script> -->
  24. </head>
  25. <body>
  26. <noscript>
  27. <strong>We're sorry but K3 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  28. </noscript>
  29. <div id="app"></div>
  30. <script>
  31. window.EOS_PROTOCOL = "<?= $GLOBALS['eosProtocol'] ?>"
  32. window.EOS_HOST = "<?= $GLOBALS['eosHost'] ?>"
  33. window.EOS_PORT = "<?= $GLOBALS['eosPort'] ?>"
  34. </script>
  35. <!-- built files will be auto injected -->
  36. </body>
  37. </html>