/* 战绩列表页面样式 */ page { background: linear-gradient(135deg, #1A1A1A 0%, #252525 100%); min-height: 100vh; } .container { padding: 30rpx; padding-bottom: 120rpx; } /* 统计概览 */ .stats-overview { display: flex; justify-content: space-around; align-items: center; padding: 32rpx 24rpx; margin-bottom: 20rpx; } .overview-item { display: flex; flex-direction: column; align-items: center; gap: 8rpx; } .overview-number { font-size: 44rpx; font-weight: bold; color: #FFFFFF; } .overview-number.win { color: #50C878; } .overview-number.lose { color: #ff3b30; } .overview-label { font-size: 24rpx; color: #B0B0B0; } .divider-vertical { width: 1rpx; height: 60rpx; background: #e5e5e5; } /* 牌局列表 */ .sessions-list { display: flex; flex-direction: column; gap: 16rpx; } .session-card { padding: 24rpx; } /* 第一行:房间名 + 类型 + 时间 */ .session-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16rpx; } .session-name { font-size: 32rpx; font-weight: bold; color: #FFFFFF; flex: 1; } .session-right { display: flex; align-items: center; gap: 16rpx; } .game-type { font-size: 26rpx; color: #E0E0E0; padding: 4rpx 12rpx; background: #f0f0f0; border-radius: 8rpx; } .session-time { font-size: 24rpx; color: #B0B0B0; } /* 第二行:其他玩家 + 我的盈亏 */ .session-body { display: flex; justify-content: space-between; align-items: center; } .player-names { font-size: 28rpx; color: #E0E0E0; flex: 1; margin-right: 16rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .profit-section { display: flex; align-items: center; gap: 12rpx; } .profit-label { font-size: 24rpx; color: #B0B0B0; } .profit-value { font-size: 36rpx; font-weight: bold; color: #FFFFFF; } .profit-value.win { color: #50C878; } .profit-value.lose { color: #ff3b30; } /* 加载状态 */ .loading-more { padding: 40rpx 0; text-align: center; font-size: 28rpx; color: #B0B0B0; } .no-more { padding: 40rpx 0; text-align: center; font-size: 24rpx; color: #ccc; } /* 空状态 */ .empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120rpx 40rpx; } .empty-icon { font-size: 120rpx; margin-bottom: 24rpx; opacity: 0.5; } .empty-text { font-size: 32rpx; color: #B0B0B0; margin-bottom: 12rpx; } .empty-hint { font-size: 26rpx; color: #ccc; }