.container1 { display: flex; flex-direction: column; background-color: #f5f5f5; min-height: 100vh; padding-bottom: 30rpx; } .logo { position: absolute; bottom: 80rpx; width: 280rpx; height: 100rpx; top: 60rpx; z-index: 2; } .header { position: relative; width: 100%; height: 180rpx; } .header .background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(46, 130, 255, 1) 0%, rgba(46, 130, 255, 1) 84.9%, rgba(46, 130, 255, 0) 100%); } .header .logo { position: relative; height: 80rpx; margin: 50rpx 0 0 30rpx; z-index: 1; } .user-info-section { padding: 10rpx; display: flex; flex-direction: column; } .info-row { display: flex; align-items: center; margin-bottom: 15rpx; position: relative; } .info-row .label { color: rgba(163, 163, 163, 1); font-size: 28rpx; width: 140rpx; margin-right: 50rpx; font-family: 'PingFang', '苹方', sans-serif; } .info-row .value { font-family: 'PingFang', '苹方', sans-serif; /* 添加苹方字体 */ color: rgba(46, 48, 56, 1); font-size: 28rpx; flex: 1; } .switch-btn { position: absolute; right: 0; background-color: rgba(45, 128, 254, 0.12); color: #0080ff; font-size: 26rpx; padding: 8rpx 20rpx; border-radius: 30rpx; } .amount-section { position: relative; padding: 20rpx 30rpx; display: flex; align-items: center; } .water-drop { width: 200rpx; position: absolute; left: -30rpx; bottom: 0rpx; } .amount-display { flex: 1; text-align: center; position: relative; z-index: 1; } .total-amount { font-size: 60rpx; color: #ff3b30; font-weight: bold; margin-bottom: 10rpx; } .amount-label { font-size: 24rpx; color: #666; margin-bottom: 30rpx; } .amount-details { display: flex; justify-content: space-around; align-items: center; margin-top: 20rpx; } .detail-item { text-align: center; } .detail-item .number { display: block; font-size: 32rpx; color: #333; margin-bottom: 10rpx; } .detail-item .number.blue { color: #0080ff; } .detail-item .label { font-size: 24rpx; color: #666; } .detail-divider { width: 2rpx; height: 60rpx; background-color: #DDDDDD; margin: 0 10rpx; align-self: center; } .pay-btn { width: 80%; height: 80rpx; line-height: 80rpx; background-color: #0080ff; color: white; font-size: 32rpx; border-radius: 40rpx; margin: 30rpx auto 0; } .function-area { margin: 15rpx 30rpx 15rpx; background-color: #ffffff; border-radius: 20rpx; padding: 30rpx; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05); } .function-grid { display: flex; flex-wrap: wrap; width: 100%; } .function-item { width: 25%; display: flex; flex-direction: column; align-items: center; margin-bottom: 20rpx; } .function-item image { width: 80rpx; height: 80rpx; margin-bottom: 10rpx; } .function-item text { font-size: 24rpx; color: #333; } .activity-area { margin: 0rpx 30rpx 0rpx; background-color: #ffffff; border-radius: 20rpx; padding: 30rpx; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05); } .area-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; } .area-header .title { font-size: 32rpx; color: #333; font-weight: bold; } .area-header .more { font-size: 24rpx; color: #999; } .activity-item { display: flex; flex-direction: column; align-items: center; } .activity-image { width: 100%; height: 200rpx; border-radius: 10rpx; margin-bottom: 20rpx; } /* 卡片容器样式 */ .cards-container { width: 90%; margin: 0 auto; position: relative; z-index: 100; margin-top: 40rpx; background-color: transparent; border-radius: 20rpx; overflow: visible; } /* 用户信息卡片样式 */ .user-card { background-color: #FAFCFF; border-radius: 20rpx 20rpx 0 0; padding: 30rpx; position: relative; width: 100%; min-height: 220rpx; height: auto; box-sizing: border-box; overflow: visible; margin: 0; top: 0; border-bottom: none; } /* 票据式分割线 */ .card-divider { position: relative; border-top: 0rpx dashed #CCCCCC; margin: 0 15rpx; background-color: transparent; } /* 左侧半圆挖孔 */ .card-divider::before { content: ""; position: absolute; left: -30rpx; top: -15rpx; width: 30rpx; height: 30rpx; background-color: #0080ff; border-radius: 50%; z-index: 1; } /* 右侧半圆挖孔 */ .card-divider::after { content: ""; position: absolute; right: -30rpx; top: -15rpx; width: 30rpx; height: 30rpx; background-color: #0080ff; border-radius: 50%; z-index: 1; } /* 水费金额卡片样式 */ .amount-card { background-color: #FAFCFF; border-radius: 0 0 20rpx 20rpx; padding: 30rpx; position: relative; width: 100%; box-sizing: border-box; border-top: none; } /* 通知轮播样式 */ .notice-bar { display: flex; align-items: center; padding: 0 20rpx; border-radius: 30rpx; margin: 20rpx 0 10rpx; height: 50rpx; overflow: hidden; } .notice-icon { display: flex; align-items: center; flex-shrink: 0; margin-right: 10rpx; width: 30rpx; height: 40rpx; } .notice-icon image { width: 32rpx; height: 32rpx; } .notice-icon text { font-size: 26rpx; color: #333; white-space: nowrap; } .notice-swiper-container { flex: 1; height: 50rpx; overflow: hidden; position: relative; } .notice-content { display: flex; align-items: center; font-size: 28rpx; color: rgba(104, 108, 128, 1); line-height: 50rpx; white-space: nowrap; position: absolute; left: 0; transform: translateX(100%); } .notice-content.scrolling { animation: marquee linear forwards; } @keyframes marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } } .notice-title { color: rgba(104, 108, 128, 1); margin-right: 10rpx; } .address-row { align-items: flex-start !important; min-height: 20rpx; margin-bottom: 10rpx; } .address-value { flex: 1; word-break: break-all; white-space: normal; line-height: 1.4; padding-right: 10rpx; font-size: 28rpx; }