zhengyiming
2025-03-11 f2025539d8bf4798b90a5ab8a47c5a379ab68e9b
packages/components/src/styles/rechargeGrid.scss
@@ -1,41 +1,40 @@
/*postcss-pxtransform disable*/
@use './common.scss' as *;
.recharge-grid-wrapper {
  padding-left: 0 !important;
  margin-top: 20px;
  margin-top: 40px;
  .recharge-grid-item {
    .nut-grid-item__text {
      font-size: 18px;
      font-size: 36rpx;
      color: boleGetCssVar('text-color', 'primary');
    }
    .recharge-grid-item-icon {
      width: 32px;
      height: 32px;
      width: 64px;
      height: 64px;
    }
  }
}
.common-content {
  padding: 0 boleGetCssVar('size', 'body-padding-h2');
  padding: 0 boleGetCssVar('size', 'body-padding-h');
}
.parValue-radio-group {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  grid-gap: 20px;
  .parValue-item {
    margin-right: 0;
    .nut-radio__button {
      width: 100%;
      padding: 8px 0;
      padding: 16rpx 0;
      background-color: transparent;
      border: 0.5px solid #e2e5eb;
      border: 1rpx solid #e2e5eb;
      text-align: center;
      border-radius: 4px;
      position: relative;
@@ -47,7 +46,7 @@
      overflow: hidden;
      &::after {
        border-radius: 4px;
        border-radius: 8rpx;
        background-color: rgba(251, 81, 0, 0.08);
        opacity: 1;
      }
@@ -68,51 +67,51 @@
      .amount-wrapper {
        display: flex;
        align-items: flex-end;
        margin-bottom: 2px;
        margin-bottom: 4px;
        .amount {
          font-size: 20px;
          font-size: 40px;
          font-weight: 400;
          line-height: 22px;
          line-height: 44px;
        }
        .unit {
          font-size: 12px;
          font-size: 24px;
          font-weight: 400;
          line-height: 16px;
          line-height: 32px;
        }
      }
      .price-wrapper {
        display: flex;
        color: #858d98;
        font-size: 12px;
        font-size: 24px;
        font-weight: 400;
        line-height: 16px;
        line-height: 32px;
        .price {
          color: #fb5100;
          margin-left: 3px;
          margin-left: 6px;
        }
      }
      .discountTag {
        display: none;
        position: absolute;
        padding: 1px 4px;
        border-radius: 0px 0 10px 0;
        border: 0.5px solid #fb5100;
        padding: 2px 8px;
        border-radius: 0px 0 20px 0;
        border: 1px solid #fb5100;
        background: linear-gradient(
          186deg,
          rgba(255, 129, 45, 0.08) 14.82%,
          rgba(238, 67, 67, 0.08) 91.5%
        );
        color: #fb5100;
        font-size: 11px;
        font-size: 22px;
        font-weight: 700;
        line-height: 14px;
        line-height: 28px;
        position: absolute;
        top: -1px;
        left: -1px;
        top: -2px;
        left: -2px;
      }
    }
  }
@@ -121,20 +120,24 @@
.order-bill-recharge {
  .recharge-button {
    width: 100%;
    margin: 20px 0;
    margin: 40px 0;
    .recharge-button-inner {
      display: flex;
      .recharge-button-text {
        margin-left: 10px;
        margin-left: 20px;
      }
    }
    &.nut-button--plain {
      border-width: 1px;
    }
  }
  &.electric {
    .nut-dialog {
      .nut-dialog__content {
        max-height: 700px;
        max-height: 1400rpx;
      }
    }
  }