doum
2026-06-18 93de43267e1663031fe5dc2f5ae40d128a182a76
h5/styles/customer.scss
@@ -41,6 +41,87 @@
  align-items: center;
}
.cu-profile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
}
.cu-profile-bar__info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.cu-profile-actions {
  display: flex;
  align-items: center;
  gap: 16rpx;
  flex-shrink: 0;
}
.cu-profile-action {
  width: 72rpx;
  height: 72rpx;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2rpx solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.cu-profile-action--pill {
  width: auto;
  height: 56rpx;
  padding: 0 20rpx;
  border-radius: 999rpx;
  gap: 6rpx;
  flex-direction: row;
  background: rgba(255, 255, 255, 0.18);
  border: 2rpx solid rgba(255, 255, 255, 0.4);
}
.cu-profile-action__text {
  font-size: 24rpx;
  color: #fff;
  line-height: 1;
  font-weight: 500;
}
.cu-profile-action:active {
  opacity: 0.75;
}
/* 商户子页回首页 */
.cu-workbench-fab {
  position: fixed;
  top: 50%;
  right: 24rpx;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84rpx;
  height: 84rpx;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1rpx solid rgba(15, 35, 95, 0.08);
  box-shadow: 0 6rpx 24rpx rgba(15, 35, 95, 0.1);
  transform: translateY(-50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.cu-workbench-fab:active {
  transform: translateY(-50%) scale(0.96);
  opacity: 0.94;
  box-shadow: 0 4rpx 16rpx rgba(15, 35, 95, 0.08);
}
.cu-avatar {
  width: 88rpx;
  height: 88rpx;
@@ -89,12 +170,147 @@
  padding-left: 8rpx;
}
.cu-service-panel {
  background: $cu-card-bg;
  border-radius: $cu-radius;
  padding: 28rpx 20rpx 20rpx;
  box-shadow: $cu-shadow;
  border: 1rpx solid rgba(15, 35, 95, 0.04);
}
.cu-section-head {
  display: flex;
  align-items: center;
  gap: 12rpx;
  margin-bottom: 24rpx;
  padding: 0 8rpx;
}
.cu-section-head__bar {
  width: 6rpx;
  height: 28rpx;
  border-radius: 4rpx;
  background: linear-gradient(180deg, #2080f7 0%, #4a9bff 100%);
  flex-shrink: 0;
}
.cu-section-head__title {
  font-size: 32rpx;
  font-weight: 600;
  color: $cu-text;
  line-height: 1.2;
}
.cu-service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20rpx;
  gap: 16rpx;
}
.cu-service-card {
  width: calc(50% - 8rpx);
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  border-radius: 20rpx;
  padding: 22rpx 20rpx 24rpx;
  border: 1rpx solid rgba(15, 35, 95, 0.06);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cu-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4rpx;
}
.cu-service-card:active {
  transform: scale(0.98);
  opacity: 0.92;
}
.cu-service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14rpx;
}
.cu-service-card__icon {
  width: 76rpx;
  height: 76rpx;
  border-radius: 22rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cu-service-card__arrow {
  font-size: 36rpx;
  color: rgba(154, 163, 178, 0.7);
  line-height: 1;
  font-weight: 300;
  margin-top: 4rpx;
}
.cu-service-card__label {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: $cu-text;
  line-height: 1.3;
}
.cu-service-card__desc {
  display: block;
  font-size: 22rpx;
  color: $cu-text-muted;
  margin-top: 8rpx;
  line-height: 1.4;
}
.cu-service-card--electric::before {
  background: linear-gradient(90deg, #fa8c16 0%, #ffc069 100%);
}
.cu-service-card--electric .cu-service-card__icon {
  background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
  box-shadow: 0 6rpx 16rpx rgba(250, 140, 22, 0.15);
}
.cu-service-card--contract::before {
  background: linear-gradient(90deg, #40a9ff 0%, #69c0ff 100%);
}
.cu-service-card--contract .cu-service-card__icon {
  background: linear-gradient(135deg, #e6f4ff 0%, #bae7ff 100%);
  box-shadow: 0 6rpx 16rpx rgba(64, 169, 255, 0.18);
}
.cu-service-card--bill::before {
  background: linear-gradient(90deg, #597ef7 0%, #85a5ff 100%);
}
.cu-service-card--bill .cu-service-card__icon {
  background: linear-gradient(135deg, #eef2ff 0%, #d6e4ff 100%);
  box-shadow: 0 6rpx 16rpx rgba(89, 126, 247, 0.15);
}
.cu-service-card--record::before {
  background: linear-gradient(90deg, #9254de 0%, #b37feb 100%);
}
.cu-service-card--record .cu-service-card__icon {
  background: linear-gradient(135deg, #f9f0ff 0%, #efdbff 100%);
  box-shadow: 0 6rpx 16rpx rgba(146, 84, 222, 0.15);
}
/* 兼容旧类名 */
.cu-service-item {
  width: calc(50% - 10rpx);
  background: $cu-card-bg;
@@ -137,25 +353,112 @@
.cu-service-item--bill .cu-service-item__icon { background: #eef2ff; }
.cu-service-item--record .cu-service-item__icon { background: #fce8f3; }
.cu-footer-bar {
  margin-top: 64rpx;
  display: flex;
  justify-content: center;
  gap: 24rpx;
/* 认证 / 角色选择 */
.cu-auth-page {
  min-height: 100vh;
  padding: 120rpx 48rpx 48rpx;
  background: linear-gradient(180deg, #dce9ff 0%, #f4f6fb 45%, #fff 100%);
  box-sizing: border-box;
}
.cu-footer-btn {
  font-size: 28rpx;
  padding: 18rpx 48rpx;
  border-radius: 999rpx;
  background: #fff;
  color: $cu-text-secondary;
.cu-auth-page__title {
  font-size: 44rpx;
  font-weight: 700;
  color: $cu-text;
  margin-bottom: 12rpx;
}
.cu-auth-page__sub {
  font-size: 26rpx;
  color: $cu-text-muted;
  margin-bottom: 48rpx;
  line-height: 1.5;
}
.cu-role-card {
  display: flex;
  align-items: center;
  background: $cu-card-bg;
  border-radius: $cu-radius;
  padding: 32rpx 28rpx;
  margin-bottom: 24rpx;
  box-shadow: $cu-shadow;
}
.cu-footer-btn--primary {
  color: $cu-primary;
  border: 1rpx solid rgba(32, 128, 247, 0.35);
.cu-role-card:active {
  opacity: 0.92;
}
.cu-role-card__icon {
  width: 88rpx;
  height: 88rpx;
  border-radius: 22rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24rpx;
  flex-shrink: 0;
}
.cu-role-card--ops .cu-role-card__icon {
  background: linear-gradient(135deg, #e6f4ff 0%, #bae7ff 100%);
  box-shadow: 0 6rpx 16rpx rgba(105, 192, 255, 0.28);
}
.cu-role-card--merchant .cu-role-card__icon {
  background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
  box-shadow: 0 6rpx 16rpx rgba(250, 173, 20, 0.22);
}
.cu-role-card__main {
  flex: 1;
  min-width: 0;
}
.cu-role-card__name {
  font-size: 34rpx;
  font-weight: 600;
  color: $cu-text;
  margin-bottom: 8rpx;
}
.cu-role-card__desc {
  font-size: 24rpx;
  color: $cu-text-muted;
  line-height: 1.4;
}
.cu-role-card__arrow {
  font-size: 32rpx;
  color: $cu-text-muted;
  flex-shrink: 0;
  margin-left: 12rpx;
}
.cu-auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 24rpx 32rpx;
}
.cu-auth-topbar__btn {
  width: 72rpx;
  height: 72rpx;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: $cu-shadow;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cu-auth-topbar__btn:active {
  opacity: 0.8;
}
/* 卡片 */
@@ -229,10 +532,13 @@
/* 状态 */
.cu-status {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 24rpx;
  padding: 4rpx 16rpx;
  border-radius: 999rpx;
  font-weight: 500;
  line-height: 1.4;
}
.cu-status--ok {
@@ -402,7 +708,9 @@
.cu-login {
  min-height: 100vh;
  padding: 120rpx 48rpx 48rpx;
  padding-top: 160rpx;
  background: linear-gradient(180deg, #dce9ff 0%, #f4f6fb 45%, #fff 100%);
  box-sizing: border-box;
}
.cu-login__brand {
@@ -509,6 +817,200 @@
  padding: 8rpx 24rpx 16rpx;
}
.cu-list-header--inline {
  padding: 0 8rpx 12rpx;
}
.cu-device-page .cu-list-wrap {
  padding-top: 0;
}
.cu-device-page__header {
  padding-bottom: 8rpx;
}
.cu-device-type-tabs {
  display: flex;
  gap: 20rpx;
  margin: 24rpx 24rpx 20rpx;
}
.cu-device-type-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16rpx;
  padding: 22rpx 20rpx;
  background: $cu-card-bg;
  border-radius: $cu-radius;
  box-shadow: $cu-shadow;
  border: 2rpx solid transparent;
  transition: all 0.22s ease;
  box-sizing: border-box;
}
.cu-device-type-card:active {
  transform: scale(0.97);
}
.cu-device-type-card__icon-wrap {
  width: 72rpx;
  height: 72rpx;
  border-radius: 20rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s ease;
}
.cu-device-type-card__icon {
  font-size: 34rpx;
  line-height: 1;
}
.cu-device-type-card__text {
  flex: 1;
  min-width: 0;
}
.cu-device-type-card__label {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: $cu-text;
  line-height: 1.3;
  transition: color 0.22s ease;
}
.cu-device-type-card__hint {
  display: block;
  font-size: 22rpx;
  color: $cu-text-muted;
  margin-top: 4rpx;
  line-height: 1.3;
  transition: color 0.22s ease;
}
.cu-device-type-card--electric .cu-device-type-card__icon-wrap {
  background: linear-gradient(135deg, #fff7e6, #ffe8b3);
}
.cu-device-type-card--conditioner .cu-device-type-card__icon-wrap {
  background: linear-gradient(135deg, #e8f7ef, #c8f0dc);
}
.cu-device-type-card--electric:not(.cu-device-type-card--active) {
  border-color: rgba(250, 140, 22, 0.18);
}
.cu-device-type-card--conditioner:not(.cu-device-type-card--active) {
  border-color: rgba(25, 190, 107, 0.18);
}
.cu-device-type-card--electric.cu-device-type-card--active {
  background: linear-gradient(135deg, #ffb347 0%, #fa8c16 100%);
  border-color: transparent;
  box-shadow: 0 10rpx 28rpx rgba(250, 140, 22, 0.32);
}
.cu-device-type-card--electric.cu-device-type-card--active .cu-device-type-card__icon-wrap {
  background: rgba(255, 255, 255, 0.28);
}
.cu-device-type-card--electric.cu-device-type-card--active .cu-device-type-card__label,
.cu-device-type-card--electric.cu-device-type-card--active .cu-device-type-card__hint {
  color: #fff;
}
.cu-device-type-card--electric.cu-device-type-card--active .cu-device-type-card__hint {
  opacity: 0.88;
}
.cu-device-type-card--conditioner.cu-device-type-card--active {
  background: linear-gradient(135deg, #5cdbd3 0%, #13c2c2 100%);
  border-color: transparent;
  box-shadow: 0 10rpx 28rpx rgba(19, 194, 194, 0.32);
}
.cu-device-type-card--conditioner.cu-device-type-card--active .cu-device-type-card__icon-wrap {
  background: rgba(255, 255, 255, 0.28);
}
.cu-device-type-card--conditioner.cu-device-type-card--active .cu-device-type-card__label,
.cu-device-type-card--conditioner.cu-device-type-card--active .cu-device-type-card__hint {
  color: #fff;
}
.cu-device-type-card--conditioner.cu-device-type-card--active .cu-device-type-card__hint {
  opacity: 0.88;
}
.cu-ac-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20rpx;
  margin: 0 24rpx 16rpx;
  padding: 28rpx 24rpx;
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border-radius: $cu-radius;
  border: 1rpx solid rgba(32, 128, 247, 0.12);
  box-shadow: $cu-shadow;
}
.cu-ac-balance-card__main {
  flex: 1;
  min-width: 0;
}
.cu-ac-balance-card__label {
  display: block;
  font-size: 24rpx;
  color: $cu-text-muted;
  margin-bottom: 8rpx;
}
.cu-ac-balance-card__value {
  display: block;
  font-size: 44rpx;
  font-weight: 700;
  color: $cu-primary;
  line-height: 1.2;
}
.cu-ac-balance-card__value--danger {
  color: $cu-danger;
}
.cu-ac-balance-card__value--success {
  color: $cu-success;
}
.cu-ac-balance-card__btn {
  flex-shrink: 0;
  padding: 16rpx 32rpx;
  background: linear-gradient(135deg, #2080f7 0%, #4a9bff 100%);
  border-radius: 999rpx;
  font-size: 26rpx;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 6rpx 18rpx rgba(32, 128, 247, 0.28);
}
.cu-ac-balance-card__btn:active {
  opacity: 0.9;
}
.cu-list-card--readonly .cu-list-card__meta-row {
  padding: 16rpx 24rpx 24rpx;
  border-top: 1rpx solid #f0f2f6;
}
.cu-list-card__meta-row {
  padding: 0 24rpx 24rpx;
}
.cu-list-header__count {
  font-size: 24rpx;
  color: $cu-text-muted;
@@ -570,13 +1072,21 @@
  justify-content: space-between;
  gap: 12rpx;
  margin-bottom: 8rpx;
  min-width: 0;
}
.cu-list-card__title-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.cu-list-card__title {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: $cu-text;
  flex: 1;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
@@ -645,6 +1155,10 @@
.cu-info-cell__value--danger {
  color: $cu-danger;
}
.cu-info-cell__value--success {
  color: $cu-success;
}
.cu-info-cell__value--primary {
@@ -1067,6 +1581,163 @@
}
/* 充值/缴费页 */
.cu-recharge-hero {
  margin: 24rpx 24rpx 0;
  border-radius: $cu-radius;
  overflow: hidden;
  box-shadow: $cu-shadow;
}
.cu-recharge-hero__gradient {
  padding: 40rpx 32rpx 56rpx;
  background: linear-gradient(145deg, #2080f7 0%, #4a9bff 52%, #6eb3ff 100%);
}
.cu-recharge-hero--electric .cu-recharge-hero__gradient {
  background: linear-gradient(145deg, #1a6fe0 0%, #2080f7 45%, #ffb84d 165%);
}
.cu-recharge-hero__balance-block {
  text-align: center;
}
.cu-recharge-hero__balance-label {
  display: block;
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12rpx;
  letter-spacing: 1rpx;
}
.cu-recharge-hero__balance-value {
  display: block;
  font-size: 64rpx;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.cu-recharge-hero__balance-value--danger {
  color: #ffb4b0;
  text-shadow: 0 2rpx 8rpx rgba(250, 53, 52, 0.35);
}
.cu-recharge-hero__balance-value--success {
  color: #b8f5d0;
  text-shadow: 0 2rpx 8rpx rgba(25, 190, 107, 0.35);
}
.cu-recharge-hero__panel {
  margin-top: -28rpx;
  padding: 28rpx 24rpx 24rpx;
  background: $cu-card-bg;
  border-radius: $cu-radius $cu-radius 0 0;
}
.cu-recharge-hero__device {
  display: flex;
  align-items: flex-start;
  gap: 20rpx;
  padding-bottom: 20rpx;
  border-bottom: 1rpx solid #f0f2f6;
}
.cu-recharge-hero__icon {
  width: 80rpx;
  height: 80rpx;
  border-radius: 20rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38rpx;
  flex-shrink: 0;
}
.cu-recharge-hero__icon--electric {
  background: linear-gradient(135deg, #fff7e6, #ffe8b3);
}
.cu-recharge-hero__device-main {
  flex: 1;
  min-width: 0;
}
.cu-recharge-hero__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12rpx;
  margin-bottom: 8rpx;
  min-width: 0;
}
.cu-recharge-hero__title-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.cu-recharge-hero__title {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: $cu-text;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.cu-recharge-hero__status {
  flex-shrink: 0;
  font-size: 22rpx;
  padding: 4rpx 14rpx;
  border-radius: 999rpx;
}
.cu-recharge-hero__status--ok {
  color: $cu-success;
  background: rgba(25, 190, 107, 0.12);
}
.cu-recharge-hero__status--bad {
  color: $cu-danger;
  background: rgba(250, 53, 52, 0.1);
}
.cu-recharge-hero__sub {
  display: block;
  font-size: 24rpx;
  color: $cu-text-secondary;
  line-height: 1.5;
}
.cu-recharge-hero__meta {
  padding-top: 20rpx;
}
.cu-recharge-hero__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
}
.cu-recharge-hero__meta-label {
  font-size: 24rpx;
  color: $cu-text-muted;
  flex-shrink: 0;
}
.cu-recharge-hero__meta-value {
  font-size: 26rpx;
  color: $cu-text;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}
.cu-device-summary {
  margin: 24rpx 24rpx 0;
  padding: 28rpx;
@@ -1075,12 +1746,19 @@
  box-shadow: $cu-shadow;
}
.cu-device-summary__title {
  font-size: 28rpx;
  font-weight: 600;
  color: $cu-text;
  margin-bottom: 4rpx;
}
.cu-device-summary__balance {
  margin-top: 20rpx;
  padding: 24rpx;
  background: linear-gradient(135deg, #fff5f5, #fff);
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border-radius: 16rpx;
  border: 1rpx solid rgba(250, 53, 52, 0.12);
  border: 1rpx solid rgba(32, 128, 247, 0.12);
  text-align: center;
}
@@ -1093,7 +1771,15 @@
.cu-device-summary__balance-value {
  font-size: 48rpx;
  font-weight: 700;
  color: $cu-primary;
}
.cu-device-summary__balance-value--danger {
  color: $cu-danger;
}
.cu-device-summary__balance-value--success {
  color: $cu-success;
}
.cu-pay-amount-box {
@@ -1277,6 +1963,399 @@
  transform: translateY(2rpx);
}
.cu-bill-cost-picker--status-ok {
  border-color: #52c41a;
  background: linear-gradient(135deg, #f0faf4 0%, #fff 100%);
}
.cu-bill-cost-picker--status-ok .cu-bill-cost-picker__label {
  color: $cu-text;
  font-weight: 600;
}
.cu-bill-cost-picker--status-bad {
  border-color: $cu-danger;
  background: linear-gradient(135deg, #fff1f0 0%, #fff 100%);
}
.cu-bill-cost-picker--status-bad .cu-bill-cost-picker__label {
  color: $cu-danger;
  font-weight: 600;
}
.cu-bill-cost-picker--status-pending {
  border-color: $cu-warning;
  background: linear-gradient(135deg, #fff7e6 0%, #fff 100%);
}
.cu-bill-cost-picker--status-pending .cu-bill-cost-picker__label {
  color: $cu-warning;
  font-weight: 600;
}
.cu-recharge-record-page__header {
  padding: 24rpx 24rpx 8rpx;
}
.cu-recharge-filter-panel {
  background: $cu-card-bg;
  border-radius: $cu-radius;
  box-shadow: $cu-shadow;
  padding: 24rpx;
  margin-bottom: 16rpx;
}
.cu-recharge-filter-panel__section + .cu-recharge-filter-panel__section {
  margin-top: 0;
}
.cu-recharge-filter-panel__label {
  display: block;
  font-size: 24rpx;
  color: $cu-text-muted;
  margin-bottom: 16rpx;
  line-height: 1.2;
}
.cu-recharge-filter-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
  margin-bottom: 16rpx;
}
.cu-recharge-filter-panel__row .cu-recharge-filter-panel__label {
  margin-bottom: 0;
  flex-shrink: 0;
}
.cu-recharge-filter-panel__divider {
  height: 1rpx;
  background: #f0f2f6;
  margin: 24rpx 0;
}
.cu-recharge-filter-panel__dates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12rpx;
}
.cu-recharge-status-tabs {
  white-space: nowrap;
  width: 100%;
}
.cu-recharge-status-tab {
  display: inline-block;
  padding: 14rpx 28rpx;
  margin-right: 12rpx;
  font-size: 26rpx;
  color: $cu-text-secondary;
  background: #f4f6fb;
  border-radius: 999rpx;
  line-height: 1.2;
  border: 2rpx solid transparent;
  transition: all 0.2s ease;
}
.cu-recharge-status-tab:last-child {
  margin-right: 0;
}
.cu-recharge-status-tab--active {
  color: $cu-primary;
  background: linear-gradient(135deg, #e8f2ff 0%, #f0f7ff 100%);
  border-color: rgba(32, 128, 247, 0.25);
  font-weight: 600;
}
.cu-recharge-status-tab--active.cu-recharge-status-tab--ok {
  color: $cu-success;
  background: linear-gradient(135deg, #f0faf4 0%, #fff 100%);
  border-color: rgba(25, 190, 107, 0.25);
}
.cu-recharge-status-tab--active.cu-recharge-status-tab--bad {
  color: $cu-danger;
  background: linear-gradient(135deg, #fff1f0 0%, #fff 100%);
  border-color: rgba(250, 53, 52, 0.25);
}
.cu-recharge-status-tab--active.cu-recharge-status-tab--pending {
  color: $cu-warning;
  background: linear-gradient(135deg, #fff7e6 0%, #fff 100%);
  border-color: rgba(255, 153, 0, 0.25);
}
.cu-recharge-date-mode {
  display: flex;
  padding: 4rpx;
  background: #eef1f6;
  border-radius: 999rpx;
  flex-shrink: 0;
}
.cu-recharge-date-mode__item {
  padding: 10rpx 22rpx;
  font-size: 22rpx;
  color: $cu-text-secondary;
  border-radius: 999rpx;
  line-height: 1.2;
}
.cu-recharge-date-mode__item--active {
  background: #fff;
  color: $cu-primary;
  font-weight: 600;
  box-shadow: 0 4rpx 12rpx rgba(15, 35, 95, 0.08);
}
.cu-recharge-date-range {
  display: flex;
  align-items: center;
  gap: 12rpx;
  flex: 1;
  min-width: 0;
}
.cu-recharge-date-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rpx;
  padding: 16rpx 20rpx;
  background: #f8fafc;
  border-radius: 16rpx;
  border: 2rpx solid #eef1f6;
}
.cu-recharge-date-field--active {
  background: #f0f7ff;
  border-color: rgba(32, 128, 247, 0.2);
}
.cu-recharge-date-field__text {
  flex: 1;
  min-width: 0;
  font-size: 26rpx;
  color: $cu-text-secondary;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cu-recharge-date-field--active .cu-recharge-date-field__text {
  color: $cu-primary;
  font-weight: 600;
}
.cu-recharge-date-field__arrow {
  flex-shrink: 0;
  font-size: 22rpx;
  color: $cu-text-muted;
  line-height: 1;
}
.cu-recharge-date-sep {
  flex-shrink: 0;
  font-size: 24rpx;
  color: $cu-text-muted;
}
.cu-recharge-date-clear {
  flex-shrink: 0;
  font-size: 24rpx;
  color: $cu-primary;
  padding: 8rpx 0;
}
.cu-recharge-summary {
  display: flex;
  align-items: baseline;
  gap: 8rpx;
  padding: 0 8rpx 16rpx;
}
.cu-recharge-summary__count {
  font-size: 44rpx;
  font-weight: 700;
  color: $cu-text;
  line-height: 1;
}
.cu-recharge-summary__label {
  font-size: 26rpx;
  color: $cu-text-muted;
}
.cu-recharge-record-page .cu-list-wrap {
  padding-top: 0;
}
.cu-recharge-card {
  display: flex;
  background: $cu-card-bg;
  border-radius: $cu-radius;
  box-shadow: $cu-shadow;
  overflow: hidden;
  margin-bottom: 20rpx;
}
.cu-recharge-card__accent {
  width: 8rpx;
  flex-shrink: 0;
}
.cu-recharge-card__accent--electric {
  background: linear-gradient(180deg, #ffc069 0%, #fa8c16 100%);
}
.cu-recharge-card__accent--conditioner {
  background: linear-gradient(180deg, #5cdbd3 0%, #13c2c2 100%);
}
.cu-recharge-card__body {
  flex: 1;
  min-width: 0;
  padding: 24rpx 24rpx 20rpx;
}
.cu-recharge-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
  margin-bottom: 16rpx;
}
.cu-recharge-card__type {
  display: flex;
  align-items: center;
  gap: 8rpx;
  padding: 8rpx 16rpx;
  border-radius: 999rpx;
  flex-shrink: 0;
}
.cu-recharge-card__type--electric {
  background: #fff7e6;
}
.cu-recharge-card__type--conditioner {
  background: #e6fffb;
}
.cu-recharge-card__type-icon {
  font-size: 22rpx;
  line-height: 1;
}
.cu-recharge-card__type-text {
  font-size: 22rpx;
  font-weight: 600;
  line-height: 1.2;
}
.cu-recharge-card__type--electric .cu-recharge-card__type-text {
  color: #d46b08;
}
.cu-recharge-card__type--conditioner .cu-recharge-card__type-text {
  color: #08979c;
}
.cu-recharge-card__title {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: $cu-text;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cu-recharge-card__operator {
  display: block;
  font-size: 24rpx;
  color: $cu-text-muted;
  margin-top: 8rpx;
  line-height: 1.4;
}
.cu-recharge-card__amount-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24rpx;
  margin-top: 20rpx;
  padding: 20rpx;
  background: #f8fafc;
  border-radius: 16rpx;
}
.cu-recharge-card__amount-main {
  flex: 1;
  min-width: 0;
}
.cu-recharge-card__amount-side {
  flex-shrink: 0;
  text-align: right;
}
.cu-recharge-card__amount-label {
  display: block;
  font-size: 22rpx;
  color: $cu-text-muted;
  margin-bottom: 8rpx;
  line-height: 1.2;
}
.cu-recharge-card__amount-value {
  display: block;
  font-size: 36rpx;
  font-weight: 700;
  color: $cu-primary;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.cu-recharge-card__amount-side-value {
  display: block;
  font-size: 28rpx;
  font-weight: 600;
  color: $cu-text;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.cu-recharge-card__amount-side-value--success {
  color: $cu-success;
}
.cu-recharge-card__amount-side-value--danger {
  color: $cu-danger;
}
.cu-recharge-card__foot {
  margin-top: 16rpx;
  padding-top: 16rpx;
  border-top: 1rpx solid #f0f2f6;
}
.cu-recharge-card__time {
  font-size: 24rpx;
  color: $cu-text-muted;
  line-height: 1.4;
}
.cu-bill-tabs {
  margin-bottom: 16rpx;
}