|
@@ -47,7 +47,7 @@
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
- #lottieWeb {
|
|
|
+ #lottieWeb,.lottieWeb {
|
|
|
position: fixed;
|
|
|
z-index: 100;
|
|
|
top: 50%;
|
|
@@ -69,29 +69,31 @@
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
- <div id="app"></div>
|
|
|
+ <div id="app">
|
|
|
+ <img class="lottieWeb" src="./loading.gif" alt="">
|
|
|
+ </div>
|
|
|
<div id="lottieWeb"></div>
|
|
|
<script>
|
|
|
- lottie.loadAnimation({
|
|
|
- container: document.getElementById('lottieWeb'),
|
|
|
- renderer: 'svg',
|
|
|
- width: '30px',
|
|
|
- height: '30px',
|
|
|
- loop: true,
|
|
|
- autoplay: true,
|
|
|
- path: '/orchestra-music-score/loading.json'
|
|
|
- });
|
|
|
- window.addEventListener('load', function () {
|
|
|
- const loadingEle = document.getElementById('lottieWeb')
|
|
|
- loadingEle.style.opacity = '0'
|
|
|
- setTimeout(() => {
|
|
|
- loadingEle.style.display = 'none'
|
|
|
- }, 1000)
|
|
|
- })
|
|
|
+ // lottie.loadAnimation({
|
|
|
+ // container: document.getElementById('lottieWeb'),
|
|
|
+ // renderer: 'svg',
|
|
|
+ // width: '30px',
|
|
|
+ // height: '30px',
|
|
|
+ // loop: true,
|
|
|
+ // autoplay: true,
|
|
|
+ // path: '/orchestra-music-score/loading.json'
|
|
|
+ // });
|
|
|
+ // window.addEventListener('load', function () {
|
|
|
+ // const loadingEle = document.getElementById('lottieWeb')
|
|
|
+ // loadingEle.style.opacity = '0'
|
|
|
+ // setTimeout(() => {
|
|
|
+ // loadingEle.style.display = 'none'
|
|
|
+ // }, 1000)
|
|
|
+ // })
|
|
|
</script>
|
|
|
|
|
|
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
|
|
- <script nomodule id="vite-legacy-polyfill" src="/orchestra-music-score/assets/polyfills-legacy.d702d4c9.js"></script>
|
|
|
+ <script nomodule id="vite-legacy-polyfill" src="/orchestra-music-score/assets/polyfills-legacy.e65e4f45.js"></script>
|
|
|
<script nomodule id="vite-legacy-entry" data-src="/orchestra-music-score/assets/orchestra-legacy.e6dc585d.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
|
|
</body>
|
|
|
|