UpgradeItem.sass 3.53 KB
.flex {
  display: flex;
  align-items: center;
}

.item {
  background: #FFFFFF;
  box-shadow: 0 var(--fontSize4) var(--fontSize16) 0 #cdcdd180;
  border-radius: var(--fontSize16);
  margin-bottom: var(--fontSize20);
  box-sizing: border-box;
  padding: 0 var(--fontSize20);
  position: relative;

  .status {
    position: absolute;
    top: var(--fontSize42);
    right: var(--fontSize32);
    height: var(--fontSize44);
    line-height: var(--fontSize44);

    border-radius: var(--fontSize4);
    padding: 0 var(--fontSize8);
    font-weight: 500;
    font-size: var(--fontSize24);
    background: #FDECE9;
    color: #F24724;
  }

  .status-1 {
    background: #FFF5E6;
    color: #FF9D0A;
  }

  .status-2 {
    background: #EAF9F1;
    color: #35C376;
  }

  .top {
    padding: var(--fontSize24) var(--fontSize12);

    .icon {
      width: var(--fontSize80);
      height: var(--fontSize80);
      margin-right: var(--fontSize16);
      border-radius: 100%;
      overflow: hidden;
    }

    .info {
      .name {
        font-size: var(--fontSize28);
        color: #1B233D;
        line-height: var(--fontSize48);

        .tips {
          margin-left: var(--fontSize16);
          font-size: var(--fontSize22);
          color: #FFFFFF;
          padding: 0 var(--fontSize10);
          height: var(--fontSize32);
          line-height: var(--fontSize32);
          border-radius: var(--fontSize16);
          background: #FF9D0A;
        }

        .new {
          background: #E75E58;
        }
      }

      .phone {
        font-size: var(--fontSize24);
        color: #9B9B9E;
        line-height: var(--fontSize32);
      }
    }
  }

  .info-box {
    padding: 0 var(--fontSize12);
    line-height: var(--fontSize36);
    font-size: var(--fontSize24);

    .info-item {
      margin-bottom: var(--fontSize16);

      .label {
        width: var(--fontSize136);
        color: #999EA8;
      }

      .value {
        color: #292D33;
      }
    }
  }

  .package-box {
    background: #F7F8FA;
    border-radius: var(--fontSize12);
    padding: var(--fontSize20) var(--fontSize32) var(--fontSize8);
    box-sizing: border-box;
    margin-bottom: var(--fontSize16);

    .package-title {
      padding: var(--fontSize4) 0 var(--fontSize24);
      font-weight: 500;
      font-size: var(--fontSize28);
      color: #292D33;
      .order-status {
        margin-left: var(--fontSize20);
        color: #F24724;
      }
      .order-status-1,.order-status-3{
        color: #FF9D0A;
      }
      .order-status-4,.order-status-5{
        color: #35C376;
      }
    }
    .package-info{
      padding-top: var(--fontSize24);
    }
    .package-item {
      font-size: var(--fontSize28);
      color: #999EA8;
      margin-bottom: var(--fontSize16);
      .label{
        flex-shrink: 0;
        margin-right: var(--fontSize40);
      }
      .value{
        color: #292D33;
      }
      .price {
        color: #347BFF;
      }
    }
  }

  .bottom {
    height: var(--fontSize96);
    padding: 0 var(--fontSize12);
    font-size: var(--fontSize24);
    color: #999EA8;

    .num {
      font-weight: 700;
      font-size: var(--fontSize32);
      color: #347BFF;
      margin-left: var(--fontSize40);

      .unit {
        font-size: var(--fontSize28);
      }
    }

    .btn {
      margin-left: auto;
      font-size: var(--fontSize28);
      color: #FFFFFF;
      width: var(--fontSize180);
      height: var(--fontSize56);
      background: #347BFF;
      border-radius: var(--fontSize32);
      justify-content: center;
    }
  }
}

.padding-bottom{
  padding-bottom: var(--fontSize8);
}