customerList.scss 4.34 KB
/* packageMine/pages/customerManagement/customerList/customerList.wxss */
.customer-list-page {
  width: 100%;
  box-sizing: border-box;
  padding: 20rpx;
  background-color: #F2F3F7;

  .btn_box {
    width: 100%;
    height: 96rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 16rpx;
    color: var(--btnColor);
    font-size: 28rpx;
    font-weight: 600;
    margin-bottom: 32rpx;

    .icon {
      width: 40rpx;
      height: 40rpx;
      margin-right: 16rpx;
      vertical-align: -12rpx
    }
  }

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

    .title {
      color: #323436;
      font-size: 28rpx;
      font-weight: 600;

      .number {
        color: var(--btnColor)
      }
    }

    .select-btn {
      box-sizing: border-box;
      padding: 16rpx 0;
      display: flex;
      align-items: center;
      z-index: 2;
      background-color: #f2f3f7;

      .type {
        margin-left: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 16rpx;
        height: 24px;
        line-height: 24px;
        background: #ffffff;
        border-radius: 14px;
        font-size: 12px;
        color: #8a8c90;

        text {
          max-width: 360rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .point {
          margin-left: 2px;
          width: 12px;
          height: 12px;
        }
      }
    }
  }

  .item-box {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12rpx;
    margin-bottom: 20rpx;

    .top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24rpx 0;
      margin: 0 32rpx;
      border-bottom: 2rpx dotted #CCCED1;

      .message {
        width: calc(100% - 36rpx);
        display: flex;

        .avatar {
          flex-shrink: 0;
          width: 72rpx;
          height: 72rpx;
          margin-right: 12rpx;
        }

        .message-text {
          display: flex;
          flex-flow: column;
          justify-content: center;
          width: calc(100% - 84rpx);

          .name {
            color: #323436;
            font-size: 28rpx;
            word-break: break-all;
          }

          .tips {
            color: #858A94;
            font-size: 26rpx;
          }
        }
      }

      .arrow_right {
        width: 36rpx;
        height: 36rpx;
      }
    }

    .employee-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 27rpx 12rpx 24rpx 32rpx;

      .employee-list {
        display: flex;
        align-items: center;
        font-size: 26rpx;
        color: #323436;

        .avatar-box {
          position: relative;
          width: 48rpx;
          height: 48rpx;
          margin-right: 14rpx;

          .avatar-img {
            width: 48rpx;
            height: 48rpx;
          }

          .num {
            position: absolute;
            right: -50%;
            top: 0;
            width: 36rpx;
            height: 22rpx;
            line-height: 22rpx;
            font-size: 20rpx;
            color: #FFFFFF;
            text-align: center;
            background: #F36261;
            border-radius: 12rpx;
          }
        }

        .line {
          font-size: 26rpx;
          color: #8A8C90;
          margin: 0 20rpx;
        }

        .look-btn {
          font-size: 24rpx;
          color: #3666FE;
          margin-left: 10rpx;
        }
      }

      .no-employee {
        font-size: 26rpx;
        color: #8A8C90;
      }

      .employee-btn {
        width: 192rpx;
        height: 48rpx;
        line-height: 48rpx;
        background: #3666FE;
        border-radius: 24rpx;
        font-size: 24rpx;
        color: #FFFFFF;
        text-align: center;
      }
    }

    .bottom {
      padding: 0 32rpx;
      height: 72rpx;
      background-color: #FFF9F2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 24rpx;
      color: #8A8C90;

      .service_name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .bottomTips {
    text-align: center;
    color: #393b3e;
    font-size: 26rpx;
    height: 60rpx;
    line-height: 40rpx;
  }
}