.AddGoods {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 0px 24px;
  width: 100%;
  height: 100%;

  :global {
    .AddGtit {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      padding: 0 24px;
      padding-bottom: 10px;
      border-bottom: 1px solid #ccc;
      .AddGtitLL {
        & > span {
          font-size: 18px;
          font-weight: 700;
          color: var(--themeColor);
          margin-right: 15px;
        }
        .ant-btn {
          margin-right: 20px;
        }
      }
    }

    .B3Nred {
      color: #ff4d4f;
    }

    .B3Nmain {
      padding: 0 24px;
      height: calc(100% - 42px);
      overflow-y: auto;
      width: calc(100% - 150px);
      .B3Ntit {
        font-size: 16px;
        font-weight: 700;
        padding-left: 15px;
        position: relative;
        margin-bottom: 15px;
        &::before {
          position: absolute;
          left: 0px;
          top: 50%;
          transform: translateY(-50%);
          content: '';
          width: 6px;
          height: 16px;
          background-color: var(--themeColor);
        }
      }
      .ant-form-item-label {
        width: 100px;
      }

      .B3Nbox {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: self-start;
        margin-bottom: 24px;
        .B3Nrow {
          width: 48%;
          display: flex;
          position: relative;
          .ant-input {
            width: 400px;
          }
          .ant-picker {
            width: 462px;
          }
          textarea {
            width: 462px !important;
          }
          .ant-select-selector {
            width: 464px;
          }

          .B3Nrowll {
            width: 100px;
            text-align: right;
          }
          .B3Nrowrr {
            width: calc(100% - 100px);
            word-wrap: break-word;
          }

          // 一些定位的盒子
          .B3NrowDing {
            position: absolute;
            top: 60px;
            left: 0;
            .ant-select-selector {
              width: 464px;
            }
          }
          // 具体质量
          .B3NrowDing2 {
            display: flex;
            .ant-input-number {
              width: 205px;
            }
            .ant-select-selector {
              width: 260px;
            }
          }
        }
        .B3Nrow0 {
          .ant-input {
            width: 260px;
          }
          .ant-input-number {
            width: 325px;
          }
          .ant-select-selector {
            width: 140px;
          }
        }

        // 质地
        .B3Nrow1 {
          .ant-select-selector {
            width: 156px;
          }
        }

        // 左边数字填写 右边级联
        .B3NrowNumOrCas {
          .ant-input-number {
            width: 140px;
          }
          .ant-select-selector {
            width: 325px;
          }
        }

        // 封面
        .formRow {
          width: 48%;
          display: flex;
          .formLeft {
            width: 100px;
            text-align: right;
            & > span {
              color: #ff4d4f;
            }
          }
        }

        // 备注 富文本
        .formRow2 {
          width: 100%;
          .formLeft {
            position: relative;
            top: 5px;
          }
          .formRightSize {
            // 尺寸
            display: flex;

            .ant-form-item-label {
              width: 60px;
            }

            .ant-input-number {
              width: 205px;
            }
            .ant-select-selector {
              width: 205px;
            }
          }
        }

        // 著者 版本 存卷
        .B3Nrow2 {
          flex-direction: column;
          .ant-form-item {
            width: 565px;
          }
        }

        // 一些比较长的label字段
        .B3NlongTxt {
          .ant-form-item-label {
            position: relative;
            left: -7px;
          }
        }
        .B3NlongTxt2 {
          .ant-form-item-label label {
            font-size: 13px;
          }
        }
      }

      .B3Nbox1 {
        // 相关附件
        .B3Ntit {
          width: 600px;
          display: flex;
          .B3Ntitll {
            position: relative;
            top: 3px;
            & > span {
              font-size: 12px;
              color: #999;
            }
          }
          #Z3upFiles {
            margin-left: 20px;
            width: auto;
          }
        }
        .tableImgAuto {
          display: flex;
          justify-content: center;
        }
        .ant-table-cell {
          text-align: center;
          padding: 8px !important;
        }
      }

      .B3Nbtn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 36px;
        .ant-btn {
          width: 74px;
          display: block;
        }
      }
    }
  }
}
