.max1600 {
  max-width: 1600px;
}
.customer-contain-wrap {
  min-height: calc(100vh - 208px);
  margin: 20px;
  padding: 20px;
  background: #fff;
  box-sizing: border-box;
  // 公共头部title
  .info-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 20px 0 12px;
    background: #f7f8fa;
    .item-title {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      line-height: 40px;
      font-size: 14px;
      font-weight: 500;
      color: #303133;
      .line {
        display: block;
        width: 3px;
        height: 14px;
        margin-right: 8px;
        background: #1890ff;
      }
    }
  }
  // 基本信息
  .basic-info-contain {
    margin-bottom: 30px;
    .flex-wrap {
      display: flex;
      margin-bottom: 10px;
      padding: 20px 20px 0;
      .left {
        width: 120px;
        margin-right: 20px;
        .user-avatar {
          position: relative;
          width: 120px;
          height: 120px;
          border-radius: 2px;
          overflow: hidden;
          .tag {
            position: absolute;
            top: 0;
            right: 0;
            width: 35px;
            height: 16px;
            padding-right: 2px;
            font-size: 12px;
            text-align: right;
            line-height: 16px;
            color: #ffffff;
            background: #f5222d;
            border-radius: 0px 2px 0px 36px;
            box-sizing: border-box;
            cursor: default;
          }
          .maskOperation {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 34px;
            transform: translateY(43px);
            transition: transform 0.5s, -webkit-transform 0.5s;
            background: linear-gradient(
              180deg,
              rgba(0, 0, 0, 0) 0%,
              rgba(0, 0, 0, 0.6) 100%
            );
            border-radius: 0px 0px 2px 2px;
            font-size: 12px;
            font-weight: 400;
            color: #ffffff;
            text-align: center;
            line-height: 43px;
            span {
              display: inline-block;
              cursor: pointer;
            }
            .line {
              display: inline-block;
              width: 1px;
              height: 8px;
              margin: 0 6px;
              background: #e9e9e9;
            }
          }
          .user-avatar-img {
            display: block;
            width: 100%;
          }
          &:hover {
            .maskOperation {
              transform: translateY(0px);
            }
          }
        }
      }
      .right {
        flex: 1;
        .tag {
          height: 17px;
          padding: 0 8px;
          margin-right: 13px;
          line-height: 17px;
          cursor: default;
        }
        .status-icon {
          font-size: 20px;
          line-height: 19px;
          vertical-align: middle;
          &.icon-weixin1 {
            color: #28c445;
          }
          &.icon-xiaochengxu1 {
            color: #11c18b;
          }
          & + .status-icon {
            margin-left: 6px;
          }
        }
      }
    }
    .extended-field-wrap {
      .flex-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 32px;
        /deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
          color: #1890ff;
          background-color: #fff;
          border-left-color: #1890ff;
        }
        .line {
          flex: 1;
          height: 1px;
          margin: 0 9px 0 13px;
          background: #e4e7ed;
        }
        .toggleTag {
          font-size: 14px;
          font-weight: 400;
          color: #1890ff;
          cursor: default;
        }
      }
      .extend-description {
        padding: 20px 20px 0;
      }
    }
  }
  // 会员卡信息
  .card-info-contain {
    padding: 20px 20px 30px;
  }
  // 资产信息
  .assets-info-contain {
    padding: 20px 20px 30px;
    .card-list-wrap {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      height: 89px;
      .card-item {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 285px;
        height: 89px;
        padding: 0 20px;
        margin-right: 40px;
        background: #ffffff;
        border-radius: 2px;
        border: 1px solid #e4e7ed;
        box-sizing: border-box;
        transition: all 0.3s;
        &.integral:hover,
        &.coupon:hover {
          cursor: pointer;
          transform: translateY(-5px);
          box-shadow: 0 2px 7px rgba(122, 138, 203, 0.2);
        }
        .icon-wrap {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 60px;
          height: 60px;
          border-radius: 7px;
          margin-right: 21px;
          color: #fff;
          .iconfont {
            font-size: 35px;
          }
          &.integral {
            background: #ffcb48;
          }
          &.coupon {
            background: #597ef7;
            .iconfont {
              font-size: 45px;
            }
          }
          &.balance {
            background: #26dad0;
          }
        }
        .middle {
          flex: 1;
          .label {
            margin-bottom: 8px;
            font-size: 14px;
            color: #303133;
            line-height: 20px;
          }
          .num {
            font-size: 20px;
            font-weight: bold;
            color: #303133;
            line-height: 28px;
          }
        }
        .el-icon-arrow-right {
          display: block;
          align-self: flex-end;
          margin-bottom: 22px;
        }
      }
    }
  }
  // 归属信息
  .ascription-info-contain {
    padding: 20px 20px 30px;
    .el-tag--info {
      height: 18px;
      margin-left: 16px;
      line-height: 18px;
      color: #303133;
      cursor: default;
      span {
        color: #909399;
      }
    }
    .assist-store-list {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      font-size: 14px;
      color: #606266;
      line-height: 20px;
      cursor: default;
      p {
        margin: 0 0 4px;
      }
      .line {
        display: inline-block;
        height: 12px;
        width: 1px;
        margin-right: 20px;
        background: #c4c6cf;
      }
      .line + .store-name {
        margin-right: 20px;
      }
      .store-name:first-child {
        margin-right: 20px;
      }
      .store-name:last-of-type {
        margin-right: 0;
      }
    }
  }
  // 交易记录
  .transaction-record-contain {
    padding: 20px 20px 30px;
    .card-list-wrap {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .card-item {
        margin-right: 127px;
        cursor: pointer;
        &:hover {
          .one-line {
            color: #1890ff;
            .el-icon-arrow-right {
              color: #1890ff;
            }
          }
        }
        .one-line {
          margin-bottom: 10px;
          line-height: 20px;
          font-size: 14px;
          font-weight: 400;
          color: #303133;
          line-height: 20px;
          .svg,
          img {
            margin-right: 6px;
            line-height: 20px;
          }
          .svg {
            font-size: 20px;
            vertical-align: top;
            &.icon-mendianbaojiadan {
              color: #5c89ff;
            }
          }
          img {
            width: 14px;
            vertical-align: middle;
          }
          .el-icon-arrow-right {
            font-size: 14px;
            color: #909399;
            margin-left: 4px;
          }
        }
        .two-line {
          margin-left: 23px;
          font-size: 20px;
          font-weight: bold;
          color: #303133;
          line-height: 28px;
        }
      }
    }
  }
  // 交互记录
  .interactive-record-contain {
    padding: 20px 20px 30px;
    .card-list-wrap {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .line {
        margin: 0 50px;
        width: 1px;
        height: 13px;
        background: #e4e7ed;
      }
      .card-item {
        font-size: 14px;
        color: #303133;
        line-height: 20px;
        cursor: default;
        .iconfont {
          margin-right: 8px;
          font-size: 20px;
          color: #606266;
          &.icon-tonghuajilu {
            font-size: 19px;
          }
        }
        span {
          margin-left: 15px;
          font-size: 16px;
          font-weight: bold;
          color: #303133;
        }
        &.numOfTel:hover {
          cursor: pointer;
          color: #1890ff;
          .iconfont,
          span {
            color: #1890ff;
          }
        }
      }
    }
  }
  // 标签备注
  .label-remarks-contain {
    padding: 20px 0 30px;
    .tabs-wrap {
      padding: 10px 20px;
      border: 1px solid #e4e7ed;
      .el-tabs__item {
        .tip {
          color: #909399;
        }
        &:hover,
        &.is-active {
          .tip {
            color: inherit;
          }
        }
      }
      /deep/.el-tabs__content {
        height: 200px;
        padding: 14px 40px 0;
        box-sizing: border-box;
        overflow-y: scroll;
        .el-tab-pane {
          min-height: 100%;
        }
        .el-tag {
          height: 18px;
          padding: 0 8px;
          font-size: 12px;
          color: #303133;
          line-height: 18px;
          cursor: default;
        }
        .flex-tag-wrap {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
        }
        .hand-label-item {
          display: flex;
          margin-bottom: 20px;
          p {
            flex-shrink: 0;
            margin: 0;
            font-size: 14px;
            color: #303133;
            line-height: 18px;
          }
        }
        .clerk-remarks-item {
          border-bottom: 1px solid #e4e7ed;
          margin-bottom: 18px;
          .one-line {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            p {
              margin: 0;
              font-size: 14px;
              color: #303133;
              line-height: 20px;
            }
            .create-time {
              font-size: 12px;
              color: #909399;
              line-height: 17px;
            }
          }
          .remark-content {
            margin-bottom: 10px;
            font-size: 14px;
            color: #303133;
            line-height: 20px;
          }
        }
        .dictFigure-wrap {
          display: flex;
          gap: 39px;
          .dictFigure-item {
            display: flex;
            width: 134px;
            height: 68px;
            .img-wrap {
              width: 68px;
              height: 68px;
              margin-right: 9px;
              background: #f5f7fa;
              text-align: center;
            }
            img {
              height: 100%;
            }
            .right {
              display: flex;
              flex-direction: column;
              justify-content: center;
              p {
                margin: 0;
                font-size: 14px;
                line-height: 20px;
              }
              .dict-name {
                margin-bottom: 10px;
                color: #909399;
              }
              .dictFigure-name {
                color: #303133;
              }
            }
          }
        }
      }
    }
  }
  // 日志
  .log-info-contain {
    padding-top: 20px;
  }
}
// 描述列表最后一行取消padding
/deep/.el-descriptions {
  .info-lebel,
  .info-content {
    font-size: 14px;
  }
  .el-descriptions-item__cell {
    padding-bottom: 20px;
  }
  .el-descriptions-row {
    vertical-align: top;
  }
  .el-descriptions__body
    .el-descriptions__table
    tbody:last-child
    .el-descriptions-item__cell {
    padding-bottom: 0;
  }
  .el-descriptions-item__container {
    flex-wrap: nowrap;
    // align-items: center;
    .el-descriptions-item__label {
      flex-shrink: 0;
    }
  }
}
// 编辑按钮
.edit-span {
  display: inline-block;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-left: 9px;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  .el-icon-edit {
    font-size: 14px;
    color: #909399;
  }
  &:hover {
    background: #f2f3f7;
    .el-icon-edit {
      color: #606266;
    }
  }
}
// 空数据
.empty-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  p {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    color: #909399;
  }
}
