From c14615d1ef15aa99100c247dd0e2be46e8573b8d Mon Sep 17 00:00:00 2001 From: eoao Date: Fri, 8 May 2026 23:55:56 +0800 Subject: [PATCH] style: style optimization --- mail-vue/index.html | 1 - mail-vue/src/router/index.js | 11 +---------- mail-vue/src/views/sys-setting/index.vue | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) 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) {