From aaf4a290139bc42f29857be1cf16baa852b89105 Mon Sep 17 00:00:00 2001 From: eoao Date: Thu, 22 Jan 2026 22:22:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=89=B9=E9=87=8F=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/email-scroll/index.vue | 10 +- mail-vue/src/i18n/en.js | 7 +- mail-vue/src/i18n/zh.js | 7 +- mail-vue/src/layout/account/index.vue | 2 +- mail-vue/src/request/user.js | 4 +- mail-vue/src/views/all-email/index.vue | 2 +- mail-vue/src/views/email/index.vue | 4 +- mail-vue/src/views/user/index.vue | 176 +++++++++--------- mail-worker/src/service/oauth-service.js | 8 +- mail-worker/src/service/user-service.js | 14 +- 10 files changed, 125 insertions(+), 109 deletions(-) diff --git a/mail-vue/src/components/email-scroll/index.vue b/mail-vue/src/components/email-scroll/index.vue index aedfcc0..d9302ba 100644 --- a/mail-vue/src/components/email-scroll/index.vue +++ b/mail-vue/src/components/email-scroll/index.vue @@ -494,7 +494,7 @@ function addItem(email) { const existIndex = emailList.findIndex(item => item.emailId === email.emailId) if (existIndex > -1) { - return + return false; } email.formatText = htmlToText(email); @@ -511,7 +511,7 @@ function addItem(email) { } total.value++ - return; + return true; } @@ -532,6 +532,7 @@ function addItem(email) { } total.value++ + return true; } function handleCheckAllChange(val) { @@ -639,7 +640,10 @@ function handleList(list) { 5: { icon: 'bi:send-arrow-up-fill', color: '#FBBD08', content: t('delayed') }, 7: { icon: 'ic:round-mark-email-read', color: '#FBBD08', content: t('noRecipient') }, }; - if (email.isDel) email.isdelContent = t('selectDeleted'); + + if (email.isDel) { + email.isDelContent = t('selectDeleted'); + } email.statusIcon = statusIconMap[email.status]; }) } diff --git a/mail-vue/src/i18n/en.js b/mail-vue/src/i18n/en.js index 6af00b1..2c9dc75 100644 --- a/mail-vue/src/i18n/en.js +++ b/mail-vue/src/i18n/en.js @@ -292,7 +292,8 @@ const en = { to: 'To', clear: 'Clear', include: 'Include', - delAllEmailConfirm: 'Do you really want to delete it?', + delAllConfirm: 'Do you really want to delete it?', + pin: 'Pin', s3Configuration: 'S3 Configuration', confirmDeletionOfContacts: 'Confirm clearing contacts?', recentContacts: 'Recent contacts', @@ -309,7 +310,9 @@ const en = { character: '', mustNotContain: 'Must Not Contain', mustNotContainDesc: 'Separate with commas', - setSuccess: 'Settings saved successfully' + setSuccess: 'Settings saved successfully', + details: 'Details', + userDetails: 'User Details' } export default en diff --git a/mail-vue/src/i18n/zh.js b/mail-vue/src/i18n/zh.js index c9ca0ae..332f58f 100644 --- a/mail-vue/src/i18n/zh.js +++ b/mail-vue/src/i18n/zh.js @@ -292,7 +292,8 @@ const zh = { to: '至', clear: '清除', include: '包含', - delAllEmailConfirm: '确定要删除吗?', + delAllConfirm: '确定要删除吗?', + pin: '置顶', s3Configuration: 'S3 配置', confirmDeletionOfContacts: '确认清除这些联系人吗?', recentContacts: '最近联系人', @@ -309,6 +310,8 @@ const zh = { character: '位', mustNotContain: '禁止包含', mustNotContainDesc: '输入多个值用,分开', - setSuccess: '设置成功' + setSuccess: '设置成功', + details: '详情', + userDetails: '用户详情' } export default zh diff --git a/mail-vue/src/layout/account/index.vue b/mail-vue/src/layout/account/index.vue index 23c5b40..1308ec4 100644 --- a/mail-vue/src/layout/account/index.vue +++ b/mail-vue/src/layout/account/index.vue @@ -25,7 +25,7 @@