From b60489fd7ce4eaeea3febb5f5b5c1d67379a53c9 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Jul 2024 15:14:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E7=9A=84=E6=A0=87=E9=A2=98=E8=BE=83=E9=95=BF?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=AF=BC=E5=87=BA=E6=88=90=E5=8A=9F=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/style/index.less | 14 +++++++++----- .../views/visualized/data/dataset/ExportExcel.vue | 9 ++++++++- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/core/core-frontend/src/style/index.less b/core/core-frontend/src/style/index.less index 1fb9324735..30eae22d0e 100644 --- a/core/core-frontend/src/style/index.less +++ b/core/core-frontend/src/style/index.less @@ -375,7 +375,7 @@ em { } .color-dataV { - background: rgb(0, 214, 185)!important; + background: rgb(0, 214, 185) !important; } .color-dataset { @@ -426,7 +426,11 @@ strong { color: #1f2329; display: flex; align-items: center; - padding-right: 20px; + padding-right: 24px; + } + + .m50-export { + max-width: 200px; } .btn-text { @@ -498,9 +502,9 @@ strong { // 解决screenfull全屏时 部分嵌入到body中的组件(如 下来框 消息通知框等)被覆盖问题 // 这里使用的方案为直接将body全屏 区间组件覆盖整个body -.de-screen-full{ - position:fixed !important; - z-index:200; +.de-screen-full { + position: fixed !important; + z-index: 200; top: 0; left: 0; right: 0; diff --git a/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue b/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue index 151adb8046..95eedc8230 100644 --- a/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue +++ b/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue @@ -174,7 +174,14 @@ const openMessageLoading = (text, type = 'success', cb) => { const customClass = `de-message-${type || 'success'} de-message-export` ElMessage({ message: h('p', null, [ - t(text), + h( + 'span', + { + title: t(text), + class: 'ellipsis m50-export' + }, + t(text) + ), h( ElButton, {