.ZupTypes {
  padding-top: 3px;

  :global {
    .ZTboxTit {
      margin-left: 10px;
      font-size: 14px;
      color: rgb(126, 124, 124);
      position: relative;
      top: 4px;
    }

    .ZTbox {
      margin-top: 20px;
      display: flex;

      .ZTbox1 {
        position: relative;
        top: 3px;
        width: 60px;

        & > span {
          color: #ff4d4f;
        }
      }

      .ZTbox2 {
        width: calc(100% - 60px);
        margin-left: 5px;
        display: flex;
        font-size: 16px;
        align-items: center;

        .ZTbox2Look {
          margin-left: 20px;
          cursor: pointer;
        }

        .ZTbox2Down {
          margin-left: 15px;
          color: black;
        }

        .ZTbox2X {
          cursor: pointer;
          margin-left: 15px;
        }
      }
    }

    // 图片
    .ZTboxImgMain {
      margin-top: 20px;

      .ZTboxImgBox {
        display: flex;

        .ZTbox1 {
          position: relative;
          top: 3px;
          width: 60px;

          & > span {
            color: #ff4d4f;
          }
        }

        .ZTbox1Img {
          width: calc(100% - 60px);
          display: flex;
          flex-wrap: wrap;

          .ZTbox1ImgIcon {
            margin-right: 20px;
            color: #a6a6a6;
            border-radius: 3px;
            cursor: pointer;
            font-size: 30px;
            width: 100px;
            height: 100px;
            border: 1px dashed #797979;
            display: flex;
            justify-content: center;
            align-items: center;
          }

          .ZTbox1ImgRow {
            // content-visibility:auto;
            margin-right: 20px;
            width: 100px;
            height: 125px;
            position: relative;
            margin-bottom: 20px;
            cursor: move;
            position: relative;

            // 第一张作为封面
            .ZTbox1ImgRowCover {
              font-size: 12px;
              line-height: 22px;
              position: absolute;
              left: 0;
              top: 0;
              width: 100%;
              height: 24px;
              background-color: rgba(0, 0, 0, 0.8);
              color: #fff;
              text-align: center;
              pointer-events: none;
            }

            // 修改图片名字
            .ZTbox1ImgRowName {
              font-size: 12px;
              line-height: 22px;
              position: absolute;
              left: 0;
              bottom: 25px;
              width: 100%;
              cursor: pointer;
              height: 24px;
              padding: 0 3px;
              background-color: rgba(0, 0, 0, 0.8);
              color: #fff;
              text-align: center;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;

              &:hover {
                color: var(--themeColor);
              }
            }

            .ZTbox1ImgRowIcon {
              width: 100%;
              background-color: rgba(0, 0, 0, 0.6);
              color: #fff;
              display: flex;
              justify-content: space-around;
              font-size: 16px;

              a {
                color: #fff !important;
              }
            }

            .ZTbox1ImgRowX {
              cursor: pointer;
              position: absolute;
              right: -10px;
              top: -10px;
              z-index: 99;
              background-color: rgba(0, 0, 0, 0.8);
              width: 20px;
              height: 20px;
              border-radius: 50%;
              font-size: 16px;
              color: #fff;
              display: flex;
              justify-content: center;
              align-items: center;
            }
          }
        }
      }
    }

    .ZcheckTxt {
      position: relative;
      overflow: hidden;
      opacity: 0;
      transition: top 0.2s;
      color: #ff4d4f;
      top: -10px;
    }

    .ZcheckTxtAc {
      top: 2px;
      opacity: 1;
    }
  }
}

// 查看情况
.ZupTypesLook {
  :global {
    .ZTbox1ImgRowName {
      cursor: default !important;
      color: #fff !important;
    }

    .ZTbox1ImgRow {
      cursor: default !important;
    }

    .ZTbox1ImgRowX {
      display: none !important;
    }
  }
}

// 修改图片名字的弹窗
.ZupTypesMo {
  :global {
    .ant-modal-close {
      display: none;
    }

    .ZupTypesMoBtn {
      margin-top: 24px;
      text-align: center;
    }
  }
}
