yingsa/miniprogram/pages/match/challenge/index.wxss
2026-01-20 08:50:50 +08:00

197 lines
2.9 KiB
Plaintext

/* 我的信息卡片 */
.my-info-card {
background: linear-gradient(135deg, var(--dark-bg), #16213E);
border-radius: 20rpx;
padding: 30rpx;
margin-bottom: 20rpx;
color: #fff;
}
.info-header {
display: flex;
align-items: center;
}
.info-header .avatar {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
margin-right: 20rpx;
}
.info-meta .name {
font-size: 32rpx;
font-weight: 600;
margin-bottom: 8rpx;
display: block;
}
.level-power {
display: flex;
align-items: center;
gap: 12rpx;
}
.level-power .power {
font-size: 24rpx;
opacity: 0.8;
}
/* 操作卡片 */
.action-card {
background: #fff;
border-radius: 20rpx;
padding: 30rpx;
margin-bottom: 20rpx;
}
.card-title {
display: flex;
align-items: center;
font-size: 32rpx;
font-weight: 600;
margin-bottom: 16rpx;
}
.card-title image {
width: 44rpx;
height: 44rpx;
margin-right: 12rpx;
}
.card-title .badge {
background: var(--primary-color);
color: #fff;
font-size: 22rpx;
padding: 4rpx 12rpx;
border-radius: 20rpx;
margin-left: 12rpx;
}
.card-desc {
font-size: 26rpx;
color: var(--text-secondary);
margin-bottom: 24rpx;
}
.action-card .btn-primary,
.action-card .btn-secondary {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.action-card button image {
width: 36rpx;
height: 36rpx;
margin-right: 12rpx;
}
/* 待确认卡片 */
.pending-card {
background: #fff;
border-radius: 20rpx;
padding: 30rpx;
margin-bottom: 20rpx;
}
.pending-list {
margin-top: 16rpx;
}
.pending-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx;
background: var(--light-bg);
border-radius: 12rpx;
margin-bottom: 12rpx;
}
.pending-item:last-child {
margin-bottom: 0;
}
.game-info .opponent {
display: block;
font-size: 28rpx;
font-weight: 500;
margin-bottom: 4rpx;
}
.game-info .score {
font-size: 32rpx;
font-weight: 600;
color: var(--primary-color);
}
.btn-confirm {
background: var(--primary-color);
color: #fff;
padding: 12rpx 24rpx;
border-radius: 20rpx;
font-size: 26rpx;
}
/* 规则卡片 */
.rules-card {
background: #fff;
border-radius: 20rpx;
padding: 30rpx;
}
.rules-content {
margin-top: 16rpx;
}
.rule-item {
display: flex;
justify-content: space-between;
padding: 12rpx 0;
border-bottom: 1rpx solid var(--border-color);
}
.rule-item:last-child {
border-bottom: none;
}
.rule-label {
color: var(--text-secondary);
}
.rule-value {
font-weight: 500;
}
.rule-value.positive {
color: #52C41A;
}
.rule-value.negative {
color: #F5222D;
}
/* 提示卡片 */
.notice-card {
display: flex;
align-items: center;
background: #FFF9E6;
border-radius: 16rpx;
padding: 24rpx;
margin-bottom: 20rpx;
}
.notice-card image {
width: 40rpx;
height: 40rpx;
margin-right: 16rpx;
}
.notice-card text {
font-size: 26rpx;
color: #B7791F;
flex: 1;
}