page {
  background-color: #f8f8f8;
}
.customer_page {
  padding-bottom: calc(140rpx + constant(safe-area-inset-bottom));
  padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
  .customer_card {
    background-color: #fff;
    border-radius: 15rpx;
    padding: 0 30rpx;
    margin: 30rpx;
  }
  .card_user_header {
    display: flex;
    align-items: center;
    padding: 30rpx 0;
    font-size: 28rpx;
    border-bottom: 1rpx solid #eee;
    .avatar {
      width: 100rpx;
      height: 100rpx;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .user_info {
      flex: 1;
      padding: 0 20rpx;
      height: 100rpx;
      .name {
        color: #666;
      }
      .phone {
        color: #999;
        padding-top: 10rpx;
      }
    }
    .edit_btn {
      color: #0082fa;
      height: 100rpx;
    }
  }
}

.customer_item {
  font-size: 28rpx;

  &_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    padding-top: 30rpx;
    font-weight: 500;
    font-size: 28rpx;
    text {
      color: #0082fa;
      font-weight: 400;
    }
    .edit_btn {
      color: #0082fa;
      height: 100rpx;
    }
  }
  &_body {
    padding: 0 0 30rpx 0;
    .item {
      font-size: 28rpx;
      color: #333;
      display: flex;
      align-items: center;
      padding-top: 30rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .item_name_relation {
        display: flex;
        align-items: center;
      }
      .status_tab {
        color: #999999;
        font-size: 25rpx;
      }
    }
    .item_houses {
      background-color: #fafafa;
      border-radius: 10rpx;
      width: 100%;
      margin-top: 20rpx;
      .name {
        color: #333333;
        font-size: 28rpx;
        font-weight: 500;
        padding: 30rpx 30rpx 10rpx 30rpx;
      }
      .fee {
        color: #df3600;
        font-size: 28rpx;
        padding: 0 30rpx;
      }
      .item_footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1rpx solid #ededed;
        margin-top: 30rpx;
        padding: 25rpx 0;
        text-align: center;
        color: #3d3d3d;
        .btn {
          font-size: 28rpx;
          flex: 1;
          &:last-child {
            border-left: 1rpx solid #eee;
            color: #0082fa;
          }
        }
      }
    }
  }
  &_tab_body {
    padding: 20rpx 0 30rpx 0;
  }
}

.customer_update_card {
  background-color: #fff;
  padding: 0 30rpx;
}
