记账微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

166 lines
2.3 KiB

1 week ago
.container {
background-color: #f5f5f5;
min-height: 100vh;
padding-bottom: 60px;
}
.balance-card {
background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
color: white;
padding: 20px 15px;
border-radius: 15px;
margin: 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.balance-header {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
}
.balance-title {
font-size: 16px;
opacity: 0.9;
}
.balance-date {
font-size: 14px;
opacity: 0.8;
}
.balance-amount {
font-size: 32px;
font-weight: bold;
margin-bottom: 20px;
}
.balance-stats {
display: flex;
justify-content: space-around;
border-top: 1px solid rgba(255, 255, 255, 0.2);
padding-top: 15px;
}
.balance-item {
text-align: center;
}
.income-label, .expense-label {
font-size: 14px;
opacity: 0.8;
display: block;
margin-bottom: 5px;
}
.income-amount, .expense-amount {
font-size: 18px;
font-weight: 500;
}
.balance-divider {
width: 1px;
background-color: rgba(255, 255, 255, 0.2);
}
.records-section {
margin: 15px;
background-color: white;
border-radius: 15px;
padding: 15px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.section-title {
font-size: 18px;
font-weight: 600;
color: #333;
}
.see-all {
font-size: 14px;
color: #4CAF50;
}
.records-list {
max-height: 400px;
overflow-y: auto;
}
.record-item {
display: flex;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid #f5f5f5;
}
.record-item:last-child {
border-bottom: none;
}
.record-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
}
.income-icon {
background-color: #e8f5e9;
color: #4CAF50;
}
.expense-icon {
background-color: #ffebee;
color: #f44336;
}
.iconfont {
font-size: 20px;
}
.record-details {
flex: 1;
}
.record-title {
font-size: 16px;
color: #333;
margin-bottom: 3px;
}
.record-date {
font-size: 12px;
color: #999;
}
.record-amount {
font-size: 16px;
font-weight: 500;
}
.income {
color: #4CAF50;
}
.expense {
color: #f44336;
}
.no-records {
text-align: center;
padding: 40px 0;
color: #999;
font-size: 14px;
}