/* pages/rechargeCard/rechargeCard.wxss */
|
.container {
|
display: flex;
|
flex-direction: column;
|
height: 100vh;
|
width: 100%;
|
padding-left: 20rpx;
|
padding-right: 20rpx;
|
padding-top: 5rpx;
|
padding-bottom: 5rpx;
|
background-color: #fff;
|
}
|
|
.item {
|
background-color: #1890FF;
|
margin-top: 20rpx;
|
margin-left: 20rpx;
|
margin-right: 20rpx;
|
padding: 30rpx;
|
border-radius: 30rpx;
|
}
|
|
.item-card {
|
display: flex;
|
margin-left: 10rpx;
|
}
|
|
.item-card text {
|
font-size: 35rpx;
|
color: #fff;
|
}
|
|
|
.tab {
|
font-size: 16px;
|
padding: 10px;
|
cursor: pointer;
|
position: relative;
|
width: 50%;
|
/* Tabs 平分整个横向屏幕 */
|
text-align: center;
|
/* 文字居中 */
|
}
|
|
.tabs {
|
display: flex;
|
justify-content: space-around;
|
position: relative;
|
width: 100%;
|
border-bottom: 1px solid #eee;
|
/* Tabs 占满整个横向屏幕 */
|
}
|
|
.indicator {
|
width: 100%;
|
height: 3px;
|
background-color: #1890FF;
|
position: absolute;
|
bottom: 0;
|
left: 0;
|
transform: translateX(0);
|
/* 初始化位置 */
|
}
|
|
.item-bottom {
|
display: flex;
|
margin-top: 20rpx;
|
align-items: center;
|
|
/* 垂直居中 */
|
}
|
|
.item-balance-img {
|
width: 60rpx;
|
height: 50rpx;
|
}
|
|
.item-balance {
|
display: flex;
|
align-items: flex-end;
|
/* 底部对齐 */
|
}
|
|
.item-balance-text {
|
color: #fff;
|
font-size: 50rpx;
|
margin-left: 10rpx;
|
}
|
|
.item-balance-text-yuan {
|
color: white;
|
margin-left: 10rpx;
|
margin-bottom: 2rpx;
|
}
|
|
.item-gray {
|
background-color: #D3D3D3;
|
margin-top: 20rpx;
|
margin-left: 20rpx;
|
margin-right: 20rpx;
|
padding: 30rpx;
|
border-radius: 30rpx;
|
}
|
|
.item-card-state {
|
margin-left: auto;
|
/* 将按钮固定在右边 */
|
display: flex;
|
}
|
|
.list-container {
|
flex: 1;
|
overflow-y: auto;
|
z-index: 0;
|
}
|
|
.button-view {
|
display: flex;
|
width: 50%;
|
margin-left: auto; /* 将按钮组推到右边 */
|
justify-content: space-around;
|
align-items: flex-end;
|
/* 让按钮在容器中水平平分空间 */
|
}
|
|
.ruinCard {
|
flex: 1;
|
margin-left: 20rpx;
|
text-align: center;
|
/* 可选: 使文本居中 */
|
background-color: #948f8f;
|
color: white;
|
margin-left: 40rpx;
|
margin-top: 10rpx;
|
padding-bottom: 10rpx;
|
padding-top: 10rpx;
|
border-radius: 30rpx;
|
font-size: 30rpx;
|
border: none;
|
}
|
|
.recharge {
|
flex: 1;
|
text-align: center;
|
/* 可选: 使文本居中 */
|
background-color: #32CD32;
|
color: white;
|
margin-left: 30rpx;
|
padding-bottom: 10rpx;
|
padding-top: 10rpx;
|
border-radius: 30rpx;
|
font-size: 30rpx;
|
border: none;
|
|
}
|