diff --git a/hx-ai-intelligent/src/App.vue b/hx-ai-intelligent/src/App.vue index af9b91f..3333c55 100644 --- a/hx-ai-intelligent/src/App.vue +++ b/hx-ai-intelligent/src/App.vue @@ -79,24 +79,53 @@ // 区域阴影 // .ns-list-table { - // :deep(.ant-tabs) { - // // overflow: visible; - // box-shadow: @ns-content-box-shadow; - // border-radius: @ns-border-radius; - // .ns-table-search { - // box-shadow: none; - // border-top-left-radius: 0px !important; - // border-top-right-radius: 0px !important; - // } - // .ns-table-main { - // } - // .ant-tabs-tabpane-active > div { - // height: 100%; - // } - // } + :deep(.ant-tabs) { + // // overflow: visible; + // box-shadow: @ns-content-box-shadow; + // border-radius: @ns-border-radius; + .ns-table-search { + border-top-left-radius: 0px !important; + border-top-right-radius: 0px !important; + } + .ns-table-main { + border-bottom-left-radius: 0px !important; + border-bottom-right-radius: 0px !important; + } + // .ant-tabs-tabpane-active > div { + // height: 100%; + // } + } // .ant-tabs .ns-table-main { // border-bottom-left-radius: 0px !important; // border-bottom-right-radius: 0px !important; // } // } + + // 菜单icon(仅仅处理特殊需求:未选中时icon与文字不同色) + :deep(.anticon) { + color: #8d96a3 !important; + } + + :deep(.ant-menu-item-selected .ant-menu-item-only-child), + :deep(.ant-menu-submenu-selected .ant-menu-item-only-child), + :deep(.firstMenuItem-selected) { + .router-link-active > .anticon { + color: @white !important; + } + } + + :deep(.ant-menu-item-active) { + .anticon { + color: @primary-color !important; + } + } + :deep(.ant-menu-submenu-active), + :deep(.ant-menu-submenu-open), + :deep(.ant-menu-item-selected) { + .ant-menu-submenu-title { + .anticon { + color: @primary-color !important; + } + } + }