@import "./element-variables.scss";
::v-deep .search-container {
  .el-form-item__content {
    width: 550px;
  }
  .el-input-group__append {
    padding-left: 15px !important;
    padding-right: 15px !important;
    background: $--color-primary !important;
    border-color: $--color-primary !important;
    .search-btn {
      color: #fff !important;
    }
  }
}
::v-deep .el-dialog__header {
  background: #f7f5f5;
  .dialog-title {
    font-size: 17px;
    font-family: "Alibaba-PuHuiTi-Bold";
    color: #4c4949;
    display: flex;
    align-items: center;

    .title-line {
      display: inline-block;
      width: 5px;
      height: 18px;
      background: $--color-primary;
      margin-right: 6px;
    }
  }
}
//详情
.info-box {
  // display: flex;
  // flex-direction: column;
  // align-items: center;
  // justify-content: center;
  .info-item {
    display: flex;
    // align-items: center;
    margin-bottom: 20px;
    .item-lable {
      min-width: 80px;
      font-size: 16px;
      font-family: "Alibaba-PuHuiTi-Regular";
      font-weight: 400;
      color: #4c4949;
    }
    .item-value {
      font-size: 16px;
      font-family: "Alibaba-PuHuiTi-Regular";
      font-weight: 400;
      color: #807a7a;
    }
  }
}
//搜索框
.search {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
//卡片布局
::v-deep .book-main {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  li {
    width: 19%;
    height: 48.5%;
    margin-right: calc(1% + (2% / 8));
    margin-bottom: 1%;
    list-style: none;
    background: #fff;
    box-shadow: 0px 3px 15px 0px rgba(184, 184, 184, 0.22);
    border-radius: 10px;
    position: relative;
    overflow: hidden;

    .integral-num {
      position: absolute;
      top: 6%;
      right: 7%;
      font-size: 18px;
      font-weight: bold;
      color: $--color-primary;
      z-index: 10;
      font-family: "din-bold-2.ttf";
    }
    .operate {
      height: 13%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 10px;
      .integral {
        flex: 1;
        padding: 4px 0;
        font-weight: 400;
        font-family: "Alibaba-PuHuiTi-Regular";
        color: #4d4949;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .exchange-btn {
        padding: 4px 10px;
        font-size: 14px;
        cursor: pointer;
        font-family: "Alibaba-PuHuiTi-Regular";
        font-weight: 400;
        color: $--color-primary;
        background: rgba(249, 86, 95, 0.1);
        border-radius: 4px;
      }
    }
  }
  li:nth-of-type(5n) {
    margin-right: 0;
  }

  // li:nth-of-type(n + 2) {
  //   margin-bottom: 0;
  // }
}
::v-deep .pagination-container {
  height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  .el-pagination {
    top: 20px;
  }
}

.noData {
  display: flex;
  align-items: center;
  justify-content: center;
}

//证书查看
::v-deep .conversionInfo {
  .basicInfo,
  .logisticsInfo {
    .title {
      display: flex;
      align-items: center;
      img {
        width: 14px;
        margin-right: 10px;
      }
      span {
        font-size: 16px;
        font-family: "Alibaba PuHuiTi";
        font-weight: bold;
        color: #4c4949;
      }
    }
    .info {
      margin-top: 20px;
      display: grid;
      grid-column: 1fr;
      grid-row-gap: 20px;
      .lists {
        display: flex;
        align-items: center;
        justify-content: space-between;
        .list-left,
        .list-right {
          flex: 1;
          display: flex;
          align-items: center;
          div {
            &:nth-child(1) {
              font-size: 14px;
              font-family: "Alibaba PuHuiTi";
              font-weight: 400;
              color: #4c4949;
            }
            &:nth-child(2) {
              font-size: 14px;
              font-family: "Alibaba PuHuiTi";
              font-weight: 400;
              color: #807a7a;
            }
          }
        }
      }
    }
  }
  .logisticsInfo {
    margin-top: 30px;
  }
}

// 电子证书
.zs-box {
  height: 450px;
  width: 300px;
  position: relative;
  background: url("~@/assets/images/zs.jpg");
  background-size: 100% 100%;
  .zs-z {
    position: absolute;
    bottom: 10%;
    right: 10%;
    border: 1px solid red;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: url("~@/assets/images/z.png");
    background-size: 100% 100%;
  }
  .top-text {
    position: absolute;
    top: 30%;
    left: 50%;
    font-size: 14px;
    transform: translateX(-50%);
    z-index: 10;
    span {
      display: inline-block;
      width: 60px;
      text-align: center;
      border-bottom: 1px solid #333;
    }
  }
  .bottom-text {
    position: absolute;
    bottom: 10%;
    right: 10%;
    z-index: 10;
    .lable-value {
      margin-bottom: 3px;
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }
}
