.max1600 {
  max-width: 1600px;
}
.customer-contain-wrap {
  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: 16px;
      font-weight: 500;
      color: #303133;

      .vertical-line {
        display: block;
        width: 3px;
        height: 14px;
        margin-right: 8px;
        background: #2F54EB;
      }
    }
  }

  // 基本信息
  .basic-info-contain {
    margin-bottom: 50px;

    .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;
            z-index: 1;
            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;
            z-index: 1;
            width: 100%;
            height: 34px;
            transform: translateY(0);
            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;
            }

            .vertical-line {
              display: inline-block;
              width: 1px;
              height: 8px;
              margin: 0 6px;
              background: #e9e9e9;
            }
          }

          .user-avatar-img {
            display: block;
            width: 100%;
          }
        }
      }

      .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: #e2e4e8;

            &.follow {
              color: #28c445;
            }
          }

          &.unfollow {
            width: 20px;
            height: 20px;
          }

          &.icon-xiaochengxu1 {
            color: #11c18b;
          }

          &+.status-icon {
            margin-left: 6px;
          }
        }
      }
    }

    .extended-field-wrap {
      padding-left: 20px;

      .flex-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 32px;

        .tab-button-wrap {
          display: flex;
          justify-content: flex-start;
          align-items: center;

          .line {
            display: block;
            width: 1px;
            height: 14px;
            margin: 0 10px;
            background: #dcdfe6;
          }

          .el-button.no-active {
            color: #303133;

            &:hover {
              color: #597EF7;
            }
          }
        }

        .vertical-line {
          flex: 1;
          height: 1px;
          margin: 0 9px 0 13px;
          background: #e4e7ed;
        }
      }

      .extend-description {
        display: flex;
        padding: 20px 0 0;
        transition: height 1s;

        .shrink {
          height: 20px;
          overflow: hidden;
          box-sizing: border-box;
        }

        .toggleTag {
          flex-shrink: 0;
          width: 70px;
          text-align: right;
          font-size: 14px;
          font-weight: 400;
          color: #2F54EB;
          cursor: default;
        }

        .empty-block {
          flex: 1;
        }
      }
    }
  }

  // 会员卡信息
  .card-info-contain {
    padding: 20px 20px 50px;
  }

  // 客户记录
  .customer-record-contain {
    padding: 20px 26px 50px;

    .flex-wrap {
      display: flex;
      justify-content: flex-start;
      align-items: center;

      .flex-moudle-item {
        width: 265px;
        height: 224px;
        padding: 20px;
        background: #ffffff;
        border-radius: 8px;
        border: 1px solid #e4e7ed;
        box-sizing: border-box;

        &+.flex-column-wrap {
          margin: 0 20px;
        }
      }
      // 客户记录-积分相关
      .scores {
        flex-shrink: 0;
        margin-right: 20px;
        width: 420px;
        .score-icon, .card-icon, .balance-icon {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 56px;
          height: 56px;
          border-radius: 6px;
          i {
            font-size: 30px;
          }
        }
        &.is-clique {
          width: 387px;
          padding: 17px 13px 17px 18px;
          border-radius: 8px;
          border: 1px solid #E4E7ED;
          .score-icon, .card-icon, .balance-icon {
            width: 48px;
            height: 48px;
          }
          .scores-clique {
            margin-bottom: 22px;
            .score-icon {
              color: #FF9D1A;
              background: #FFF5E9;
            }
          }
          .scores-box {
            margin-bottom: 22px;
          }
        }
        &:not(.is-clique) .scores-box, &:not(.is-clique) .cards-box {
          padding: 25px 13px 25px 18px;
          border-radius: 8px;
          border: 1px solid #E4E7ED;
        }
        .scores-box {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 8px;
          height: 48px;
          cursor: pointer;
          .score-icon {
            color: #FFCB48;
            background: rgba(255, 203, 72, 0.15);
          }
          .scores-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
            min-width: 326px;
            .score-detail {
              margin-left: 10px;
              .score-detail-item {
                &+.score-detail-item {
                  margin-top: 9px;
                }
                .score-detail-label {
                  display: inline-block;
                  // margin-right: 16px;
                  width: 84px;
                  font-size: 13px;
                  font-weight: 400;
                  color: #606266;
                  line-height: 18px;
                  vertical-align: middle;
                }
                .score-detail-value {
                  font-size: 16px;
                  font-weight: bold;
                  color: #303133;
                  line-height: 19px;
                  vertical-align: middle;
                }
              }
            }
          }
        }
        .cards-box {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .card-item, .balance-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 50%;
          }
          .card-item {
            margin-right: 30px;
            cursor: pointer;
            .card-icon {
              color: #26DAD0;
              background: #ECF8FE;
            }
          }
          .balance-item {
            &.has-balance {
              cursor: pointer;
            }
            .balance-icon {
              color: #5C89FF;
              background: #ECF8FE;
            }
          }
        }
      }
      // 客户记录-订单相关
      .orders {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        flex-shrink: 0;
        width: 420px;
        .order-total {
          margin-bottom: 11px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-shrink: 0;
          width: 100%;
          cursor: pointer;
          .order-total-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 56px;
            height: 56px;
            color: #597EF7;
            background: #ECF8FE;
            border-radius: 6px;
            i {
              font-size: 30px;
            }
          }
        }
        .order-item {
          margin: 0 6px 4px 0;
          padding: 4px 4px 8px;
          width: 113px;
          border-radius: 4px;
          cursor: pointer;
          &:nth-child(3n + 1) {
            margin-right: 0;
          }
          &:hover {
            background: #F2F3F5;
            .order-item-count {
              color: #2F54EB;
            }
          }
          .order-item-label {
            font-size: 13px;
            font-weight: 400;
            color: #606266;
            line-height: 18px;
          }
          .order-item-count {
            margin-top: 8px;
            font-size: 20px;
            font-weight: bold;
            color: #303133;
            line-height: 24px;
          }
        }
      }

      .flex-item {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .left {
          display: flex;
          align-items: center;

          .icon-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 56px;
            height: 56px;
            margin: 0 20px 0 0;
            border-radius: 6px;

            &.market {
              background: #ecf8fe;

              .icon-yingxiaojilu {
                font-size: 26px;
                color: #26dad0;
              }
            }

            &.tel {
              background: #ecf8fe;

              .icon-tonghuajilu1 {
                font-size: 26px;
                color: #5c89ff;
              }
            }
          }

          .middle {
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            .label {
              margin-bottom: 5px;
              font-size: 14px;
              color: #303133;
            }

            .num {
              font-size: 20px;
              font-weight: bold;
              color: #303133;
            }
          }
        }

        .el-icon-arrow-right {
          color: #909399;
          margin-bottom: 3px;
          font-size: 12px;
          transition: all 0.5s;
        }

        &.hover:hover {
          cursor: pointer;

          .el-icon-arrow-right {
            color: #2F54EB;
            transform: translateX(5px);
          }
        }

        &.line-item {
          &+.line-item {
            margin-top: 10px;
          }

          .icon-wrap {
            width: 40px;
            height: 40px;
            margin-right: 10px;

            // background: #ecf8fe;
            img {
              height: 26px;
            }

            

            .iconfont {
              color: #597ef7;

              &.icon-mendianbaojiadan {
                font-size: 22px;
              }

              &.icon-a-weimeng2 {
                font-size: 30px;
              }

              &.icon-dingdan-copy {
                font-size: 24px;
              }
            }
          }

          .label {
            font-size: 14px;
            color: #303133;
            line-height: 28px;
          }

          .num {
            margin-left: 13px;
            font-size: 20px;
            font-weight: bold;
            color: #303133;
            line-height: 28px;
            vertical-align: middle;
          }
        }
      }

      .other-assets-item {
        position: relative;

        &+.other-assets-item {
          margin-top: 20px !important;
        }

        .icon-wrap {
          width: 56px !important;
          height: 56px !important;
        }

        .left {
          display: block !important;
        }

        .label {
          position: absolute;
          top: 0;
          left: 70px;
        }

        .num {
          position: absolute;
          top: 25px;
          left: 60px;
        }
      }

      .flex-column-wrap {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 265px;
        height: 224px;

        .flex-column-item {
          height: 107px;
          padding: 20px;
          background: #ffffff;
          border-radius: 8px;
          border: 1px solid #e4e7ed;
          box-sizing: border-box;

          .el-icon-arrow-right {
            margin-bottom: 9px;
            align-self: center;
          }
        }
      }
      .slipt-line{
        border-bottom: 1px dashed #E4E7ED;
        padding-bottom: 15px;
        margin-bottom:15px ;
       
     
      }
      .clique-item{
        position: relative;
        .label {
          position: absolute;
          top: -6px;
          left: 70px;
        }
        .num {
          position: absolute;
          top: 24px;
          left: 57px;
        }
   
        .icon-wrap {
          margin: 0;
          width: 48px !important;
          height: 48px!important;
          .iconfont {
            &.icon-jifenduihuan {
              font-size: 28px!important;
            }
  
            &.icon-jifenjiabei {
              font-size: 28px!important;
            }
          }
        }
      }
      .available-point {
        width: 108px;
        background: #F6F8FC;
        border-radius: 4px;
        padding: 4px 14px 5px 12px;
        box-sizing: border-box;
        position: relative;
        margin-top: 15px;
        flex-grow: 1;
        .label {
          font-size: 13px;
          color: #606266;
          line-height: 18px;
        }
        .num {
          line-height: 19px;
          font-size: 16px;
          margin-top: 4px;
          color: #303133;
          font-weight: bold;
        }
        .bg-icon {
          font-size: 48px;
          position: absolute;
          right: 6px;
          bottom: 5px;
          color: #E8ECF9;
        }
        &+.available-point {
          margin-left: 9px;
        }
      }
      .available-point-h{
        height: 110px;
        padding:16px 12px 5px 12px;
      }
    }
  }

  // 归属信息
  .ascription-info-contain {
    padding: 20px 20px 50px;

    .el-tag {
      height: 18px;
      margin-left: 16px;
      line-height: 18px;
      cursor: default;

      &--info {
        color: #303133;

        span {
          color: #909399;
        }
      }

      &--warning {
        span {
          color: #fcb15e;
        }
      }
    }

    .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;
      }

      .vertical-line {
        display: inline-block;
        height: 12px;
        width: 1px;
        margin-right: 20px;
        background: #c4c6cf;
      }

      .vertical-line+.store-name {
        margin-right: 20px;
      }

      .store-name:first-child {
        margin-right: 20px;
      }

      .store-name:last-of-type {
        margin-right: 0;
      }
    }
  }

  // 标签备注
  .label-remarks-contain {
    padding: 20px 0 50px;

    .tabs-wrap {
      padding: 10px 20px;
      border: 1px solid #e4e7ed;

      /deep/.el-tabs {
        /deep/.el-tabs__nav-scroll {
          display: flex;
          flex-direction: column;
          justify-content: center;
        }

      }

      /deep/.el-tabs__item {
        height: 48px;

        .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: auto;

        .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;
          }

          &.member-tag-group {
            p {
              width: 84px;
              text-align: right;
            }

            .no-data {
              font-size: 14px;
              color: #c0c4cc;
            }
          }
        }

        .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;
          justify-content: flex-start;
          flex-wrap: wrap;

          .dictFigure-item {
            display: flex;
            width: 134px;
            height: 68px;
            margin-bottom: 20px;
            margin-right: 39px;

            .img-wrap {
              width: 68px;
              height: 68px;
              margin-right: 9px;
              background: #f5f7fa;
              text-align: center;
            }

            .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;
  }
}

.member-info-row {
  font-size: 0;

  &+.member-info-row {
    margin-top: 20px;
  }

  .member-info-name {
    display: inline-block;
    vertical-align: middle;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .info-lebel {
    margin-right: 10px;
    line-height: 24px;
  }

  .info-content {
    display: inline-block;
    vertical-align: top;
    line-height: 24px;
  }
}

.info-lebel,
.info-content {
  font-size: 14px;
  color: #606266;

  .gray-font {
    color: #909399;
  }
}

// 描述列表最后一行取消padding
/deep/.el-descriptions {
  .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;

  img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  p {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    color: #909399;
  }
}
.text-over{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: wrap;
}