mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 13:37:45 +08:00
调整浏览器升级提示
This commit is contained in:
parent
a34a101c22
commit
b4d66b4f34
33
index.html
33
index.html
@ -113,6 +113,7 @@
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: 0 auto;
|
||||
border: none;
|
||||
}
|
||||
#browser-upgrade .browsers .browser .browser-name {
|
||||
text-align: center;
|
||||
@ -172,22 +173,22 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
if(!!window.ActiveXObject || "ActiveXObject" in window) {
|
||||
document.getElementById('browser-upgrade').style.display = 'block'
|
||||
} else {
|
||||
var Loading = document.querySelector('.loading')
|
||||
Loading.classList.add('animate')
|
||||
Loading.addEventListener('animationend', function() {
|
||||
setTimeout(function() {
|
||||
Loading.classList.remove('animate')
|
||||
}, 600)
|
||||
setTimeout(function() {
|
||||
Loading.classList.add('animate')
|
||||
}, 1000)
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
if(!!window.ActiveXObject || "ActiveXObject" in window) {
|
||||
document.getElementById('browser-upgrade').style.display = 'block'
|
||||
} else {
|
||||
var Loading = document.querySelector('.loading')
|
||||
Loading.classList.add('animate')
|
||||
Loading.addEventListener('animationend', function() {
|
||||
setTimeout(function() {
|
||||
Loading.classList.remove('animate')
|
||||
}, 600)
|
||||
setTimeout(function() {
|
||||
Loading.classList.add('animate')
|
||||
}, 1000)
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
<% if (debugTool == 'eruda') { %>
|
||||
<script src="//cdn.jsdelivr.net/npm/eruda/eruda.min.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user