diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index 7a21cbb62..c2c5436bb 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -3747,6 +3747,7 @@ export default { return } const path = `/single/file/msg/${data.id}`; + const title = data.type === 'longtext' ? this.$L('消息详情') : (`${msg.name} (${$A.bytesToSize(msg.size)})`); if (this.$Electron) { this.$store.dispatch('openChildWindow', { name: `file-msg-${data.id}`, @@ -3754,7 +3755,7 @@ export default { userAgent: "/hideenOfficeTitle/", force: false, config: { - title: `${msg.name} (${$A.bytesToSize(msg.size)})`, + title, titleFixed: true, parent: null, width: Math.min(window.screen.availWidth, 1440), @@ -3764,7 +3765,7 @@ export default { } else if (this.$isEEUiApp) { this.$store.dispatch('openAppChildPage', { pageType: 'app', - pageTitle: `${msg.name} (${$A.bytesToSize(msg.size)})`, + pageTitle: title, url: 'web.js', params: { titleFixed: true, diff --git a/resources/assets/sass/pages/components/dialog-wrapper.scss b/resources/assets/sass/pages/components/dialog-wrapper.scss index 8d87d9fc9..5e7241069 100644 --- a/resources/assets/sass/pages/components/dialog-wrapper.scss +++ b/resources/assets/sass/pages/components/dialog-wrapper.scss @@ -1480,10 +1480,13 @@ justify-content: center; margin-top: 12px; border-top: 1px solid rgba(227, 227, 227, 0.42); - padding-top: 12px; - padding-bottom: 2px; > span { cursor: pointer; + flex: 1; + text-align: center; + height: 100%; + padding: 12px; + margin-bottom: -10px; } }