destiny
2022-11-09 d16f6f8e44e00ba09c4d2b0bc114f36a77597302
index.html
@@ -1,7 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" id="htmlRoot">
  <head>
    <%= viteHtmlPluginOptions.hmScript %>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
@@ -9,14 +8,30 @@
      name="viewport"
      content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
    />
    <title></title>
    <title><%= title %></title>
    <link rel="icon" href="/favicon.ico" />
    <%= viteHtmlPluginOptions.injectConfig %>
  </head>
  <body>
    <script>
      (() => {
        var htmlRoot = document.getElementById('htmlRoot');
        var theme = window.localStorage.getItem('__APP__DARK__MODE__');
        if (htmlRoot && theme) {
          htmlRoot.setAttribute('data-theme', theme);
          theme = htmlRoot = null;
        }
      })();
    </script>
    <div id="app">
      <style>
        html[data-theme='dark'] .app-loading {
          background-color: #2c344a;
        }
        html[data-theme='dark'] .app-loading .app-loading-title {
          color: rgb(255 255 255 / 85%);
        }
        .app-loading {
          display: flex;
          width: 100%;
@@ -24,7 +39,7 @@
          justify-content: center;
          align-items: center;
          flex-direction: column;
          background: #f0f2f5;
          background-color: #f4f7f9;
        }
        .app-loading .app-loading-wrap {
@@ -32,7 +47,6 @@
          top: 50%;
          left: 50%;
          display: flex;
          -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0);
          justify-content: center;
          align-items: center;
@@ -50,7 +64,7 @@
          display: flex;
          margin-top: 30px;
          font-size: 30px;
          color: rgba(0, 0, 0, 0.85);
          color: rgb(0 0 0 / 85%);
          justify-content: center;
          align-items: center;
        }
@@ -81,7 +95,7 @@
          height: 20px;
          background-color: #0065cc;
          border-radius: 100%;
          opacity: 0.3;
          opacity: 30%;
          transform: scale(0.75);
          animation: antSpinMove 1s infinite linear alternate;
          transform-origin: 50% 50%;
@@ -95,57 +109,48 @@
        .dot i:nth-child(2) {
          top: 0;
          right: 0;
          -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
        }
        .dot i:nth-child(3) {
          right: 0;
          bottom: 0;
          -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
        }
        .dot i:nth-child(4) {
          bottom: 0;
          left: 0;
          -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
        }
        @keyframes antRotate {
          to {
            -webkit-transform: rotate(405deg);
            transform: rotate(405deg);
          }
        }
        @-webkit-keyframes antRotate {
        @keyframes antRotate {
          to {
            -webkit-transform: rotate(405deg);
            transform: rotate(405deg);
          }
        }
        @keyframes antSpinMove {
          to {
            opacity: 1;
            opacity: 100%;
          }
        }
        @-webkit-keyframes antSpinMove {
        @keyframes antSpinMove {
          to {
            opacity: 1;
            opacity: 100%;
          }
        }
      </style>
      <div class="app-loading">
        <div class="app-loading-wrap">
          <img
            src="<%= viteHtmlPluginOptions.publicPath %>resource/img/logo.png"
            class="app-loading-logo"
            alt="Logo"
          />
          <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" />
          <div class="app-loading-dots">
            <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
          </div>
          <div class="app-loading-title"><%= viteHtmlPluginOptions.title %></div>
          <div class="app-loading-title"><%= title %></div>
        </div>
      </div>
    </div>