109 lines
1.4 KiB
Plaintext
109 lines
1.4 KiB
Plaintext
.history-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.match-item {
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.match-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.match-name {
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.match-type {
|
|
font-size: 22rpx;
|
|
color: var(--text-secondary);
|
|
background: var(--light-bg);
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.match-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.result {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.result.win {
|
|
background: #E8F5E9;
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.result.lose {
|
|
background: #FFEBEE;
|
|
color: #F44336;
|
|
}
|
|
|
|
.score-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.opponent {
|
|
font-size: 28rpx;
|
|
margin-bottom: 4rpx;
|
|
}
|
|
|
|
.score {
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.power-change {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.power-change.positive {
|
|
color: #52C41A;
|
|
}
|
|
|
|
.power-change.negative {
|
|
color: #F5222D;
|
|
}
|
|
|
|
.match-footer {
|
|
border-top: 1rpx solid var(--border-color);
|
|
padding-top: 12rpx;
|
|
}
|
|
|
|
.match-time {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 100rpx 0;
|
|
}
|
|
|
|
.empty-state image {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
}
|