|
@@ -9,7 +9,7 @@
|
|
|
.header {
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
- height: 180rpx;
|
|
|
+ height: 300rpx;
|
|
|
}
|
|
|
|
|
|
.header .background {
|
|
@@ -18,21 +18,16 @@
|
|
|
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%);
|
|
|
+ background-color: #4285f4;
|
|
|
}
|
|
|
|
|
|
.back-icon {
|
|
|
position: absolute;
|
|
|
left: 30rpx;
|
|
|
- top: 120rpx;
|
|
|
+ top: 80rpx;
|
|
|
font-size: 40rpx;
|
|
|
color: white;
|
|
|
z-index: 10;
|
|
|
- width: 60rpx;
|
|
|
- height: 60rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
}
|
|
|
|
|
|
.header-title {
|
|
@@ -40,13 +35,20 @@
|
|
|
font-size: 36rpx;
|
|
|
margin-bottom: 20rpx;
|
|
|
}
|
|
|
+
|
|
|
+/* .custom-nav {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ z-index: 5;
|
|
|
+} */
|
|
|
+
|
|
|
.user-info-container {
|
|
|
position: relative;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: flex-start;
|
|
|
- padding: 0rpx 30rpx;
|
|
|
- top: -200rpx;
|
|
|
+ margin-top: -100rpx;
|
|
|
+ padding: 0 30rpx;
|
|
|
+ top: -20rpx;
|
|
|
width: 100%;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
@@ -54,330 +56,137 @@
|
|
|
.user-info {
|
|
|
background-color: transparent;
|
|
|
color: white;
|
|
|
- padding: 30rpx;
|
|
|
- border-radius: 20rpx;
|
|
|
- position: relative;
|
|
|
+ padding: 20rpx 20rpx;
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
.user-name {
|
|
|
font-size: 40rpx;
|
|
|
font-weight: bold;
|
|
|
- margin-bottom: 24rpx;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
}
|
|
|
|
|
|
.user-id, .user-address {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- font-size: 30rpx;
|
|
|
- margin-bottom: 20rpx;
|
|
|
- color: rgba(255, 255, 255, 1);
|
|
|
+ font-size: 28rpx;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ color: rgba(255, 255, 255, 0.9);
|
|
|
}
|
|
|
|
|
|
.id-icon, .address-icon {
|
|
|
- width: 32rpx;
|
|
|
- height: 32rpx;
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
margin-right: 10rpx;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-.user-phone, .user-address {
|
|
|
- display: flex;
|
|
|
- font-size: 15px;
|
|
|
- margin-bottom: 3px;
|
|
|
- color: rgba(255, 255, 255, 1);
|
|
|
-}
|
|
|
-
|
|
|
-.user-phone image, .user-address image {
|
|
|
- width: 32rpx;
|
|
|
- height: 32rpx;
|
|
|
- margin-right: 10rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.edit-btn {
|
|
|
- position: absolute;
|
|
|
- right: 30rpx;
|
|
|
- top: 30rpx;
|
|
|
- font-size: 28rpx;
|
|
|
- color: #1989fa;
|
|
|
- padding: 10rpx 20rpx;
|
|
|
- border: 1px solid #1989fa;
|
|
|
- border-radius: 30rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.payment-section {
|
|
|
- position: relative;
|
|
|
- background-color: transparent;
|
|
|
- margin: -10rpx 30rpx;
|
|
|
- border-radius: 20rpx;
|
|
|
- padding: 0;
|
|
|
- top: -200rpx;
|
|
|
- box-shadow: none;
|
|
|
- width: calc(100% - 70rpx);
|
|
|
- box-sizing: border-box;
|
|
|
+.bill-list-container {
|
|
|
+ flex: 1;
|
|
|
+ padding: 20rpx;
|
|
|
+ margin-top: 30rpx;
|
|
|
}
|
|
|
|
|
|
-.payment-title {
|
|
|
+.bill-date-section {
|
|
|
font-size: 32rpx;
|
|
|
- color: rgba(46, 48, 56, 1);
|
|
|
- margin-bottom: 20rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.payment-amount {
|
|
|
- font-size: 60rpx;
|
|
|
- color: rgba(239, 93, 93, 1);
|
|
|
font-weight: bold;
|
|
|
- margin: 30rpx 0;
|
|
|
-}
|
|
|
-
|
|
|
-.quick-amounts {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- justify-content: space-between;
|
|
|
- margin-top: 20rpx;
|
|
|
+ padding: 20rpx 10rpx;
|
|
|
+ color: #333;
|
|
|
}
|
|
|
|
|
|
-.amount-item {
|
|
|
- width: 30%;
|
|
|
- text-align: center;
|
|
|
- background-color: #f5f5f5;
|
|
|
- padding: 20rpx 0;
|
|
|
+.bill-card {
|
|
|
+ background-color: white;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ padding: 30rpx;
|
|
|
margin-bottom: 20rpx;
|
|
|
- border-radius: 8rpx;
|
|
|
- font-size: 32rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.usage-info {
|
|
|
- margin-top: 30rpx;
|
|
|
- font-size: 28rpx;
|
|
|
- color: #666;
|
|
|
- line-height: 1.6;
|
|
|
+ box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
|
|
}
|
|
|
|
|
|
-.pay-btn {
|
|
|
- background-color: #1989fa;
|
|
|
- color: white;
|
|
|
- font-size: 36rpx;
|
|
|
- text-align: center;
|
|
|
- padding: 24rpx 0;
|
|
|
- border-radius: 60rpx;
|
|
|
- margin: 40rpx auto;
|
|
|
- margin-bottom: 160rpx;
|
|
|
- width: 85%;
|
|
|
- max-width: 800rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.switch-meter {
|
|
|
- padding: 5px 10px;
|
|
|
- background-color: #f0f0f0;
|
|
|
- border-radius: 4px;
|
|
|
- font-size: 14px;
|
|
|
- color: #333;
|
|
|
+.bill-info {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
-/* 金额显示样式 */
|
|
|
-.amount-container {
|
|
|
- background-color: white;
|
|
|
- border-radius: 20rpx;
|
|
|
- padding: 40rpx 30rpx;
|
|
|
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
|
|
|
+.bill-icon {
|
|
|
+ margin-right: 20rpx;
|
|
|
}
|
|
|
|
|
|
-.amount-title {
|
|
|
- font-size: 34rpx;
|
|
|
- color: rgba(46, 48, 56, 1);
|
|
|
- margin-bottom: 10rpx;
|
|
|
+.bill-icon image {
|
|
|
+ width: 60rpx;
|
|
|
+ height: 60rpx;
|
|
|
}
|
|
|
|
|
|
-.amount-display {
|
|
|
- position: relative;
|
|
|
- margin-bottom: 30rpx;
|
|
|
- display: flex;
|
|
|
- align-items: flex-end;
|
|
|
+.bill-details {
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
|
|
|
-.amount-value {
|
|
|
- font-size: 72rpx;
|
|
|
- color: rgba(239, 93, 93, 1);
|
|
|
+.bill-number {
|
|
|
+ font-size: 30rpx;
|
|
|
font-weight: bold;
|
|
|
- line-height: 1;
|
|
|
-}
|
|
|
-
|
|
|
-.amount-unit {
|
|
|
- font-size: 28rpx;
|
|
|
- color: #333;
|
|
|
- margin-left: 4rpx;
|
|
|
margin-bottom: 10rpx;
|
|
|
}
|
|
|
|
|
|
-/* 余额信息样式调整 */
|
|
|
-.balance-info {
|
|
|
- display: flex;
|
|
|
- font-size: 34rpx;
|
|
|
- margin-bottom: 30rpx;
|
|
|
- align-items: center;
|
|
|
-}
|
|
|
-
|
|
|
-.balance-label {
|
|
|
+.bill-usage, .bill-payment-time {
|
|
|
+ font-size: 26rpx;
|
|
|
color: #666;
|
|
|
+ margin-top: 6rpx;
|
|
|
}
|
|
|
|
|
|
-.balance-value {
|
|
|
- color: rgba(239, 93, 93, 1);
|
|
|
- font-weight: bold;
|
|
|
-}
|
|
|
-
|
|
|
-.balance-unit {
|
|
|
- color: #333;
|
|
|
- margin-right: 10rpx;
|
|
|
+.bill-amount-status {
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
|
|
|
-.margin-left {
|
|
|
- margin-left: 20rpx;
|
|
|
+.bill-amount {
|
|
|
+ font-size: 36rpx;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
-/* 快捷金额选择 */
|
|
|
-.quick-amount {
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- justify-content: space-between;
|
|
|
- margin-bottom: 15px;
|
|
|
+.bill-status {
|
|
|
+ font-size: 26rpx;
|
|
|
+ margin-top: 10rpx;
|
|
|
}
|
|
|
|
|
|
-.amount-btn {
|
|
|
- width: 30%;
|
|
|
- text-align: center;
|
|
|
- padding: 24rpx 0;
|
|
|
- border: 2rpx solid #ddd;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin-bottom: 24rpx;
|
|
|
- font-size: 34rpx;
|
|
|
+.paid {
|
|
|
color: #333;
|
|
|
- background-color: rgba(242, 245, 250, 1);
|
|
|
-}
|
|
|
-
|
|
|
-.amount-btn:active {
|
|
|
- background-color: #f5f5f5;
|
|
|
-}
|
|
|
-
|
|
|
-.custom-amount {
|
|
|
- color: #1e90ff;
|
|
|
- border-color: #1e90ff;
|
|
|
-}
|
|
|
-
|
|
|
-.custom-amount:active {
|
|
|
- background-color: rgba(30, 144, 255, 0.05);
|
|
|
-}
|
|
|
-
|
|
|
-/* 温馨提示位置调整 */
|
|
|
-.tips {
|
|
|
- font-size: 24rpx;
|
|
|
- color: #999;
|
|
|
- padding: 20rpx 30rpx;
|
|
|
- top: -200rpx;
|
|
|
- text-align: left;
|
|
|
- border-top: none;
|
|
|
- position: relative;
|
|
|
- left: -100rpx;
|
|
|
}
|
|
|
|
|
|
-.tips-title {
|
|
|
- color: rgba(239, 93, 93, 1);
|
|
|
-}
|
|
|
-tips-content {
|
|
|
- color: rgba(104, 108, 128, 1);
|
|
|
-}
|
|
|
-/* 数字键盘样式优化 */
|
|
|
-.keyboard {
|
|
|
- position: fixed;
|
|
|
- bottom: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- background-color: #f0f0f0;
|
|
|
- padding: 20rpx;
|
|
|
- z-index: 1000;
|
|
|
- border-top: 2rpx solid #ddd;
|
|
|
-}
|
|
|
-
|
|
|
-.keyboard-row {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- margin-bottom: 20rpx;
|
|
|
+.unpaid {
|
|
|
+ color: #ff4d4f;
|
|
|
}
|
|
|
|
|
|
-.key {
|
|
|
- width: 23%;
|
|
|
- height: 100rpx;
|
|
|
- background-color: white;
|
|
|
- border-radius: 10rpx;
|
|
|
+.bill-action {
|
|
|
+ margin-top: 20rpx;
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- font-size: 40rpx;
|
|
|
- box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
|
|
- margin: 0 10rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.key.zero {
|
|
|
- width: 48%;
|
|
|
-}
|
|
|
-
|
|
|
-.delete {
|
|
|
- background-color: #f5f5f5;
|
|
|
-}
|
|
|
-
|
|
|
-.delete image {
|
|
|
- width: 48rpx;
|
|
|
- height: 48rpx;
|
|
|
+ justify-content: flex-end;
|
|
|
}
|
|
|
|
|
|
-.confirm {
|
|
|
- background-color: #1e90ff;
|
|
|
+.pay-btn {
|
|
|
+ background-color: #ff4d4f;
|
|
|
color: white;
|
|
|
+ font-size: 28rpx;
|
|
|
+ padding: 10rpx 40rpx;
|
|
|
+ border-radius: 30rpx;
|
|
|
+ line-height: 1.5;
|
|
|
}
|
|
|
|
|
|
-/* 自定义金额输入框样式 - 修改为与快捷金额按钮一致 */
|
|
|
-.custom-input-container {
|
|
|
- width: 100%;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- border: 2rpx solid #ddd; /* 默认边框颜色与快捷金额按钮一致 */
|
|
|
- border-radius: 10rpx;
|
|
|
- margin-bottom: 24rpx;
|
|
|
- padding: 0 10rpx;
|
|
|
- background-color: rgba(242, 245, 250, 1);
|
|
|
-}
|
|
|
-
|
|
|
-/* 自定义金额输入框选中状态 */
|
|
|
-.custom-input-container.selected {
|
|
|
- border: 2rpx solid rgba(46, 125, 253, 1);
|
|
|
-}
|
|
|
-
|
|
|
-.yuan-symbol {
|
|
|
- color: rgba(63, 65, 76, 1); /* 默认颜色 */
|
|
|
- font-size: 34rpx;
|
|
|
- margin-right: 4rpx;
|
|
|
-}
|
|
|
-
|
|
|
-/* 选中状态下的¥符号颜色 */
|
|
|
-.custom-input-container.selected .yuan-symbol {
|
|
|
- color: rgba(46, 125, 253, 1);
|
|
|
-}
|
|
|
-
|
|
|
-.custom-amount-input {
|
|
|
- flex: 1;
|
|
|
- height: 80rpx;
|
|
|
- font-size: 34rpx;
|
|
|
- color: #333;
|
|
|
+.detail-btn {
|
|
|
+ background-color: #f0f0f0;
|
|
|
+ color: #333;
|
|
|
+ font-size: 28rpx;
|
|
|
+ padding: 10rpx 40rpx;
|
|
|
+ border-radius: 30rpx;
|
|
|
+ line-height: 1.5;
|
|
|
}
|
|
|
|
|
|
-/* 选中状态下的输入框文字颜色 */
|
|
|
-.custom-input-container.selected .custom-amount-input {
|
|
|
- color: rgba(46, 125, 253, 1);
|
|
|
+.list-end {
|
|
|
+ text-align: center;
|
|
|
+ color: #999;
|
|
|
+ font-size: 26rpx;
|
|
|
+ padding: 30rpx 0;
|
|
|
}
|
|
|
|
|
|
-/* 添加选中状态的样式 */
|
|
|
-.amount-btn.selected {
|
|
|
- border: 2rpx solid rgba(46, 125, 253, 1);
|
|
|
- color: rgba(46, 125, 253, 1);
|
|
|
+.empty-list {
|
|
|
+ text-align: center;
|
|
|
+ color: #999;
|
|
|
+ font-size: 28rpx;
|
|
|
+ padding: 100rpx 0;
|
|
|
}
|