fix: 样式优化

This commit is contained in:
dataeaseShu 2024-07-19 15:10:40 +08:00
parent 33a0bc319c
commit 7d6db72408
5 changed files with 32 additions and 23 deletions

View File

@ -214,25 +214,7 @@ onMounted(() => {
background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */ background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
z-index: 10000; z-index: 10000;
} }
.header-light {
background-color: #ffffff !important;
box-shadow: 0px 0.5px 0px 0px #1f232926 !important;
.ed-menu {
background-color: #ffffff !important;
}
.ed-menu--horizontal {
.ed-menu-item {
color: var(--ed-color-black) !important;
}
:deep(.ed-sub-menu__title) {
color: var(--ed-color-black) !important;
}
}
.logo {
color: #3371ff !important;
}
}
.header-flex { .header-flex {
margin-bottom: 0.5px; margin-bottom: 0.5px;
display: flex; display: flex;
@ -278,12 +260,37 @@ onMounted(() => {
.ed-menu-item:not(.is-disabled):hover, .ed-menu-item:not(.is-disabled):hover,
:deep(.ed-sub-menu__title):not(.is-disabled):hover { :deep(.ed-sub-menu__title):not(.is-disabled):hover {
color: #ffffff; color: #ffffffcc;
background-color: var(--ed-color-primary); background: #ffffff1a;
} }
} }
} }
.header-light {
background-color: #ffffff !important;
box-shadow: 0px 0.5px 0px 0px #1f232926 !important;
.ed-menu {
background-color: #ffffff !important;
}
.ed-menu--horizontal {
.ed-menu-item {
color: var(--ed-color-black) !important;
}
:deep(.ed-sub-menu__title) {
color: var(--ed-color-black) !important;
}
.ed-menu-item:not(.is-disabled):hover,
:deep(.ed-sub-menu__title):not(.is-disabled):hover {
color: #1f2329;
background: #1f23291a;
}
}
.logo {
color: #3371ff !important;
}
}
.logo { .logo {
width: 134px; width: 134px;
height: 34px; height: 34px;

View File

@ -48,7 +48,7 @@ const redirectUser = () => {
} }
.is-light-setting { .is-light-setting {
&:hover { &:hover {
background-color: var(--ed-menu-hover-bg-color) !important; background-color: #1f23291a !important;
} }
} }
</style> </style>

View File

@ -101,7 +101,7 @@ onMounted(() => {
} }
.is-light-setting { .is-light-setting {
&:hover { &:hover {
background-color: var(--ed-menu-hover-bg-color) !important; background-color: #1f23291a !important;
} }
} }
</style> </style>

View File

@ -63,7 +63,7 @@ const cardInfoList = [
} }
.is-light-setting { .is-light-setting {
&:hover { &:hover {
background-color: var(--ed-menu-hover-bg-color) !important; background-color: #1f23291a !important;
} }
} }
</style> </style>

View File

@ -222,7 +222,9 @@ const getDsName = (id: string) => {
} }
const pushDataset = () => { const pushDataset = () => {
console.log('appStore.isDataEaseBi', appStore.isDataEaseBi)
if (appStore.isDataEaseBi) { if (appStore.isDataEaseBi) {
debugger
embeddedStore.clearState() embeddedStore.clearState()
useEmitt().emitter.emit('changeCurrentComponent', 'DatasetEditor') useEmitt().emitter.emit('changeCurrentComponent', 'DatasetEditor')
return return