hku-class/miniprogram/pages/fund-detail/index.wxss
2026-05-15 20:22:12 +08:00

219 lines
3.7 KiB
Plaintext

.fund-detail-hero.income {
background: linear-gradient(145deg, #1f7a4d 0%, #8b5a36 72%, #d6a653 135%);
}
.fund-detail-hero.expense {
background: linear-gradient(145deg, #6b1f2b 0%, #9a3a2f 72%, #d6a653 135%);
}
.fund-proof-pill {
position: relative;
display: inline-flex;
align-items: center;
min-height: 48rpx;
margin-top: 28rpx;
padding: 0 22rpx;
border: 1rpx solid rgba(255, 248, 237, 0.18);
border-radius: 999rpx;
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 248, 237, 0.9);
font-size: 24rpx;
font-weight: 650;
}
.fund-action-bar {
position: relative;
display: flex;
gap: 16rpx;
margin-top: 26rpx;
}
.fund-action-button {
min-width: 132rpx;
height: 58rpx;
border: 1rpx solid rgba(255, 248, 237, 0.22);
border-radius: 999rpx;
background: rgba(255, 255, 255, 0.12);
color: #fff8ed;
font-size: 25rpx;
font-weight: 720;
line-height: 58rpx;
text-align: center;
}
.fund-action-button.danger {
background: rgba(255, 248, 237, 0.9);
color: #9a3a2f;
}
.fund-detail-row {
display: flex;
align-items: center;
gap: 22rpx;
padding: 22rpx 0;
border-bottom: 1rpx solid rgba(121, 84, 54, 0.1);
}
.fund-detail-row:first-child {
padding-top: 0;
}
.fund-detail-row.last {
padding-bottom: 0;
border-bottom: 0;
}
.fund-note {
color: #4f3930;
font-size: 27rpx;
line-height: 1.65;
white-space: pre-wrap;
}
.fund-proof-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 14rpx;
}
.fund-proof-grid image {
width: 100%;
height: 300rpx;
border-radius: 24rpx;
background: #efe0ca;
box-shadow: 0 14rpx 32rpx rgba(68, 39, 27, 0.08);
}
.edit-mask {
position: fixed;
inset: 0;
z-index: 50;
display: flex;
align-items: flex-end;
background: rgba(47, 33, 28, 0.42);
}
.edit-panel {
width: 100%;
max-height: 88vh;
overflow-y: auto;
box-sizing: border-box;
padding: 30rpx 28rpx calc(34rpx + env(safe-area-inset-bottom));
border-radius: 34rpx 34rpx 0 0;
background: #fffaf3;
box-shadow: 0 -18rpx 60rpx rgba(47, 33, 28, 0.18);
}
.edit-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24rpx;
margin-bottom: 26rpx;
}
.edit-kicker {
color: #9d8068;
font-size: 20rpx;
font-weight: 760;
letter-spacing: 1rpx;
}
.edit-title {
margin-top: 6rpx;
color: #2f211c;
font-size: 34rpx;
font-weight: 780;
}
.edit-close {
width: 54rpx;
height: 54rpx;
border-radius: 999rpx;
background: #f1e4d4;
color: #6b1f2b;
font-size: 42rpx;
line-height: 48rpx;
text-align: center;
}
.fund-type-switch {
display: flex;
gap: 12rpx;
margin-top: 12rpx;
padding: 8rpx;
border-radius: 24rpx;
background: #f1e4d4;
}
.fund-type {
flex: 1;
height: 72rpx;
border-radius: 20rpx;
color: #7f7065;
font-size: 27rpx;
font-weight: 700;
line-height: 72rpx;
text-align: center;
}
.fund-type.active {
background: #fffaf3;
color: #6b1f2b;
}
.fund-type.income {
color: #1f7a4d;
}
.fund-type.expense {
color: #9a3a2f;
}
.edit-label-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.edit-image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12rpx;
margin-top: 16rpx;
}
.edit-image-cell {
position: relative;
overflow: hidden;
height: 180rpx;
border-radius: 18rpx;
background: #efe0ca;
}
.edit-image-cell image {
width: 100%;
height: 100%;
}
.edit-image-remove {
position: absolute;
top: 8rpx;
right: 8rpx;
width: 40rpx;
height: 40rpx;
border-radius: 999rpx;
background: rgba(47, 33, 28, 0.72);
color: #fff;
font-size: 32rpx;
line-height: 36rpx;
text-align: center;
}
.edit-submit-row {
display: grid;
grid-template-columns: 1fr 1.35fr;
gap: 16rpx;
margin-top: 28rpx;
}