diff --git a/mail-vue/index.html b/mail-vue/index.html index 35c66ab..185aff1 100644 --- a/mail-vue/index.html +++ b/mail-vue/index.html @@ -43,7 +43,6 @@ .loading-hide { pointer-events: none; - transition: all 200ms; opacity: 0; } diff --git a/mail-vue/src/router/index.js b/mail-vue/src/router/index.js index d3cb773..876d911 100644 --- a/mail-vue/src/router/index.js +++ b/mail-vue/src/router/index.js @@ -174,21 +174,12 @@ router.afterEach((to) => { }) function removeLoading() { - if (window.innerWidth < 1025) { - document.documentElement.style.setProperty('--loading-hide-transition', 'none') - } const doc = document.getElementById('loading-first'); if (!doc) { return; } - doc.classList.add('loading-complete') - setTimeout(() => { - doc.classList.add('loading-hide') - setTimeout(() => { - doc.remove() - }, 1000) - }, 200) + doc.remove() } export default router diff --git a/mail-vue/src/views/sys-setting/index.vue b/mail-vue/src/views/sys-setting/index.vue index fde48c4..53288bb 100644 --- a/mail-vue/src/views/sys-setting/index.vue +++ b/mail-vue/src/views/sys-setting/index.vue @@ -1468,7 +1468,7 @@ function editSetting(settingForm, refreshStatus = true) { .card-grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); padding: 20px; gap: 20px; @media (max-width: 500px) {