123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458 |
- .container1 {
- display: flex;
- flex-direction: column;
- background-color: rgba(255, 255, 255, 1);
- 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;
- }
- .address-container {
- position: absolute;
- display: flex;
- align-items: center;
- top: 166rpx;
- right: 50rpx;
- z-index: 2;
- padding: 6rpx 12rpx;
- border-radius: 20rpx;
- }
- .address-icon {
- width: 32rpx;
- height: 32rpx;
- margin-right: 8rpx;
- }
- .address-text {
- color: #ffffff;
- font-size: 30rpx;
- max-width: 330rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .user-info-section {
- padding: 10rpx;
- display: flex;
- flex-direction: column;
- }
- .info-row {
- display: flex;
- align-items: center;
- margin-bottom: 12rpx;
- position: relative;
- }
- .info-row .label {
- color: rgba(163, 163, 163, 1);
- font-size: 30rpx;
- font-weight: 400;
- width: 100rpx;
- margin-right: 30rpx;
- }
- .info-row .value {
- color: rgba(46, 48, 56, 1);
- font-size: 32rpx;
- 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: 5rpx 30rpx;
- display: flex;
- align-items: center;
- overflow: hidden;
- }
- .section-background {
- position: absolute;
- top: 0rpx;
- left: 0;
- width: 30%;
- height: 40%;
- z-index: 0;
- }
- .water-drop {
- width: 188rpx;
- position: absolute;
- left: -30rpx;
- bottom: 40rpx;
- z-index: 1;
- }
- .amount-display {
- flex: 1;
- text-align: center;
- position: relative;
- z-index: 1;
- }
- .total-amount {
- font-size: 80rpx;
- font-weight: 700;
- color: rgba(239, 93, 93, 1);
- }
- .amount-label {
- font-size: 32rpx;
- color: rgba(104, 108, 128, 1);
- 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: 48rpx;
- font-weight: 700;
- color: rgba(63, 65, 76, 1);
- }
- .detail-item .number.blue {
- color: rgba(46, 125, 253, 1);
- }
- .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: 100%;
- 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;
- }
- .function-grid {
- display: flex;
- flex-wrap: wrap;
- width: 100%;
- }
- .function-item {
- width: 25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-bottom: 20rpx;
- position: relative;
- }
- .function-item image {
- width: 64rpx;
- height: 64rpx;
- margin-bottom: 10rpx;
- }
- .function-item text {
- font-size: 28rpx;
- color: #333;
- }
- .activity-area {
- margin: 0rpx 30rpx 0rpx;
- background-color: #ffffff;
- border-radius: 20rpx;
- margin-top: -30rpx;
- 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: 18rpx;
- 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;
- margin: 0 15rpx;
- border: 2rpx dashed rgba(229, 229, 229, 1);
- background-color: white;
- z-index: 1;
- }
- /* 左侧半圆挖孔 */
- .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 {
- border-radius: 0 0 20rpx 20rpx;
- padding: 10rpx 30rpx 30rpx 30rpx;
- position: relative;
- width: 100%;
- box-sizing: border-box;
- border-top: none;
- background: linear-gradient(135deg, rgba(245, 249, 255, 1) 0%, rgba(252, 253, 255, 1) 50.4%, rgba(242, 247, 255, 1) 100%);
- box-shadow: 0px 2px 4px rgba(177, 191, 215, 0.6);
- }
- /* 通知轮播样式 */
- .notice-bar {
- display: flex;
- align-items: center;
- padding: 0 20rpx;
- border-radius: 30rpx;
- margin: 0rpx 0 0rpx;
- 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;
- transform: translateX(100%);
- }
- .notice-content.scrolling {
- animation: marquee linear forwards;
- }
- @keyframes marquee {
- from {
- transform: translateX(120%);
- }
- to {
- transform: translateX(-100%);
- }
- }
- .notice-title {
- color: rgba(104, 108, 128, 1);
- margin-right: 10rpx;
- }
- .address-row {
- cursor: pointer;
- 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;
- }
- /* 下拉刷新提示样式 */
- .refresh-tip {
- text-align: center;
- padding: 10px 0;
- color: #666;
- font-size: 14px;
- }
- .pay-btn-hover {
- transform: scale(0.95);
- opacity: 0.9;
- background-color: #0080b0; /* 可以使用稍深一点的颜色 */
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
- }
- /* 消息通知图标的红点样式 */
- .notice-badge {
- position: absolute;
- min-width: 32rpx;
- height: 32rpx;
- line-height: 32rpx;
- border-radius: 16rpx;
- background-color: #ff4d4f;
- color: white;
- font-size: 20rpx;
- text-align: center;
- box-sizing: border-box;
- z-index: 99;
- right: 30rpx;
- top: -5rpx;
- padding: 0 6rpx;
- }
- /* 针对超过99的情况显示99+ */
- .notice-badge-large {
- min-width: 48rpx;
- }
|