ai-c/pages/love-transactions/love-transactions.wxss
2026-02-02 18:21:32 +08:00

247 lines
3.6 KiB
Plaintext

/* 页面容器 */
.page-container {
min-height: 100vh;
background: #F8F9FA;
}
/* 固定导航栏容器 */
.nav-container {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
background: rgba(242, 237, 255, 0.6);
backdrop-filter: blur(10px);
}
.status-bar {
background: transparent;
}
.nav-bar {
display: flex;
align-items: center;
justify-content: center;
padding: 0 32rpx;
background: transparent;
position: relative;
}
.nav-back {
position: absolute;
left: 32rpx;
top: 50%;
transform: translateY(-50%);
width: 80rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.back-icon {
width: 48rpx;
height: 48rpx;
}
.nav-title {
font-size: 36rpx;
font-weight: 700;
color: #1F2937;
line-height: 1;
}
/* 内容滚动区域 */
.content-scroll {
height: 100vh;
box-sizing: border-box;
}
/* 爱心值卡片 */
.love-card {
margin: 32rpx 32rpx 40rpx;
border-radius: 24rpx;
overflow: hidden;
position: relative;
height: 280rpx;
}
.love-card-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, #A78BFA 0%, #C084FC 50%, #E879F9 100%);
opacity: 1;
}
.love-card-gradient {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}
.love-card-content {
position: relative;
padding: 40rpx;
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
}
/* 左侧信息 */
.love-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.love-header {
display: flex;
align-items: center;
margin-bottom: 16rpx;
}
.love-icon-wrap {
width: 48rpx;
height: 48rpx;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 12rpx;
}
.love-icon {
width: 28rpx;
height: 28rpx;
}
.love-label {
font-size: 28rpx;
color: rgba(255, 255, 255, 0.95);
font-weight: 500;
}
.love-value {
font-size: 72rpx;
font-weight: 700;
color: #FFFFFF;
line-height: 1.2;
letter-spacing: 1rpx;
}
/* 右侧装饰 */
.love-decoration {
width: 160rpx;
height: 160rpx;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.3;
}
.decoration-icon {
width: 120rpx;
height: 120rpx;
}
/* 明细记录区域 */
.records-section {
margin: 0 32rpx 40rpx;
}
.records-header {
margin-bottom: 24rpx;
}
.records-title {
font-size: 32rpx;
font-weight: 600;
color: #1F2937;
}
/* 记录列表 */
.records-list {
background: #FFFFFF;
border-radius: 16rpx;
overflow: hidden;
}
.record-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 32rpx;
border-bottom: 1rpx solid #F3F4F6;
}
.record-item:last-child {
border-bottom: none;
}
.record-left {
flex: 1;
display: flex;
flex-direction: column;
}
.record-title {
font-size: 28rpx;
color: #1F2937;
font-weight: 500;
margin-bottom: 8rpx;
}
.record-time {
font-size: 24rpx;
color: #9CA3AF;
}
.record-right {
margin-left: 24rpx;
}
.record-amount {
font-size: 32rpx;
font-weight: 600;
}
.record-amount.add {
color: #10B981;
}
/* .record-amount.add::before {
content: '+';
} */
.record-amount.minus {
color: #EF4444;
}
/* .record-amount.minus::before {
content: '-';
} */
/* 空状态 */
.empty-state {
background: #FFFFFF;
border-radius: 16rpx;
padding: 120rpx 0;
text-align: center;
}
.empty-text {
font-size: 28rpx;
color: #9CA3AF;
}