pull/4/head
qiuhongwu 8 months ago
parent 6d0a9992bf
commit 0f6ccfb46e

@ -2,7 +2,7 @@
<transition name="slide-right">
<div class="warn" v-if="showWarning" :draggable="true" @dragstart="onDragStart" @dragend="onDragEnd" @mousedown.prevent.stop="onMouseDown" @mousemove="onMouseMove" @mouseup="onMouseUp">
<div class="warntitle">
<span> 设计预警通知</span>
<span class="titleText"> 设计预警通知</span>
<div>
<span @click="ExpandWran" class="warnclose"> <el-icon>
<Expand />
@ -109,8 +109,8 @@ const queryData = async () => {
}
onMounted(() => {
if(!commonStore.getStore("artificialWarningClose")){
queryData();
if (!commonStore.getStore('artificialWarningClose')) {
queryData()
}
})
</script>
@ -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;

Loading…
Cancel
Save