@imgSrc: '@/assets/images/bsmanager/patrolMaintenance/maintenance';
.QRCodeModal {
  .ant-modal-header {
    padding: 0
  }
  .ant-modal-content {
    border-radius: 25px;
    overflow: hidden;
  }
  .ant-modal-close-x {
    width: 50px;
    height: 50px;
    line-height: 56px;
  }
  .qrCodeCell {
    &:hover {
      cursor: pointer;
    }
  }
  .QRCodeTitle {
    width: 100%;
    height: 57px;
    line-height: 57px;
    color: white;
    font-weight: bold;
    background: url('@{imgSrc}/标题.png');
    background-size: 100% 100%;
    padding-left: 20px;
    font-size: 20px;
  }
  .QRCodeList {
    width: 100%;
    height: 100%;
    .table {
      .ant-table-thead {
        .ant-table-cell {
          background: linear-gradient(to bottom, #FEFEFF, #D5E9FF);
        }
        th {
          border-bottom: 2px solid #DBE7FB;
          text-align: center;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }
      .ant-pro-table-list-toolbar-container {
        padding: 10px 0;
      }
      .ant-table-body {
        tr {
          td {
            border-bottom: 1px solid #DBE7FB;
            border-right: 1px solid #DBE7FB;
          }
        }
        .ant-table-row {
          padding: 4px;
        }
        tr:nth-child(even) {
          background: #F3F9FF;
          .panda-civ-workflow-table-cell-fix-right {
            background-color: #F3F9FF;
          }
        }
        &::-webkit-scrollbar {
          width: 0;
          height: 6px;
        }
      }
    }
  }
  .QRCodeDesign {
    width: 100%;
    height: 100%;
    display: flex;
    .left {
      flex: 1;
      width: 100%;
      height: 100%;
      border-radius: 5px;
      border: 1px solid #BCDEFF;
      overflow: hidden;
      .header {
        position: relative;
        width: 100%;
        height: 42px;
        display: flex;
        align-items: center;
        background: linear-gradient(to right, #EEF6FF, #FBFDFF);
        padding: 0 10px 0 10px;
        border-bottom: 1px solid #BCDEFF;
        .h-icon {
          width: 4px;
          height: 15px;
          border-radius: 3px;
          background: #1685FF;
        }
        .h-text {
          font-weight: bold;
          margin-left: 5px;
        }
        .h-background {
          width: 50%;
          height: 100%;
          background: url('@{imgSrc}/编辑字段背景.png');
          background-size: 100% 100%;
        }
        .h-bgArrow {
          position: absolute;
          right: 5%;
          width: 53px;
          height: 18px;
          background: url('@{imgSrc}/右键图标.png');
          background-size: 100% 100%;
        }
      }
      .content {
        width: 100%;
        height: calc(100% - 42px);
        background: white;
        .gName {
          padding: 10px;
          font-weight: 700;
          border-bottom: 1px solid #EEEEEE;
        }
        .tag {
          padding: 2px 10px;
          border-radius: 1px;
          &[type='设备名称'] {
            background: rgb(205 235 221);
            color: rgb(42 91 68);
          }
          &[type='设备编号'] {
            color: rgb(224, 95, 66);
            background: rgb(224 201 196);
          }
        }
        .uploadIcon {
          width: 30px;
          height: 32px;
          margin: 0 auto;
          background: url('@{imgSrc}/上传文件.png');
          background-size: 100% 100%;
        }
        .uploadBtn {
          width: 75px;
          height: 28px;
          line-height: 28px;
          border-radius: 3px;
          border: 1px solid #E4ECF4;
          text-align: center;
          margin: 10px auto;
        }
      }
    }
    .right {
      width: 500px;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      .box {
        width: 62%;
        height: 78%;
      }
    }
  }
  .downIcon {
    width: 15px;
    height: 15px;
    margin-right: 2px;
    display: inline-block;
    background: url('@{imgSrc}/下载图标.png');
    background-size: 100% 100%;
    position: relative;
    top: 2px;
  }
}

.QRCode {
  width: 100%;
  height: 100%;
  background: url('@{imgSrc}/二维码背景.png');
  background-size: 100% 100%;
  position: relative;
  .company {
    height: 50px;
    color: white;
    padding: 3%;
    text-align: center;
    font-size: 20px;
    &[active='true'] {
      border: 1.5px solid #f57c00;
    }
  }
  .title {
    text-align: center;
    font-size: 26px;
    color: white;
    font-weight: 700;
    font-style: italic;
    &[active='true'] {
      border: 1.5px solid #f57c00;
    }
  }
  .QR {
    position: absolute;
    top: 36.1%;
    left: 24.6%;
    width: 51.1%;
    height: 32%;
    border-radius: 5%;
    overflow: hidden;
    .QRLogo {
      z-index: 99;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 30%;
      height: 30%;
      &[active='true'] {
        border: 1.5px solid #f57c00;
      }
      .systemLogo {
        width: 100%;
        height: 100%;
        background: url('@{imgSrc}/熊猫-蓝色.png');
        background-size: 100% 100%;
      }
    }
  }
  .pandaLogo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22%;
    width: 47%;
    height: 5%;
    .pandaLogoC {
      width: 100%;
      height: 100%;
      background: url('@{imgSrc}/熊猫logo.png');
      background-size: 100% 100%;
    }
    &[active='true'] {
      border: 1.5px solid #f57c00;
    }
  }
  .info {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    width: 84%;
    height: 10%;
    .tag {
      margin-left: 29%;
      padding: 2px 10px;
      border-radius: 1px;
      &[type='设备名称'] {
        background: rgb(205 235 221);
        color: rgb(42 91 68);
      }
      &[type='设备编号'] {
        color: rgb(224, 95, 66);
        background: rgb(224 201 196);
      }
    }
    .DeviceName {
      text-align: center;
      font-size: 15px;
      font-weight: bold;
    }
    .DeviceCode {
      text-align: center;
      font-size: 15px;
      font-weight: bold;
    }
  }
}

.QRCodeMinModal {
  .ant-modal-close-x {
    width: 40px;
    height: 40px;
    color: white;
  }
}