@import "../../../../src/theme.less";
:host {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #F9FAFB;
  .washingBatchView{
    height: 100%;
    display: flex;
    flex-direction: column;
    // 头部
    .head{
      // height: 130px;
      height: 88px;
      flex-shrink: 0;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px 0 4px;
      .head_logo{
        flex: 1;
        display: flex;
        align-items: center;
      }
      .logo{
        width: 300px;
        height: 100%;
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid #E7E7E7;
        img{
          max-width: 100%;
          max-height: 100%;
        }
      }

      .title{
        // font-size: 30px;
        font-size: 22px;
        font-weight: bold;
        color: @primary-color;
        margin-left: 30px;
        .createTime{
          margin-left: 24px;
        }
      }
    }

    // 主体
    .main{
      margin: 20px;
      background-color: #fff;
      border: 1px solid #E3E3E3;
      flex: 1;
      display: flex;
      flex-direction: column;

      .search{
        height: 75px;
        flex-shrink: 0;
        &.top {
          height: 74px;
          padding: 0 16px;
          line-height: 74px;
          border-bottom: 1px solid #e5e9ed;
          position: relative;
          z-index: 2;

          & > div {
            input {
              width: 224px;
            }

            button {
              margin-left: 8px;
              // width: 117px;
              // height: 45px;
              // font-size: 20px;
            }
          }
        }
        .searchItem {
          // font-size: 20px;
          .label {
            margin-left: 16px;
            color: #333;
            display: inline-block;
            text-align-last: justify;
            text-align: justify;
          }
          .formItem {
            width: 150px;
            // font-size: 18px;
          }
        }
      }
      .list{
        flex: 1;
        th{
          background-color: #49b856!important;
          color: #fff!important;
          // font-size: 22px;
        }
        // td{
        //   font-size: 20px;
        //   &:first-of-type{
        //     font-size: 22px;
        //   }
        // }
        td, th{
          border-color: #000!important;
          font-weight: bold!important;
        }
        .table_hover:hover{
          text-decoration: underline;
          cursor: pointer;
        }
      }
      .bottom{
        height: 90px;
        flex-shrink: 0;
        padding-top: 20px;
        display: flex;
        justify-content: flex-end;
        strong{
          // font-size: 22px;
          font-size: 18px;
          margin-right: 25px;
          color: @primary-color;
        }
      }
    }
  }
  .save {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;

    .modalBody {
      width: 350px;
      height: 220px;
      background: #fff;
      border-radius: 5px;
      padding: 10px 20px;
      color: #333;

      .title {
        width: 100%;
        text-align: center;
        // font-size: 18px;
        position: relative;

        i {
          position: absolute;
          right: 0;
          top: 0;
          // font-size: 20px;
          color: #666;
          cursor: pointer;
          padding: 0 5px;
        }
      }

      .content {
        width: 310px;
        height: 117px;
        background: #f9fafb;
        border: 1px solid #e5e9ed;
        border-radius: 5px;
        overflow: hidden;
        margin-top: 12px;

        div {
          text-align: center;
          margin: 0;

          &.icon {
            margin-top: 17px;

            i {
              color: #34b349;
              // font-size: 30px !important;

              &.transport-wenhao {
                color: #f5a523;
              }

              &.transport-shibai {
                color: #ff3a52;
              }
            }
          }

          &.defeat {
            color: #333;
            // font-size: 18px;
          }

          &:nth-child(3) {
            // font-size: 14px;
            color: #666;
          }
        }
      }

      button {
        margin-top: 10px;

        &.btn {
          margin-left: 8px;
        }
      }
    }

    // 新增
    &.add {
      .modalBody {
        width: 480px;
        height: auto;

        .content {
          width: 100%;
          height: auto;
          padding: 18px 14px 0 14px;

          .addForm {
            .ant-form-item {
              margin-bottom: 15px;

              .ant-form-item-label {
                line-height: 0;
                text-align: left;
              }
            }
          }

          .editForm {
            .ant-form-item {
              margin-bottom: 15px;

              .ant-form-item-label {
                line-height: 0;
                text-align: left;
              }
            }
          }
        }

        button {
          &:nth-child(1) {
            margin-right: 20px;
          }
        }
      }
    }
  }
}
