diff --git a/frontend/src/styles/element.scss b/frontend/src/styles/element.scss index 1435e59..71a9d53 100644 --- a/frontend/src/styles/element.scss +++ b/frontend/src/styles/element.scss @@ -489,4 +489,22 @@ font-size: 12px !important; // color: var(--ba-bg-color-overlay) !important; } -} \ No newline at end of file +} +.el-message-box{ + padding: 0px !important; + .el-message-box__header{ + background-color: var(--el-color-primary); + .el-message-box__title{ + color: #fff; + padding: 10px 10px 0; + } + + } + .el-message-box__content{ + padding: 10px ; + border-bottom: 1px solid #cccccc; + } + .el-message-box__btns { + + padding: 10px;} + } \ No newline at end of file diff --git a/frontend/src/views/home/components/channelsTest.vue b/frontend/src/views/home/components/channelsTest.vue index c7f2ba0..6e6da25 100644 --- a/frontend/src/views/home/components/channelsTest.vue +++ b/frontend/src/views/home/components/channelsTest.vue @@ -346,7 +346,7 @@ emit('update:testStatus',ts.value) margin-bottom: 10px; } .right-content{ - max-height: 400px; + /* max-height: 400px; */ } .custom-tabs-label .el-icon { @@ -356,4 +356,10 @@ emit('update:testStatus',ts.value) vertical-align: middle; margin-left: 4px; } +.dialog-content{ + height: 472px; +} +.el-tabs--border-card { + height: 435px; +} diff --git a/frontend/src/views/home/components/preTest.vue b/frontend/src/views/home/components/preTest.vue index 88a1f9d..366fdf5 100644 --- a/frontend/src/views/home/components/preTest.vue +++ b/frontend/src/views/home/components/preTest.vue @@ -1,131 +1,130 @@ - diff --git a/frontend/src/views/home/components/timeTest.vue b/frontend/src/views/home/components/timeTest.vue index 709ce3e..1cc2daa 100644 --- a/frontend/src/views/home/components/timeTest.vue +++ b/frontend/src/views/home/components/timeTest.vue @@ -224,8 +224,9 @@ watch(ts, function (newValue, oldValue) { display: flex; flex-direction: row; /* 横向排列 */ - margin-top: 20px; - min-height: 300px; + /* margin-top: 20px; */ + /* min-height: 300px; */ + height: 472px; /* .dialog-left{ margin-right: 20px; } */ diff --git a/frontend/src/views/home/tabs/dashboard.vue b/frontend/src/views/home/tabs/dashboard.vue index 5ea7397..470f4bd 100644 --- a/frontend/src/views/home/tabs/dashboard.vue +++ b/frontend/src/views/home/tabs/dashboard.vue @@ -353,9 +353,9 @@ const resizeObserver = new ResizeObserver(entries => { chartsWidth.value = entry.contentRect.width; console.log('Charts Info Width:', chartsWidth.value); - pieRef1.value.reSize(chartsWidth.value * 0.95,145,true); - pieRef2.value.reSize(chartsWidth.value * 0.95,145,true); - pieRef3.value.reSize(chartsWidth.value * 0.95,145,true); + pieRef1.value.reSize(chartsWidth.value * 0.95,180,true); + pieRef2.value.reSize(chartsWidth.value * 0.95,180,true); + pieRef3.value.reSize(chartsWidth.value * 0.95,180,true); } }); @@ -631,4 +631,12 @@ onUnmounted(() => { } } } +:deep(.el-collapse-item__conten){ + // background-color:#f6f6f6; + padding-bottom: 0px !important; +} +:deep(.el-collapse-item__content ){ + // background-color:#f6f6f6; + padding-bottom: 0px !important; +}