diff --git a/fe/src/components/GroupSettings.vue b/fe/src/components/GroupSettings.vue new file mode 100644 index 0000000..953a6a5 --- /dev/null +++ b/fe/src/components/GroupSettings.vue @@ -0,0 +1,97 @@ + + + + + + {{ data.label }} + + - + + + + + + + + {{ lang.add_group }} + + + + \ No newline at end of file diff --git a/fe/src/components/HomeAside.vue b/fe/src/components/HomeAside.vue index becfaab..c4ea975 100644 --- a/fe/src/components/HomeAside.vue +++ b/fe/src/components/HomeAside.vue @@ -61,4 +61,10 @@ const handleNodeClick = function (data) { .el-tree { background-color: #F1F1F1; } + +.add_group{ + font-size: 14px; + text-align: left; + padding-left: 15px; +} \ No newline at end of file diff --git a/fe/src/components/HomeHeader.vue b/fe/src/components/HomeHeader.vue index c61c753..98407f0 100644 --- a/fe/src/components/HomeHeader.vue +++ b/fe/src/components/HomeHeader.vue @@ -8,11 +8,15 @@ - + + + + + @@ -25,6 +29,7 @@ import { ref } from 'vue' import { ElMessageBox } from 'element-plus' import SecuritySettings from '@/components/SecuritySettings.vue' import lang from '../i18n/i18n'; +import GroupSettings from './GroupSettings.vue'; const openSettings = ref(false) diff --git a/fe/src/i18n/i18n.js b/fe/src/i18n/i18n.js index c2e72af..88aa078 100644 --- a/fe/src/i18n/i18n.js +++ b/fe/src/i18n/i18n.js @@ -58,6 +58,13 @@ var lang = { "ssl_manuallyf": "Manually configure an SSL certificate", "ssl_key_path": "ssl key file path", "ssl_crt_path": "ssl crt file path", + "group_settings": "Group", + "add_group": "Add Group", + "del_email_confirm": "Are you sure you want to delete them?", + "move_email_confirm": "Are you sure you want to move them?", + "del_btn": "Delete", + "move_btn": "Move", + "read_btn": "Readed" }; @@ -122,6 +129,13 @@ var zhCN = { "ssl_manuallyf": "手动配置SSL证书", "ssl_key_path": "ssl key文件位置", "ssl_crt_path": "ssl crt文件位置", + "group_settings": "分组", + "add_group": "新建分组", + "del_email_confirm": "你确定要删除吗?", + "move_email_confirm": "你确定要移动这些邮件吗?", + "del_btn": "删除", + "move_btn": "移动", + "read_btn": "已读" } switch (navigator.language) { diff --git a/fe/src/views/ListView.vue b/fe/src/views/ListView.vue index 3713e65..e64a7af 100644 --- a/fe/src/views/ListView.vue +++ b/fe/src/views/ListView.vue @@ -4,11 +4,27 @@ +{{ lang.compose }} - {{ groupStore.name }} + + {{ lang.del_btn }} + {{ lang.read_btn }} + + + {{ lang.move_btn }} + + + + + {{ group.name + }} + + + + - + @@ -49,7 +65,7 @@ - + @@ -58,19 +74,18 @@