提现规则优化

This commit is contained in:
Dev
2026-09-23 14:30:46 +08:00
parent 5db3a4137a
commit 5cc504bb44
6 changed files with 214 additions and 1 deletions
@@ -83,6 +83,158 @@
border-color: #ffffff;
}
/* ================= 提现规则(可折叠) ================= */
.rules-card {
margin: 0 24rpx 24rpx;
background: var(--bg-card);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-card);
overflow: hidden;
}
.rules-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28rpx 32rpx;
}
.rules-header--hover {
background: var(--bg-grey);
}
.rules-header-left {
display: flex;
align-items: center;
}
.rules-header-title {
margin-left: 12rpx;
font-size: 30rpx;
font-weight: 600;
color: var(--text-primary);
}
.rules-header-right {
display: flex;
align-items: center;
}
.rules-toggle-text {
font-size: 24rpx;
color: var(--brand);
margin-right: 4rpx;
}
.rules-arrow {
transition: transform 0.28s ease;
transform: rotate(0deg);
}
.rules-arrow.is-expand {
transform: rotate(180deg);
}
/* 折叠态:核心要点 */
.rules-brief {
display: flex;
flex-wrap: wrap;
max-height: 220rpx;
padding: 0 24rpx 28rpx;
overflow: hidden;
opacity: 1;
transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}
.rules-brief.is-hide {
max-height: 0;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}
.brief-item {
display: flex;
align-items: center;
height: 52rpx;
margin: 8rpx 8rpx 0 0;
padding: 0 20rpx;
background: var(--brand-light);
border-radius: var(--radius-round);
}
.brief-icon {
margin-right: 8rpx;
}
.brief-text {
font-size: 24rpx;
color: var(--brand);
line-height: 52rpx;
}
/* 展开态:完整规则(max-height 过渡动画) */
.rules-body {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.rules-body.is-expand {
max-height: 1400rpx;
}
.rules-body-inner {
padding: 4rpx 32rpx 28rpx;
border-top: 1px solid var(--border-level-1);
}
.rule-item {
display: flex;
align-items: flex-start;
padding: 20rpx 0 0;
}
.rule-index {
flex: 0 0 36rpx;
height: 36rpx;
margin-top: 6rpx;
border-radius: var(--radius-round);
background: var(--brand-light);
color: var(--brand);
font-size: 22rpx;
font-weight: 600;
line-height: 36rpx;
text-align: center;
}
.rule-content {
flex: 1;
margin-left: 16rpx;
}
.rule-title {
font-size: 26rpx;
font-weight: 600;
color: var(--text-primary);
line-height: 40rpx;
}
.rule-desc {
margin-top: 2rpx;
font-size: 24rpx;
color: var(--text-tertiary);
line-height: 38rpx;
}
/* 提现弹窗内提示 */
.dialog-tips {
padding: 24rpx 8rpx 8rpx;
font-size: 22rpx;
color: var(--text-placeholder);
line-height: 36rpx;
}
.balance-detail {
margin: 24rpx;
background: var(--bg-card);