You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.4 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <!DOCTYPE html>
  2. <html lang="">
  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.0"> -->
  7. <meta name="viewport"
  8. content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=yes">
  9. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  10. <link rel="stylesheet" href="https://unpkg.com/element-ui@2.13.1/lib/theme-chalk/index.css">
  11. <title>BUZZ Netdisk</title>
  12. <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
  13. <style>
  14. .public-container {
  15. background-color: #090A0F;
  16. width: 100vw;
  17. height: 100vh;
  18. color: #B0BEC5;
  19. overflow: hidden;
  20. box-sizing: border-box;
  21. }
  22. .public-border {
  23. width: 80vw;
  24. height: 10px;
  25. background-color: #A6A6A6;
  26. margin: 40px 0;
  27. }
  28. .public-border-width {
  29. width: 0%;
  30. height: 100%;
  31. background-color: #11c16d;
  32. transition: all .25s linear;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <noscript>
  38. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  39. Please enable it to continue.</strong>
  40. </noscript>
  41. <div id="app">
  42. <div class="public-container">
  43. <div style="display: flex;justify-content:center;align-items: center;text-align: center;height:80vh">
  44. <div>
  45. <img src='./logo.png' style="width: 160px;height:160px;object-fit: cover;" alt="">
  46. <div style="display: flex;justify-content: center;">
  47. <div class="public-border">
  48. <div class="public-border-width" id="loading"></div>
  49. </div>
  50. </div>
  51. <div style="color:#11c16d">Loading...</div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- built files will be auto injected -->
  57. <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
  58. <script src="https://unpkg.com/element-ui@2.13.1/lib/index.js"></script>
  59. <script>
  60. let publicLoading = document.getElementById('loading');
  61. let publicWidth = 0;
  62. let publicTimerID = null;
  63. publicTimerID = setInterval(() => {
  64. if (publicWidth > 99) {
  65. clearInterval(publicTimerID);
  66. return;
  67. };
  68. publicWidth += 1;
  69. publicLoading.style.width = `${publicWidth}%`;
  70. }, 100);
  71. </script>
  72. </body>
  73. </html>