.component-category-add-or-update {
  .popup {
    display: block;
    .red-tag-txt {
      color: #ff4949;
    }

    // 表格上的标题
    .title {
      display: flex;
      align-items: center;
      width: 100%;
      height: 64px;
      padding-left: 20px;
      border-bottom: 1px solid #EAEAEA;
      .text {
        height: 23px;
        line-height: 21px;
        font-size: 16px;
        .stress {
          color: #FF2120;
        }
      }
      .tips {
        height: 16px;
        line-height: 16px;
        font-size: 12px;
        color: #999;
        margin-left: 10px;
      }
      .close-btn {
        font-size: 23px;
        color: #DEDEDE;
        margin-left: auto;
        margin-right: 20px;
        cursor: pointer;
      }
    }

    // 内容
    .content {
      display: flex;
      padding: 0 20px;
      margin-top: 20px;
      // 左边-全部分类列表
      .left-box {
        display: block;
        width: 20%;
        margin-right: 10px;
        border: 1px solid #E9EAEC;
        min-width: 200px;
        padding: 10px 0;
        .tree-box {
          box-sizing: border-box;
          width: 100%;
          font-size: 14px;
          background: #FFFFFF;
          overflow-y: scroll;
          height: 574px;
          &::-webkit-scrollbar {
            display: none;
          }
          .filter-tree {
            padding-right: 10px;
            .el-tree-node__expand-icon {
              position: absolute;
              right: 2%;
            }
            .el-checkbox {
              margin-left: 12px;
            }
            .el-tree-node__expand-icon.expanded {
              transform: rotate(-90deg);
            }
            .custom-tree-node {
              display: inline-block;
              max-width: 130px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }
        }
      }

      .right-box {
        position: relative;
        width: 80%;
        height: 574px;
        border: 1px solid #E9EAEC;
        box-sizing: border-box;
        margin-left: 21px;
        // 上传图片样式
        :deep(.business-qual) {
          .el-upload-list--picture-card {
            .el-upload-list__item {
              width: 80px;
              height: 80px;
              line-height: 80px;
              margin-bottom: 0;
            }
          }
          .el-upload--picture-card {
            width: 80px;
            height: 80px;
            line-height: 80px;
          }
        }
      }
      .table-box {
        :deep(.el-table__body-wrapper) {
          max-height: 524px;
          overflow-y: scroll;
          scrollbar-width: none; /* Firefox */
          -ms-overflow-style: none; /* IE 10+ */
        }
        :deep(.el-table__body-wrapper::-webkit-scrollbar) {
          display: none; /* Chrome Safari */
        }
        :deep(.el-table__body) {
          width: 100%;
        }
      }
    }
    //侧边栏
    .custom-tree-node {
      font-size: 14px;
    }
    // 按钮
    .btn-box {
      display: flex;
      width: 100%;
      justify-content: flex-end;
      padding: 16px 20px 30px 0;
      margin-bottom: 50px;
      .cancel-btn {
        width: 91px;
        height: 36px;
        line-height: 34px;
        font-size: 14px;
        text-align: center;
        border: 1px solid #E2E2E2;
        border-radius: 4px;
        box-sizing: border-box;
        margin-right: 20px;
        cursor: pointer;
      }
      .confirm-btn{
        width: 91px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        color: #fff;
        background: #155bd4;
        text-align: center;
        border-radius: 4px;
        cursor: pointer;
      }
    }
  }
}
:deep(.el-tooltip__trigger){
  display: inline-block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:deep(.component-category-add-or-update) {
  .el-dialog__body{
    padding: 0;
  }

  .el-dialog__header {
    padding: 0;
  }
}
