From 93de43267e1663031fe5dc2f5ae40d128a182a76 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 18 六月 2026 17:24:51 +0800
Subject: [PATCH] 新增智能电表、空调管理
---
h5/styles/customer.scss | 1618 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 1,580 insertions(+), 38 deletions(-)
diff --git a/h5/styles/customer.scss b/h5/styles/customer.scss
index 4ab120a..8b7223e 100644
--- a/h5/styles/customer.scss
+++ b/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;
@@ -130,29 +346,119 @@
}
.cu-service-item--electric .cu-service-item__icon { background: #fff7e6; }
-.cu-service-item--contract .cu-service-item__icon { background: #e8f7ef; }
+.cu-service-item--contract .cu-service-item__icon {
+ background: linear-gradient(135deg, #e6f4ff 0%, #bae7ff 100%);
+ box-shadow: 0 6rpx 16rpx rgba(105, 192, 255, 0.28);
+}
.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;
}
/* 鍗$墖 */
@@ -226,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 {
@@ -399,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 {
@@ -506,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;
@@ -549,7 +1054,10 @@
.cu-list-card__icon--electric { background: linear-gradient(135deg, #fff7e6, #ffe8b3); }
.cu-list-card__icon--conditioner { background: linear-gradient(135deg, #e8f7ef, #c8f0dc); }
-.cu-list-card__icon--contract { background: linear-gradient(135deg, #eef2ff, #d6e4ff); }
+.cu-list-card__icon--contract {
+ background: linear-gradient(135deg, #e6f4ff 0%, #bae7ff 100%);
+ box-shadow: 0 6rpx 14rpx rgba(105, 192, 255, 0.28);
+}
.cu-list-card__icon--bill { background: linear-gradient(135deg, #fce8f3, #f5d0e8); }
.cu-list-card__icon--record { background: linear-gradient(135deg, #e8f4ff, #cce5ff); }
@@ -564,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;
@@ -639,6 +1155,10 @@
.cu-info-cell__value--danger {
color: $cu-danger;
+}
+
+.cu-info-cell__value--success {
+ color: $cu-success;
}
.cu-info-cell__value--primary {
@@ -782,6 +1302,44 @@
color: $cu-text;
}
+.cu-panel__head {
+ display: flex;
+ align-items: center;
+ gap: 16rpx;
+ padding: 24rpx 28rpx 16rpx;
+}
+
+.cu-panel__title-text {
+ font-size: 28rpx;
+ font-weight: 600;
+ color: $cu-text;
+}
+
+.cu-panel__icon {
+ width: 56rpx;
+ height: 56rpx;
+ border-radius: 16rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+}
+
+.cu-panel__icon--room {
+ background: linear-gradient(135deg, #ff9c6e 0%, #ff4d4f 100%);
+ box-shadow: 0 8rpx 20rpx rgba(255, 77, 79, 0.38);
+}
+
+.cu-panel__icon--info {
+ background: linear-gradient(135deg, #69c0ff 0%, #2080f7 100%);
+ box-shadow: 0 8rpx 20rpx rgba(32, 128, 247, 0.38);
+}
+
+.cu-panel__icon--file {
+ background: linear-gradient(135deg, #b37feb 0%, #722ed1 100%);
+ box-shadow: 0 8rpx 20rpx rgba(114, 46, 209, 0.38);
+}
+
.cu-kv__item {
display: flex;
align-items: flex-start;
@@ -852,6 +1410,31 @@
color: #cf1322;
}
+.cu-bill-tip__icon-box {
+ width: 44rpx;
+ height: 44rpx;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+}
+
+.cu-bill-tip--ok .cu-bill-tip__icon-box {
+ background: linear-gradient(135deg, #95de64 0%, #52c41a 100%);
+ box-shadow: 0 4rpx 12rpx rgba(82, 196, 26, 0.35);
+}
+
+.cu-bill-tip--warn .cu-bill-tip__icon-box {
+ background: linear-gradient(135deg, #ffd666 0%, #fa8c16 100%);
+ box-shadow: 0 4rpx 12rpx rgba(250, 140, 16, 0.35);
+}
+
+.cu-bill-tip--danger .cu-bill-tip__icon-box {
+ background: linear-gradient(135deg, #ff7875 0%, #f5222d 100%);
+ box-shadow: 0 4rpx 12rpx rgba(245, 34, 45, 0.35);
+}
+
.cu-bill-tip__icon {
flex-shrink: 0;
font-size: 28rpx;
@@ -895,6 +1478,19 @@
gap: 16rpx;
padding: 22rpx 28rpx;
border-top: 1rpx solid #f5f6f8;
+ cursor: pointer;
+}
+
+.cu-file-item__icon-box {
+ width: 64rpx;
+ height: 64rpx;
+ border-radius: 18rpx;
+ background: linear-gradient(135deg, #5cdbd3 0%, #13c2c2 100%);
+ box-shadow: 0 6rpx 16rpx rgba(19, 194, 194, 0.38);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
}
.cu-file-item__icon {
@@ -985,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;
@@ -993,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;
}
@@ -1011,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 {
@@ -1103,15 +1871,507 @@
padding: 16rpx 24rpx 8rpx;
}
-.cu-bill-tabs {
+.cu-bill-page__toolbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 16rpx;
+ margin-bottom: 16rpx;
+}
+
+.cu-bill-tabs--toolbar {
+ flex: 1;
+ min-width: 0;
+ padding: 0;
+ margin-bottom: 0;
+ gap: 12rpx;
+ background: transparent;
+}
+
+.cu-bill-tabs--toolbar .cu-tab {
+ padding: 12rpx 20rpx;
+ font-size: 24rpx;
+}
+
+.cu-bill-cost-picker {
+ flex-shrink: 0;
+ display: flex;
+ align-items: center;
+ gap: 6rpx;
+ padding: 12rpx 18rpx;
+ background: #fff;
+ border-radius: 999rpx;
+ box-shadow: $cu-shadow;
+ border: 2rpx solid transparent;
+ max-width: 220rpx;
+}
+
+.cu-bill-cost-picker--active {
+ border-color: $cu-primary;
+ background: linear-gradient(135deg, #e8f2ff 0%, #fff 100%);
+}
+
+.cu-bill-cost-picker--rent {
+ border-color: #40a9ff;
+ background: linear-gradient(135deg, #e6f4ff 0%, #fff 100%);
+}
+
+.cu-bill-cost-picker--property {
+ border-color: #52c41a;
+ background: linear-gradient(135deg, #f0faf4 0%, #fff 100%);
+}
+
+.cu-bill-cost-picker--deposit {
+ border-color: #fa8c16;
+ background: linear-gradient(135deg, #fff7e6 0%, #fff 100%);
+}
+
+.cu-bill-cost-picker--utility {
+ border-color: #13c2c2;
+ background: linear-gradient(135deg, #e6fffb 0%, #fff 100%);
+}
+
+.cu-bill-cost-picker--misc {
+ border-color: #9254de;
+ background: linear-gradient(135deg, #f9f0ff 0%, #fff 100%);
+}
+
+.cu-bill-cost-picker__label {
+ font-size: 24rpx;
+ color: $cu-text-secondary;
+ max-width: 150rpx;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ line-height: 1.2;
+}
+
+.cu-bill-cost-picker--active .cu-bill-cost-picker__label,
+.cu-bill-cost-picker--rent .cu-bill-cost-picker__label,
+.cu-bill-cost-picker--property .cu-bill-cost-picker__label,
+.cu-bill-cost-picker--deposit .cu-bill-cost-picker__label,
+.cu-bill-cost-picker--utility .cu-bill-cost-picker__label,
+.cu-bill-cost-picker--misc .cu-bill-cost-picker__label {
+ color: $cu-text;
+ font-weight: 600;
+}
+
+.cu-bill-cost-picker__arrow {
+ font-size: 22rpx;
+ color: $cu-text-muted;
+ line-height: 1;
+ 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;
}
.cu-bill-summary {
display: flex;
+ align-items: center;
+ gap: 12rpx;
+ padding: 0 8rpx 12rpx;
+ flex-wrap: wrap;
+}
+
+.cu-bill-summary__main {
+ display: flex;
align-items: baseline;
gap: 8rpx;
- padding: 0 8rpx 12rpx;
}
.cu-bill-summary__count {
@@ -1124,6 +2384,76 @@
.cu-bill-summary__label {
font-size: 26rpx;
color: $cu-text-muted;
+ line-height: 1.2;
+}
+
+.cu-bill-summary__overdue-group {
+ display: flex;
+ align-items: center;
+ gap: 10rpx;
+}
+
+.cu-bill-summary__chip {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 8rpx;
+ height: 48rpx;
+ padding: 0 16rpx;
+ border-radius: 999rpx;
+ box-sizing: border-box;
+ font-size: 24rpx;
+ line-height: 1;
+}
+
+.cu-bill-summary__chip--stat {
+ color: $cu-danger;
+ font-weight: 600;
+ background: #fff1f0;
+}
+
+.cu-bill-summary__chip--filter {
+ background: transparent;
+ border: none;
+ color: $cu-danger;
+ font-weight: 500;
+ padding: 0 4rpx;
+}
+
+.cu-bill-summary__chip--filter-on {
+ font-weight: 600;
+}
+
+.cu-bill-summary__chip-text {
+ font-size: 24rpx;
+ line-height: 1;
+ color: inherit;
+}
+
+.cu-bill-summary__check {
+ width: 28rpx;
+ height: 28rpx;
+ border: 2rpx solid rgba(255, 77, 79, 0.45);
+ border-radius: 6rpx;
+ background: #fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ box-sizing: border-box;
+ flex-shrink: 0;
+ transition: all 0.2s ease;
+}
+
+.cu-bill-summary__check--on {
+ border-color: $cu-danger;
+ background: $cu-danger;
+}
+
+.cu-bill-summary__check-icon {
+ font-size: 20rpx;
+ color: #fff;
+ line-height: 1;
+ font-weight: 700;
}
.cu-bill-card {
@@ -1168,27 +2498,80 @@
margin-bottom: 24rpx;
}
-.cu-bill-card__head-main {
- flex: 1;
- min-width: 0;
+.cu-bill-card__type-row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 16rpx;
+ margin-bottom: 12rpx;
}
-.cu-bill-card__type {
- display: inline-flex;
- padding: 6rpx 14rpx;
- background: #f3f6fc;
- border-radius: 8rpx;
- font-size: 22rpx;
- color: $cu-primary;
- font-weight: 500;
- margin-bottom: 10rpx;
+.cu-bill-type-tag {
+ padding: 10rpx 22rpx;
+ border-radius: 12rpx;
+ box-shadow: 0 4rpx 12rpx rgba(15, 35, 75, 0.08);
+}
+
+.cu-bill-type-tag__text {
+ font-size: 28rpx;
+ font-weight: 700;
+ line-height: 1.2;
+}
+
+.cu-bill-type-tag--rent {
+ background: linear-gradient(135deg, #69c0ff 0%, #40a9ff 100%);
+}
+
+.cu-bill-type-tag--rent .cu-bill-type-tag__text {
+ color: #fff;
+}
+
+.cu-bill-type-tag--property {
+ background: linear-gradient(135deg, #95de64 0%, #52c41a 100%);
+}
+
+.cu-bill-type-tag--property .cu-bill-type-tag__text {
+ color: #fff;
+}
+
+.cu-bill-type-tag--deposit {
+ background: linear-gradient(135deg, #ffc069 0%, #fa8c16 100%);
+}
+
+.cu-bill-type-tag--deposit .cu-bill-type-tag__text {
+ color: #fff;
+}
+
+.cu-bill-type-tag--utility {
+ background: linear-gradient(135deg, #5cdbd3 0%, #13c2c2 100%);
+}
+
+.cu-bill-type-tag--utility .cu-bill-type-tag__text {
+ color: #fff;
+}
+
+.cu-bill-type-tag--misc {
+ background: linear-gradient(135deg, #b37feb 0%, #9254de 100%);
+}
+
+.cu-bill-type-tag--misc .cu-bill-type-tag__text {
+ color: #fff;
+}
+
+.cu-bill-type-tag--default {
+ background: linear-gradient(135deg, #d9d9d9 0%, #8c8c8c 100%);
+}
+
+.cu-bill-type-tag--default .cu-bill-type-tag__text {
+ color: #fff;
}
.cu-bill-card__code {
display: block;
- font-size: 30rpx;
- font-weight: 600;
- color: $cu-text;
+ font-size: 26rpx;
+ font-weight: 500;
+ color: $cu-text-secondary;
+ margin-bottom: 20rpx;
word-break: break-all;
line-height: 1.4;
}
@@ -1329,7 +2712,7 @@
}
.cu-contract-bill-panel {
- padding: 0 24rpx 32rpx;
+ padding: 24rpx 24rpx 32rpx;
}
.cu-contract-bill-switch {
@@ -1693,6 +3076,165 @@
font-weight: 600;
}
+.cu-clause-panel {
+ padding-bottom: 8rpx;
+}
+
+.cu-clause-panel__head {
+ display: flex;
+ align-items: center;
+ gap: 16rpx;
+ padding: 24rpx 28rpx 12rpx;
+}
+
+.cu-clause-panel__badge {
+ width: 56rpx;
+ height: 56rpx;
+ border-radius: 16rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+}
+
+.cu-clause-panel--zl .cu-clause-panel__badge {
+ background: linear-gradient(135deg, #69c0ff 0%, #1890ff 100%);
+ box-shadow: 0 8rpx 22rpx rgba(24, 144, 255, 0.42);
+}
+
+.cu-clause-panel--wy .cu-clause-panel__badge {
+ background: linear-gradient(135deg, #95de64 0%, #389e0d 100%);
+ box-shadow: 0 8rpx 22rpx rgba(56, 158, 13, 0.42);
+}
+
+.cu-clause-panel__title {
+ font-size: 30rpx;
+ font-weight: 600;
+ color: $cu-text;
+}
+
+.cu-clause-summary {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 12rpx;
+ padding: 8rpx 24rpx 20rpx;
+}
+
+.cu-clause-chip {
+ flex: 1;
+ min-width: calc(50% - 6rpx);
+ padding: 18rpx 20rpx;
+ border-radius: 16rpx;
+ background: #f8fafc;
+}
+
+.cu-clause-panel--zl .cu-clause-chip {
+ background: linear-gradient(180deg, #f3f8ff 0%, #f8fafc 100%);
+}
+
+.cu-clause-panel--wy .cu-clause-chip {
+ background: linear-gradient(180deg, #f0faf4 0%, #f8fafc 100%);
+}
+
+.cu-clause-chip--wide {
+ flex: 1 1 100%;
+ min-width: 100%;
+}
+
+.cu-clause-chip__label {
+ display: block;
+ font-size: 22rpx;
+ color: $cu-text-muted;
+ margin-bottom: 8rpx;
+}
+
+.cu-clause-chip__value {
+ display: block;
+ font-size: 28rpx;
+ font-weight: 500;
+ color: $cu-text;
+ line-height: 1.4;
+ word-break: break-all;
+}
+
+.cu-clause-detail-list {
+ padding: 0 24rpx 16rpx;
+ display: flex;
+ flex-direction: column;
+ gap: 16rpx;
+}
+
+.cu-clause-detail-card {
+ padding: 4rpx;
+ border-radius: 18rpx;
+ background: linear-gradient(135deg, rgba(32, 128, 247, 0.12), rgba(32, 128, 247, 0.04));
+}
+
+.cu-clause-panel--wy .cu-clause-detail-card {
+ background: linear-gradient(135deg, rgba(47, 154, 79, 0.12), rgba(47, 154, 79, 0.04));
+}
+
+.cu-clause-detail-grid {
+ display: flex;
+ flex-wrap: wrap;
+ padding: 20rpx;
+ border-radius: 16rpx;
+ background: #fff;
+ gap: 16rpx 12rpx;
+}
+
+.cu-clause-detail-grid__item {
+ width: calc(50% - 6rpx);
+ padding: 16rpx 18rpx;
+ border-radius: 12rpx;
+ background: #f8fafc;
+ box-sizing: border-box;
+}
+
+.cu-clause-panel--zl .cu-clause-detail-grid__item--highlight {
+ background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
+}
+
+.cu-clause-panel--wy .cu-clause-detail-grid__item--highlight {
+ background: linear-gradient(135deg, #edf9f0 0%, #f6fcf8 100%);
+}
+
+.cu-clause-detail-grid__label {
+ display: block;
+ font-size: 22rpx;
+ color: $cu-text-muted;
+ margin-bottom: 8rpx;
+}
+
+.cu-clause-detail-grid__value {
+ display: block;
+ font-size: 26rpx;
+ font-weight: 500;
+ color: $cu-text;
+ line-height: 1.45;
+ word-break: break-all;
+}
+
+.cu-clause-panel--zl .cu-clause-detail-grid__item--highlight .cu-clause-detail-grid__value {
+ color: $cu-primary;
+ font-weight: 600;
+}
+
+.cu-clause-panel--wy .cu-clause-detail-grid__item--highlight .cu-clause-detail-grid__value {
+ color: #2f9a4f;
+ font-weight: 600;
+}
+
+.cu-clause-empty {
+ padding: 32rpx 24rpx;
+ margin: 0 24rpx 8rpx;
+ text-align: center;
+ font-size: 24rpx;
+ color: $cu-text-muted;
+ background: #f8fafc;
+ border-radius: 16rpx;
+}
+
.cu-bill-detail-hero {
position: relative;
margin: 24rpx 24rpx 0;
--
Gitblit v1.9.3