hku-class/miniprogram/pages/vote-detail/index.wxss
2026-05-16 23:59:13 +08:00

81 lines
1.4 KiB
Plaintext

.page {
padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
}
.vote-option {
margin-bottom: 18rpx;
border: 1rpx solid rgba(121, 84, 54, 0.12);
border-radius: 28rpx;
background: rgba(255, 252, 247, 0.96);
padding: 24rpx;
box-shadow: 0 14rpx 36rpx rgba(68, 39, 27, 0.06);
}
.vote-option.selected {
border-color: rgba(107, 31, 43, 0.42);
background: #fff8ed;
}
.vote-option-main {
display: flex;
align-items: center;
gap: 18rpx;
}
.vote-check {
flex: none;
width: 48rpx;
height: 48rpx;
border: 2rpx solid rgba(107, 31, 43, 0.28);
border-radius: 999rpx;
color: #6b1f2b;
font-size: 28rpx;
font-weight: 800;
line-height: 46rpx;
text-align: center;
}
.vote-progress {
overflow: hidden;
height: 10rpx;
margin-top: 18rpx;
border-radius: 999rpx;
background: #f0dfcd;
}
.vote-progress-fill {
height: 100%;
border-radius: 999rpx;
background: #6b1f2b;
}
.vote-voters {
margin-top: 14rpx;
color: #8a7b70;
font-size: 22rpx;
line-height: 1.45;
}
.vote-deadline-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24rpx;
margin-top: 24rpx;
padding: 24rpx 28rpx;
border-radius: 26rpx;
background: #fff0d6;
color: #7a4b2b;
}
.vote-deadline-label {
font-size: 24rpx;
font-weight: 650;
}
.vote-deadline-value {
font-size: 27rpx;
font-weight: 760;
text-align: right;
}