From a5995947ac9ef4a1559973cd31bea6daafced0fb Mon Sep 17 00:00:00 2001 From: eoao Date: Thu, 15 Jan 2026 19:46:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=82=AE=E4=BB=B6=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=94=B9=E4=B8=BA=E8=99=9A=E6=8B=9F=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail-vue/package.json | 1 + mail-vue/pnpm-lock.yaml | 40 +++ .../src/components/email-scroll/index.vue | 266 ++++++++++++------ .../email-scroll/skeleton/index.vue | 13 +- mail-vue/src/layout/header/index.vue | 2 +- mail-vue/src/style.css | 29 +- mail-vue/src/views/all-email/index.vue | 1 + mail-vue/src/views/sys-setting/index.vue | 2 +- mail-vue/src/views/test/index.vue | 32 +-- mail-worker/src/i18n/en.js | 2 +- mail-worker/src/i18n/zh.js | 2 +- mail-worker/src/init/init.js | 2 +- mail-worker/src/service/email-service.js | 12 +- 13 files changed, 250 insertions(+), 154 deletions(-) diff --git a/mail-vue/package.json b/mail-vue/package.json index a49ddee..38b4ab1 100644 --- a/mail-vue/package.json +++ b/mail-vue/package.json @@ -12,6 +12,7 @@ }, "dependencies": { "@iconify/vue": "^4.3.0", + "@vueuse/components": "^14.1.0", "@vueuse/core": "^12.0.0", "axios": "^1.7.8", "compressorjs": "^1.2.1", diff --git a/mail-vue/pnpm-lock.yaml b/mail-vue/pnpm-lock.yaml index dcba027..a24bd71 100644 --- a/mail-vue/pnpm-lock.yaml +++ b/mail-vue/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@iconify/vue': specifier: ^4.3.0 version: 4.3.0(vue@3.5.20) + '@vueuse/components': + specifier: ^14.1.0 + version: 14.1.0(vue@3.5.20) '@vueuse/core': specifier: ^12.0.0 version: 12.8.2 @@ -1136,21 +1139,39 @@ packages: '@vue/shared@3.5.20': resolution: {integrity: sha512-SoRGP596KU/ig6TfgkCMbXkr4YJ91n/QSdMuqeP5r3hVIYA3CPHUBCc7Skak0EAKV+5lL4KyIh61VA/pK1CIAA==} + '@vueuse/components@14.1.0': + resolution: {integrity: sha512-SDRJUAv3H7/PMh+KkYpq0d5KMzpKOfqx4qcV4xyN4mZOLPw8NkiWu+yDcfXwI8h1uCqhRNz2cdeaLa+IuaehFw==} + peerDependencies: + vue: ^3.5.0 + '@vueuse/core@12.8.2': resolution: {integrity: sha512-HbvCmZdzAu3VGi/pWYm5Ut+Kd9mn1ZHnn4L5G8kOQTPs/IwIAmJoBrmYk2ckLArgMXZj0AW3n5CAejLUO+PhdQ==} + '@vueuse/core@14.1.0': + resolution: {integrity: sha512-rgBinKs07hAYyPF834mDTigH7BtPqvZ3Pryuzt1SD/lg5wEcWqvwzXXYGEDb2/cP0Sj5zSvHl3WkmMELr5kfWw==} + peerDependencies: + vue: ^3.5.0 + '@vueuse/core@9.13.0': resolution: {integrity: sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==} '@vueuse/metadata@12.8.2': resolution: {integrity: sha512-rAyLGEuoBJ/Il5AmFHiziCPdQzRt88VxR+Y/A/QhJ1EWtWqPBBAxTAFaSkviwEuOEZNtW8pvkPgoCZQ+HxqW1A==} + '@vueuse/metadata@14.1.0': + resolution: {integrity: sha512-7hK4g015rWn2PhKcZ99NyT+ZD9sbwm7SGvp7k+k+rKGWnLjS/oQozoIZzWfCewSUeBmnJkIb+CNr7Zc/EyRnnA==} + '@vueuse/metadata@9.13.0': resolution: {integrity: sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==} '@vueuse/shared@12.8.2': resolution: {integrity: sha512-dznP38YzxZoNloI0qpEfpkms8knDtaoQ6Y/sfS0L7Yki4zh40LFHEhur0odJC6xTHG5dxWVPiUWBXn+wCG2s5w==} + '@vueuse/shared@14.1.0': + resolution: {integrity: sha512-EcKxtYvn6gx1F8z9J5/rsg3+lTQnvOruQd8fUecW99DCK04BkWD7z5KQ/wTAx+DazyoEE9dJt/zV8OIEQbM6kw==} + peerDependencies: + vue: ^3.5.0 + '@vueuse/shared@9.13.0': resolution: {integrity: sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==} @@ -3584,6 +3605,12 @@ snapshots: '@vue/shared@3.5.20': {} + '@vueuse/components@14.1.0(vue@3.5.20)': + dependencies: + '@vueuse/core': 14.1.0(vue@3.5.20) + '@vueuse/shared': 14.1.0(vue@3.5.20) + vue: 3.5.20 + '@vueuse/core@12.8.2': dependencies: '@types/web-bluetooth': 0.0.21 @@ -3593,6 +3620,13 @@ snapshots: transitivePeerDependencies: - typescript + '@vueuse/core@14.1.0(vue@3.5.20)': + dependencies: + '@types/web-bluetooth': 0.0.21 + '@vueuse/metadata': 14.1.0 + '@vueuse/shared': 14.1.0(vue@3.5.20) + vue: 3.5.20 + '@vueuse/core@9.13.0(vue@3.5.20)': dependencies: '@types/web-bluetooth': 0.0.16 @@ -3605,6 +3639,8 @@ snapshots: '@vueuse/metadata@12.8.2': {} + '@vueuse/metadata@14.1.0': {} + '@vueuse/metadata@9.13.0': {} '@vueuse/shared@12.8.2': @@ -3613,6 +3649,10 @@ snapshots: transitivePeerDependencies: - typescript + '@vueuse/shared@14.1.0(vue@3.5.20)': + dependencies: + vue: 3.5.20 + '@vueuse/shared@9.13.0(vue@3.5.20)': dependencies: vue-demi: 0.14.10(vue@3.5.20) diff --git a/mail-vue/src/components/email-scroll/index.vue b/mail-vue/src/components/email-scroll/index.vue index 2a9a771..870af1e 100644 --- a/mail-vue/src/components/email-scroll/index.vue +++ b/mail-vue/src/components/email-scroll/index.vue @@ -28,13 +28,21 @@
- -
-
-