Files
xingque/pages/withdraw/components/mode2/mode2.wxss

326 lines
4.7 KiB
Plaintext

page {
background: #f5f5f5;
min-height: 100vh;
}
.ref-page {
min-height: 100vh;
padding: 24rpx 24rpx 48rpx;
box-sizing: border-box;
}
/* 提现方式 Tab */
.method-card {
background: #fff;
border-radius: 16rpx;
padding: 0 32rpx;
margin-bottom: 20rpx;
}
.method-tab {
display: inline-flex;
flex-direction: column;
align-items: center;
padding: 28rpx 16rpx 20rpx;
position: relative;
}
.method-tab-icon {
width: 48rpx;
height: 48rpx;
margin-bottom: 8rpx;
}
.method-tab-text {
font-size: 28rpx;
color: #333;
font-weight: 500;
}
.method-tab-line {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80rpx;
height: 6rpx;
background: #FFD54F;
border-radius: 3rpx;
}
/* 账户选择 */
.account-card {
background: #fff;
border-radius: 16rpx;
padding: 20rpx 16rpx 16rpx;
margin-bottom: 20rpx;
}
.account-scroll {
white-space: nowrap;
display: flex;
flex-direction: row;
}
.account-chip {
display: inline-flex;
flex-direction: column;
align-items: center;
padding: 16rpx 24rpx;
margin-right: 16rpx;
border-radius: 12rpx;
background: #f8f8f8;
border: 2rpx solid transparent;
min-width: 160rpx;
}
.account-chip--active {
background: #fffbeb;
border-color: #FFD54F;
}
.account-chip--disabled {
opacity: 0.45;
}
.chip-label {
font-size: 24rpx;
color: #666;
margin-bottom: 4rpx;
}
.chip-amount {
font-size: 28rpx;
color: #333;
font-weight: 600;
}
.account-warn {
display: block;
margin-top: 12rpx;
font-size: 24rpx;
color: #ff8c00;
padding: 0 8rpx;
}
.account-ok {
display: block;
margin-top: 12rpx;
font-size: 24rpx;
color: #888;
padding: 0 8rpx;
}
/* 金额卡片 */
.amount-card {
background: #fff;
border-radius: 16rpx;
padding: 32rpx 32rpx 28rpx;
margin-bottom: 32rpx;
}
.avail-row {
display: flex;
align-items: baseline;
margin-bottom: 32rpx;
}
.avail-label {
font-size: 28rpx;
color: #333;
}
.avail-symbol {
font-size: 28rpx;
color: #ff8c00;
margin-left: 4rpx;
}
.avail-amount {
font-size: 32rpx;
color: #ff8c00;
font-weight: 700;
}
.input-row {
display: flex;
align-items: center;
padding-bottom: 8rpx;
}
.input-symbol {
font-size: 64rpx;
font-weight: 700;
color: #333;
line-height: 1;
margin-right: 8rpx;
}
.amount-input {
flex: 1;
font-size: 56rpx;
font-weight: 600;
color: #333;
height: 80rpx;
min-height: 80rpx;
}
.amount-placeholder {
color: #ccc;
font-size: 40rpx;
font-weight: 400;
}
.withdraw-all {
font-size: 28rpx;
color: #ff8c00;
padding: 8rpx 0 8rpx 16rpx;
flex-shrink: 0;
}
.input-divider {
height: 1rpx;
background: #eee;
margin: 16rpx 0 20rpx;
}
.fee-tip {
font-size: 26rpx;
color: #666;
}
.fee-highlight {
color: #ff8c00;
font-weight: 600;
}
/* 确认按钮 */
.submit-wrap {
padding: 0 8rpx;
margin-bottom: 32rpx;
}
.confirm-btn {
width: 100%;
height: 96rpx;
background: linear-gradient(90deg, #FFD54F 0%, #FFB300 100%);
border-radius: 48rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 34rpx;
font-weight: 700;
color: #333;
box-shadow: 0 8rpx 20rpx rgba(255, 179, 0, 0.35);
}
.confirm-btn:active {
opacity: 0.92;
transform: scale(0.99);
}
.confirm-btn--disabled {
background: linear-gradient(90deg, #e0e0e0, #bdbdbd);
box-shadow: none;
color: #999;
}
/* 须知 */
.notice-box {
background: #ebebeb;
border-radius: 16rpx;
padding: 28rpx 28rpx 32rpx;
}
.notice-title {
font-size: 28rpx;
color: #333;
font-weight: 600;
margin-bottom: 20rpx;
}
.notice-item {
font-size: 26rpx;
color: #555;
line-height: 1.7;
margin-bottom: 8rpx;
}
/* 确认弹窗 */
.modal-mask {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1001;
}
.modal-dialog {
width: 620rpx;
background: #fff;
border-radius: 20rpx;
overflow: hidden;
}
.modal-header {
padding: 32rpx;
font-size: 34rpx;
font-weight: 700;
text-align: center;
border-bottom: 1rpx solid #f0f0f0;
}
.modal-body {
padding: 32rpx;
font-size: 28rpx;
color: #333;
}
.auto-tip {
font-size: 24rpx;
color: #ff8c00;
margin-bottom: 20rpx;
line-height: 1.5;
}
.info-row {
display: flex;
justify-content: space-between;
margin-bottom: 16rpx;
font-size: 28rpx;
}
.fee-row {
display: flex;
justify-content: space-between;
background: #fff8e1;
padding: 20rpx;
border-radius: 12rpx;
margin-top: 16rpx;
color: #333;
}
.modal-footer {
display: flex;
border-top: 1rpx solid #f0f0f0;
}
.modal-btn {
flex: 1;
text-align: center;
padding: 28rpx;
font-size: 30rpx;
}
.modal-btn.cancel {
color: #999;
border-right: 1rpx solid #f0f0f0;
}
.modal-btn.confirm {
color: #ff8c00;
font-weight: 600;
}