doum
2026-06-17 ea689dd91eaa72425dc01759042c3b4eb2186512
h5/styles/customer.scss
@@ -130,7 +130,10 @@
}
.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; }
@@ -549,7 +552,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); }
@@ -782,6 +788,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 +896,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 +964,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 {
@@ -1103,15 +1185,114 @@
  padding: 16rpx 24rpx 8rpx;
}
.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-tabs {
  margin-bottom: 20rpx;
  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 +1305,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 +1419,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 +1633,7 @@
}
.cu-contract-bill-panel {
  padding: 0 24rpx 32rpx;
  padding: 24rpx 24rpx 32rpx;
}
.cu-contract-bill-switch {
@@ -1693,6 +1997,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;