Commit 4ae968dc authored by 邓晓峰's avatar 邓晓峰

fix: 修复多标签关闭数据没有更新异常

parent fe735351
Pipeline #52910 passed with stages
......@@ -111,9 +111,9 @@
"@wisdom-map/arcgismap": "^1.1.0",
"@wisdom-map/basemap": "^1.0.12-50",
"@wisdom-map/util": "^1.0.27-0",
"@wisdom-utils/components": "0.1.216",
"@wisdom-utils/components": "0.1.217",
"@wisdom-utils/runtime": "0.0.32",
"@wisdom-utils/utils": "0.1.256",
"@wisdom-utils/utils": "0.1.257",
"animate.css": "^4.1.1",
"antd": "^4.20.7",
"compression": "1.7.4",
......
@import '~~antd/es/style/variable.less';
@primary-color: #1685FF;
@primary-1: color(~`colorPalette('@{primary-color}', 1) `); // replace tint(@primary-color, 90%)
@primary-2: color(~`colorPalette('@{primary-color}', 2) `); // replace tint(@primary-color, 80%)
@primary-3: color(~`colorPalette('@{primary-color}', 3) `); // unused
@primary-4: color(~`colorPalette('@{primary-color}', 4) `); // unused
@primary-5: color(
~`colorPalette('@{primary-color}', 5) `
); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
@primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
@primary-7: color(~`colorPalette('@{primary-color}', 7) `); // replace shade(@primary-color, 5%)
@primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
@primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
@primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
// @primary-color: #1685FF;
// @primary-1: color(~`colorPalette('@{primary-color}', 1) `); // replace tint(@primary-color, 90%)
// @primary-2: color(~`colorPalette('@{primary-color}', 2) `); // replace tint(@primary-color, 80%)
// @primary-3: color(~`colorPalette('@{primary-color}', 3) `); // unused
// @primary-4: color(~`colorPalette('@{primary-color}', 4) `); // unused
// @primary-5: color(
// ~`colorPalette('@{primary-color}', 5) `
// ); // color used to control the text color in many active and hover states, replace tint(@primary-color, 20%)
// @primary-6: @primary-color; // color used to control the text color of active buttons, don't use, use @primary-color
// @primary-7: color(~`colorPalette('@{primary-color}', 7) `); // replace shade(@primary-color, 5%)
// @primary-8: color(~`colorPalette('@{primary-color}', 8) `); // unused
// @primary-9: color(~`colorPalette('@{primary-color}', 9) `); // unused
// @primary-10: color(~`colorPalette('@{primary-color}', 10) `); // unused
@slider-light: #fff;
@color-black: #fff;
......@@ -61,46 +61,46 @@
letter-spacing: 2px;
}
}
& :global {
.@{ant-prefix}-dropdown-menu-item {
display: flex;
flex-direction: row;
align-items: center;
padding: 10px 12px!important;
div {
display: flex;
flex-direction: row;
align-items: center;
span:first-child {
width: 3px;
height: 3px;
background: #7A8E9D;
/* position: absolute; */
display: flex;
border-radius: 100%;
}
span:last-child {
padding-left: 10px;
}
}
// & :global {
// .@{ant-prefix}-dropdown-menu-item {
// display: flex;
// flex-direction: row;
// align-items: center;
// padding: 10px 12px!important;
// div {
// display: flex;
// flex-direction: row;
// align-items: center;
// span:first-child {
// width: 3px;
// height: 3px;
// background: #7A8E9D;
// /* position: absolute; */
// display: flex;
// border-radius: 100%;
// }
// span:last-child {
// padding-left: 10px;
// }
// }
&:hover {
// span:first-child {
// background: @primary-color;
// }
span:last-child {
color: @primary-color;
}
}
}
.@{ant-prefix}-dropdown-menu {
.@{ant-prefix}-divider-horizontal{
&:last-child {
display: none;
}
}
}
}
// &:hover {
// // span:first-child {
// // background: @primary-color;
// // }
// span:last-child {
// color: @primary-color;
// }
// }
// }
// .@{ant-prefix}-dropdown-menu {
// .@{ant-prefix}-divider-horizontal{
// &:last-child {
// display: none;
// }
// }
// }
// }
& :global {
.@{ant-prefix}-dropdown-custom-menu {
top: 82px!important;
......@@ -526,26 +526,6 @@
height: 9px;
}
//:global(.@{ant-prefix}-layout-sider-collapsed
//// .@{ant-prefix}-menu-dark.@{ant-prefix}-menu-vertical
//// .@{ant-prefix}-menu-item) {
//// display: flex;
//// align-items: center;
//// justify-content: space-between;
//// text-align: center;
//// padding: 0;
////}
////:global(.@{ant-prefix}-layout-sider-collapsed
//// .@{ant-prefix}-menu-dark.@{ant-prefix}-menu-vertical
//// .@{ant-prefix}-pro-sider-collapsed-button) {
//// display: block;
////}
////
////:global(.@{ant-prefix}-layout-sider-collapsed
//// .@{ant-prefix}-menu-vertical
//// .@{ant-prefix}-menu-item) {
//// line-height: 14px;
////}
:global(.@{ant-prefix}-layout-sider-collapsed
.@{ant-prefix}-menu-dark
......@@ -653,69 +633,6 @@
overflow: hidden;
white-space: nowrap;
}
//:global(.@{ant-prefix}-menu-inline-collapsed
// .@{ant-prefix}-menu-submenu.@{ant-prefix}-menu-submenu-vertical
// .@{ant-prefix}-menu-submenu-title
// .@{ant-prefix}-pro-menu-item) {
// top: 0 !important;
// font-size: 12px !important;
// text-overflow: ellipsis;
// overflow: hidden;
// white-space: nowrap;
//}
.complexLayout {
:global {
.@{ant-prefix}-pro-sider-menu {
.@{ant-prefix}-menu-item {
height: 36px;
line-height: 36px;
}
}
.@{ant-prefix}-layout-sider-collapsed {
width: 0px !important;
max-width: 0px !important;
min-width: 0px !important;
}
}
.complexCollapse {
order: 0;
flex: 0 1 auto;
height: 100%;
width: 0px;
position: absolute;
.collapsed {
width: 0px;
height: 64px;
position: absolute;
top: calc(50% - 32px);
right: -27px;
z-index: 20;
line-height: 46px;
border-width: 9px 9px 9px 20px;
border-style: solid;
border-color: transparent transparent transparent rgb(235, 235, 235);
border-image: initial;
cursor: pointer;
color: rgb(191, 191, 191);
transition: right 0.1s ease-in-out 0s, border 0.1s ease 0s;
&:hover {
right: -29px;
border-left-color: rgb(222, 222, 222);
}
:global {
.@{ant-prefix}icon {
width: 12px;
position: relative;
left: -15px;
color: rgb(193, 193, 193);
transform: rotate(0deg);
transition: transform 0.5s ease-in-out 0s, left 0.1s ease-in-out 0s;
top: -3px;
}
}
}
}
}
.popup-menu-flex {
display: flex;
flex-wrap: wrap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment