


.page-edit-page {
  background: #fff;
  box-sizing: border-box;
  height: calc(100vh - env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  /* 修改昵称 */
  .modify-name {
    .input-box {
      display: flex;
      align-items: center;
      background: #fff;
      border-bottom: 2rpx solid #f9f9f9;
      .input {
        padding: 28rpx 30rpx;
        height: 32rpx;
        line-height: 32rpx;
        min-height: 32rpx;
        font-size: 28rpx;
        flex: 1;
      }
      .cancel {
        width: 32rpx;
        height: 32rpx;
        font-size: 0;
        background: #ddd;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 30rpx;
        image {
          width: 14rpx;
          height: 14rpx;
        }
      }
    }
    .des {
      padding: 30rpx;
      color: #999;
    }

  }
  .modify-name .btn,
  .modify-phone .btn,
  .modify-password .btn {
    margin: 0 30rpx;
    background: #fc1b35;
    height: 70rpx;
    line-height: 70rpx;
    border-radius: 70rpx;
    text-align: center;
    color: #fff;
    font-size: 26rpx;
    font-weight: 600;
  }
  /* 修改手机 */
  .modify-phone {
    .step {
      display: flex;
      text-align: center;
      color: #999;
      height: 70rpx;
      line-height: 70rpx;
      border-bottom: 2rpx solid #eee;
      background: #fff;
      position: relative;
      margin-bottom: 20rpx;
      &::after {
        position: absolute;
        left: 50%;
        top: 10rpx;
        display: block;
        width: 50rpx;
        height: 50rpx;
        content: " ";
        background: #f9f9f9;
        border-top: 2rpx solid #eee;
        border-right: 2rpx solid #eee;
        transform: translateX(-50%) rotate(45deg);
      }
      .item {
        padding: 0 20rpx;
        flex: 1;
      }
      &.active {
        background: #f9f9f9;
        color: #333;
      }
    }
    .phone-item {
      display: flex;
      align-items: center;
      border-bottom: 2rpx solid #eee;
      margin: 0 30rpx;
      .phone,
      .input {
        flex: 1;
        height: 88rpx;
        min-height: 88rpx;
        line-height: 88rpx;
      }
      .get-code {
        margin-right: 30rpx;
        color: #fc1b35;
      }
      .txt-r {
        color: #fc1b35;
      }
    }
    .btn {
      margin-top: 50rpx;
    }
  }
  /* 修改密码 */
  .modify-password{
    .item {
      display: flex;
      align-items: center;
      border-bottom: 2rpx solid #eee;
      height: 88rpx;
      line-height: 88rpx;
      margin: 0 30rpx;
      &:first-child {
        margin-top: 30rpx;
      }
      .input {
        flex: 1;
      }
      .get-code {
        color: #fc1b35;
        margin-left: 20rpx;
      }

    }
    .btn {
      margin-top: 50rpx;
    }
    .popup-min{
      .success {
        padding: 40rpx;
        left: 200rpx;
        right: 200rpx;
      }
      .img {
        position: relative;
        width: 100rpx;
        height: 100rpx;
        margin: auto;
        border-radius: 50%;
        background: #fc1b35;
        &::after {
          position: absolute;
          top: 50%;
          left: 0;
          right: 0;
          display: block;
          font-size: 28rpx;
          font: normal normal normal 48rpx/1 uni;
          color: #fff;
          content: "\EA08";
          transform: translateY(-50%);
        }
      }
      .text {
        font-size: 28rpx;
        margin-top: 30rpx;
        font-weight: 600;
      }
      .des {
        color: #999;
        margin-top: 20rpx;
      }
    }
  }
}
