116 lines
2.0 KiB
Plaintext
116 lines
2.0 KiB
Plaintext
/* 绑定用户列表样式 - 优化版 */
|
|
|
|
/* 列表项容器 */
|
|
.binding-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 24rpx 32rpx;
|
|
border-bottom: 2rpx solid rgba(255,255,255,0.05);
|
|
gap: 24rpx; /* 添加固定间距 */
|
|
}
|
|
|
|
.binding-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* 头像 */
|
|
.user-avatar {
|
|
width: 88rpx;
|
|
height: 88rpx;
|
|
border-radius: 50%;
|
|
background: rgba(0,206,209,0.2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #00CED1;
|
|
flex-shrink: 0; /* 不收缩 */
|
|
}
|
|
|
|
.user-avatar.avatar-converted {
|
|
background: rgba(76,175,80,0.2);
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.user-avatar.avatar-expired {
|
|
background: rgba(158,158,158,0.2);
|
|
color: #9E9E9E;
|
|
}
|
|
|
|
/* 用户信息 - 占据剩余空间 */
|
|
.user-info {
|
|
flex: 1;
|
|
min-width: 0; /* 允许收缩 */
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4rpx;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.user-time {
|
|
font-size: 22rpx;
|
|
color: rgba(255,255,255,0.5);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 右侧状态信息 - 固定宽度 */
|
|
.user-status {
|
|
flex-shrink: 0;
|
|
text-align: right;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 4rpx;
|
|
min-width: 100rpx; /* 确保足够宽度显示内容 */
|
|
}
|
|
|
|
/* 状态标签 */
|
|
.status-tag {
|
|
font-size: 24rpx;
|
|
font-weight: 600;
|
|
padding: 6rpx 16rpx;
|
|
border-radius: 16rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-tag.tag-green {
|
|
background: rgba(76,175,80,0.2);
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.status-tag.tag-orange {
|
|
background: rgba(255,165,0,0.2);
|
|
color: #FFA500;
|
|
}
|
|
|
|
.status-tag.tag-red {
|
|
background: rgba(244,67,54,0.2);
|
|
color: #F44336;
|
|
}
|
|
|
|
/* 金额显示 */
|
|
.status-amount {
|
|
font-size: 28rpx;
|
|
color: #4CAF50;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 订单数显示 */
|
|
.status-order {
|
|
font-size: 20rpx;
|
|
color: rgba(255,255,255,0.5);
|
|
white-space: nowrap;
|
|
}
|