diff --git a/mail-vue/index.html b/mail-vue/index.html index 1aa9746..b8cd118 100644 --- a/mail-vue/index.html +++ b/mail-vue/index.html @@ -12,13 +12,17 @@ if (uiStoreStr) { const uiStore = JSON.parse(uiStoreStr) const root = document.documentElement - root.style.background = uiStore.dark ? '#141414' : '#FFFFFF' root.setAttribute('class', uiStore.dark ? 'dark' : ''); } -
+
diff --git a/mail-vue/package-lock.json b/mail-vue/package-lock.json index 4269791..60403fb 100644 --- a/mail-vue/package-lock.json +++ b/mail-vue/package-lock.json @@ -18,6 +18,7 @@ "echarts": "^5.6.0", "element-plus": "^2.9.11", "lodash-es": "^4.17.21", + "nprogress": "^0.2.0", "path": "^0.12.7", "pinia": "^3.0.2", "pinia-plugin-persistedstate": "^4.2.0", @@ -2840,6 +2841,12 @@ "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==", "license": "BSD-3-Clause" }, + "node_modules/nprogress": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz", + "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==", + "license": "MIT" + }, "node_modules/nypm": { "version": "0.6.0", "resolved": "https://registry.npmmirror.com/nypm/-/nypm-0.6.0.tgz", diff --git a/mail-vue/package.json b/mail-vue/package.json index e10f1d2..d812153 100644 --- a/mail-vue/package.json +++ b/mail-vue/package.json @@ -20,6 +20,7 @@ "echarts": "^5.6.0", "element-plus": "^2.9.11", "lodash-es": "^4.17.21", + "nprogress": "^0.2.0", "path": "^0.12.7", "pinia": "^3.0.2", "pinia-plugin-persistedstate": "^4.2.0", diff --git a/mail-vue/src/App.vue b/mail-vue/src/App.vue index 6d74a7d..424d1c6 100644 --- a/mail-vue/src/App.vue +++ b/mail-vue/src/App.vue @@ -12,4 +12,4 @@ import zhCn from 'element-plus/es/locale/lang/zh-cn'; const { locale } = useI18n() locale.value = settingStore.lang watch(() => settingStore.lang, () => locale.value = settingStore.lang) - \ No newline at end of file + diff --git a/mail-vue/src/components/email-scroll/index.vue b/mail-vue/src/components/email-scroll/index.vue index 99c4654..222a116 100644 --- a/mail-vue/src/components/email-scroll/index.vue +++ b/mail-vue/src/components/email-scroll/index.vue @@ -2,10 +2,10 @@