index.less 781 Bytes
.category-tree {
  flex: 1 1 auto;
  margin: 16px;
  padding: 32px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 2px;
  &-search {
    width: 50%;
    margin-bottom: 20px;
  }
  .ant-tree-treenode-switcher-close:hover {
    background-color: #f4f4f5 !important;
    border-radius: 4px !important;
  }
  .ant-tree-node-content-wrapper {
    width: 100%;
  }
  .ant-tree-title {
    display: flex;
  }
  .tree-node {
    align-items: center;
    justify-content: space-between;
    width: 100%;

    .but_operation {
      display: none; // 默认隐藏按钮
    }


  }
  .tree-node:hover {
    &:hover .but_operation {
      display: inline-block; // 悬停时显示按钮
        .but_type {
          margin-left: 32px;
          color: red;
        }
    }
  }
}