From 0f6ccfb46e74603fcab7b13ba5128daeb4a97c08 Mon Sep 17 00:00:00 2001 From: qiuhongwu Date: Fri, 23 Feb 2024 17:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layout/components/warnmessage.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mes-ui/mes-ui-admin-vue3/src/layout/components/warnmessage.vue b/mes-ui/mes-ui-admin-vue3/src/layout/components/warnmessage.vue index 81bc960d..8dea5f46 100644 --- a/mes-ui/mes-ui-admin-vue3/src/layout/components/warnmessage.vue +++ b/mes-ui/mes-ui-admin-vue3/src/layout/components/warnmessage.vue @@ -2,7 +2,7 @@
- 设计预警通知 + 设计预警通知
@@ -109,8 +109,8 @@ const queryData = async () => { } onMounted(() => { - if(!commonStore.getStore("artificialWarningClose")){ - queryData(); + if (!commonStore.getStore('artificialWarningClose')) { + queryData() } }) @@ -120,6 +120,7 @@ onMounted(() => { display: none; transition: none !important; /* 确保过渡动画被禁用 */ } + .FoldWran { cursor: pointer; margin-left: 15px; @@ -149,6 +150,9 @@ onMounted(() => { overflow: hidden; .warntitle { + .titleText { + color: rgb(255, 120, 0); + } height: 40px; background-color: #f7f8fa; border-bottom: 1px solid #e4e7ed; @@ -157,6 +161,7 @@ onMounted(() => { display: flex; justify-content: space-between; align-items: center; + .warnclose { cursor: pointer; margin-left: 15px;