Initial commit
This commit is contained in:
@@ -0,0 +1,178 @@
|
||||
/* pages/usercenter/balance/index.wxss */
|
||||
.t-button--default {
|
||||
color: var(--brand) !important;
|
||||
}
|
||||
|
||||
/* 余额主卡:品牌渐变视觉焦点 */
|
||||
.balance-card {
|
||||
margin: 24rpx;
|
||||
padding: 48rpx 32rpx 40rpx;
|
||||
background: var(--brand-gradient);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-brand);
|
||||
text-align: center;
|
||||
color: var(--text-inverse);
|
||||
}
|
||||
|
||||
.balance-total .total-amount {
|
||||
font-size: 64rpx;
|
||||
font-weight: 700;
|
||||
color: var(--text-inverse);
|
||||
font-family: 'DIN Alternate', -apple-system, sans-serif;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
|
||||
.balance-total .total-label {
|
||||
display: block;
|
||||
font-size: 24rpx;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.balance-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 40rpx 0 8rpx 0;
|
||||
}
|
||||
|
||||
.balance-info-item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.balance-info-item .label {
|
||||
font-size: 24rpx;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
|
||||
.value-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 48rpx;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.balance-info-item .value {
|
||||
font-size: 32rpx;
|
||||
color: var(--text-inverse);
|
||||
font-weight: 600;
|
||||
font-family: 'DIN Alternate', -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
/* 提现按钮:白底品牌橙字,与橙色渐变卡片形成清晰对比 */
|
||||
.withdraw-btn {
|
||||
margin-top: 24rpx;
|
||||
--td-button-primary-bg-color: #ffffff;
|
||||
--td-button-primary-color: var(--brand);
|
||||
--td-button-primary-border-color: #ffffff;
|
||||
--td-button-primary-active-bg-color: #fff5ef;
|
||||
--td-button-primary-active-border-color: #fff5ef;
|
||||
}
|
||||
|
||||
.withdraw-btn .t-button {
|
||||
background-color: #ffffff;
|
||||
border-color: #ffffff;
|
||||
color: var(--brand);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.withdraw-btn .t-button::after {
|
||||
border-color: #ffffff;
|
||||
}
|
||||
|
||||
.balance-detail {
|
||||
margin: 24rpx;
|
||||
background: var(--bg-card);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 0 0 24rpx 0;
|
||||
box-shadow: var(--shadow-card);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
font-size: 28rpx;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.item-time {
|
||||
font-size: 22rpx;
|
||||
color: var(--text-placeholder);
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
.item-amount {
|
||||
position: absolute;
|
||||
right: 24rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
font-family: 'DIN Alternate', -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
.item-amount.plus {
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
.item-amount.minus {
|
||||
color: var(--error);
|
||||
}
|
||||
|
||||
/* tab bar 样式 */
|
||||
.tab-bar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
background: var(--bg-grey);
|
||||
border-radius: var(--radius-md);
|
||||
margin: 24rpx 24rpx 0 24rpx;
|
||||
padding: 8rpx 0;
|
||||
}
|
||||
|
||||
.tab-item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
color: var(--text-tertiary);
|
||||
padding: 16rpx 0;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.tab-item.active {
|
||||
color: var(--brand);
|
||||
background: var(--bg-card);
|
||||
font-weight: 600;
|
||||
box-shadow: 0 2rpx 8rpx rgba(255, 95, 21, 0.1);
|
||||
}
|
||||
|
||||
/* t-dialog 取消按钮 */
|
||||
.t-dialog__footer .t-button--outline {
|
||||
color: var(--text-secondary) !important;
|
||||
border-color: var(--border-level-2) !important;
|
||||
background: var(--bg-card) !important;
|
||||
}
|
||||
|
||||
/* t-cell分割线 */
|
||||
t-cell,
|
||||
.t-cell {
|
||||
border-bottom: 1px solid var(--border-level-1);
|
||||
}
|
||||
|
||||
.t-cell.no-border {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
.empty-container {
|
||||
min-height: 50vh;
|
||||
padding-top: 30%;
|
||||
}
|
||||
|
||||
.safe-bottom {
|
||||
min-height: 100rpx;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user