fix: 修复评分列表总分显示问题

- 添加formatScore方法,将-1显示为'--'
- score-detail.vue: 提交评分时使用String()转换ID

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
DevOps
2025-12-19 18:29:54 +08:00
parent 7620d9bf96
commit bcf040bb15
2 changed files with 236 additions and 306 deletions

View File

@@ -257,7 +257,7 @@ export default {
// 收集选中的扣分项ID转为数字类型后端期望 List<Long> // 收集选中的扣分项ID转为数字类型后端期望 List<Long>
const selectedDeductions = this.deductions const selectedDeductions = this.deductions
.filter(item => item.checked) .filter(item => item.checked)
.map(item => Number(item.deductionId)) .map(item => String(item.deductionId))
try { try {
uni.showLoading({ uni.showLoading({
@@ -271,13 +271,13 @@ export default {
const app = getApp() const app = getApp()
const globalData = app.globalData || {} const globalData = app.globalData || {}
const response = await dataAdapter.getData('submitScore', { const response = await dataAdapter.getData('submitScore', {
athleteId: Number(this.player.athleteId), athleteId: String(this.player.athleteId),
judgeId: Number(this.judgeId), judgeId: String(this.judgeId),
score: this.currentScore, score: this.currentScore,
projectId: Number(this.projectId), projectId: String(this.projectId),
competitionId: globalData.matchId ? Number(globalData.matchId) : null, competitionId: globalData.matchId ? String(globalData.matchId) : null,
venueId: globalData.venueId ? Number(globalData.venueId) : null, venueId: globalData.venueId ? String(globalData.venueId) : null,
scheduleId: globalData.scheduleId ? Number(globalData.scheduleId) : null, scheduleId: globalData.scheduleId ? String(globalData.scheduleId) : null,
deductions: selectedDeductions, deductions: selectedDeductions,
note: this.note || '' note: this.note || ''
}) })

View File

@@ -4,26 +4,31 @@
<view class="nav-bar"> <view class="nav-bar">
<view class="nav-title">评分系统</view> <view class="nav-title">评分系统</view>
<view class="nav-right"> <view class="nav-right">
<view class="icon-menu">···</view> <view class="nav-dots">···</view>
<view class="icon-close"></view> <view class="nav-circle"></view>
</view> </view>
</view> </view>
<!-- 比赛信息 --> <!-- 比赛信息 -->
<view class="match-info"> <view class="match-info">
<view class="match-title">{{ matchInfo.name }}</view> <view class="match-title">{{ matchInfo.name }}</view>
<view class="match-time">比赛时间{{ matchInfo.time }}</view> <view class="match-time">比赛时间{{ formatDateTime(matchInfo.time) }}</view>
</view> </view>
<!-- 场地和项目选择 --> <!-- 场地和项目卡片 -->
<view class="venue-section"> <view class="venue-card">
<!-- 场地标题行 -->
<view class="venue-header"> <view class="venue-header">
<view class="venue-tab active">{{ venueInfo.name }}</view> <view class="venue-name">{{ venueInfo.name }}</view>
<view class="refresh-link" @click="handleRefresh">刷新</view>
</view> </view>
<view class="project-section"> <!-- 项目筛选 -->
<view class="project-row">
<scroll-view class="project-scroll" scroll-x="true" :show-scrollbar="false">
<view class="project-chips">
<view <view
class="project-btn" class="project-chip"
:class="{ active: index === currentProjectIndex }" :class="{ active: index === currentProjectIndex }"
v-for="(project, index) in projects" v-for="(project, index) in projects"
:key="project.projectId" :key="project.projectId"
@@ -32,59 +37,69 @@
{{ project.projectName }} {{ project.projectName }}
</view> </view>
</view> </view>
</scroll-view>
</view>
</view> </view>
<!-- 评分统计 --> <!-- 评分统计 -->
<view class="score-stats"> <view class="score-stats">
<text class="stats-text">已评分</text> <text class="stats-label">已评分</text>
<text class="stats-number">{{ scoredCount }}/{{ totalCount }}</text> <text class="stats-value">{{ scoredCount }}/{{ totalCount }}</text>
</view> </view>
<!-- 选手列表 --> <!-- 选手列表 -->
<view class="player-list"> <view class="player-list">
<!-- 遍历选手列表 --> <!-- 选手卡片 -->
<view <view
class="player-card" class="player-card"
v-for="player in players" v-for="player in players"
:key="player.athleteId" :key="player.athleteId"
> >
<view class="player-header"> <!-- 已评分状态 -->
<template v-if="player.scored">
<view class="card-header">
<view class="player-name">{{ player.name }}</view> <view class="player-name">{{ player.name }}</view>
<view class="score-tags">
<!-- 已评分显示我的评分和总分 --> <view class="score-tag">
<view class="player-scores" v-if="player.scored"> <text class="tag-label">我的评分</text>
<text class="my-score">我的评分{{ player.myScore }}</text> <text class="tag-value">{{ player.myScore }}</text>
<text class="total-score">总分{{ player.totalScore }}</text>
</view> </view>
<view class="score-tag">
<!-- 未评分显示评分按钮 --> <text class="tag-label">总分</text>
<button <text class="tag-value">{{ formatScore(player.totalScore) }}</text>
class="score-btn"
v-else
@click="goToScoreDetail(player)"
>
评分
</button>
</view> </view>
</view>
</view>
</template>
<view class="player-info"> <!-- 未评分状态 -->
<view class="info-item">身份证{{ player.idCard }}</view> <template v-else>
<view class="info-item">队伍{{ player.team }}</view> <view class="card-header">
<view class="info-item">编号{{ player.number }}</view> <view class="player-name">{{ player.name }}</view>
<view class="action-row">
<button class="score-btn" @click="goToScoreDetail(player)">评分</button>
</view>
</view>
</template>
<!-- 选手详细信息 -->
<view class="player-details">
<view class="detail-row">
<text class="detail-text">身份证{{ player.idCard }}</text>
</view>
<view class="detail-row">
<text class="detail-text">队伍{{ player.team }}</text>
</view>
<view class="detail-row">
<text class="detail-text">编号{{ player.number }}</text>
</view>
</view> </view>
</view> </view>
<!-- 加载状态 --> <!-- 加载状态 -->
<view class="loading-status" v-if="players.length > 0"> <view class="loading-status" v-if="players.length > 0">
<view v-if="isLoading" class="loading-more"> <view v-if="isLoading" class="loading-text">加载中...</view>
<text>加载中...</text> <view v-else-if="!hasMore" class="no-more-text"> 没有更多了 </view>
</view>
<view v-else-if="!hasMore" class="no-more">
<text> 没有更多了 </text>
</view>
<view v-else class="load-more-tip">
<text>上拉加载更多</text>
</view>
</view> </view>
<!-- 空状态 --> <!-- 空状态 -->
@@ -115,236 +130,209 @@ export default {
name: '' name: ''
}, },
judgeId: '', judgeId: '',
projects: [], // 所有分配的项目列表 projects: [],
currentProjectIndex: 0, // 当前选中的项目索引 currentProjectIndex: 0,
players: [], players: [],
scoredCount: 0, scoredCount: 0,
totalCount: 0, totalCount: 0,
// 分页相关
pagination: { pagination: {
current: 1, // 当前页码 current: 1,
size: 10, // 每页条数 size: 10,
total: 0 // 总条数 total: 0
}, },
isLoading: false, // 是否正在加载 isLoading: false,
hasMore: true // 是否还有更多数据 hasMore: true,
isFirstLoad: true
} }
}, },
async onLoad() { async onLoad() {
// 获取全局数据
const app = getApp() const app = getApp()
const globalData = app.globalData || {} const globalData = app.globalData || {}
// 检查登录状态
if (!globalData.judgeId || !globalData.token) { if (!globalData.judgeId || !globalData.token) {
console.warn('用户未登录,跳转到登录页')
uni.showToast({ uni.showToast({
title: '请先登录', title: '请先登录',
icon: 'none', icon: 'none',
duration: 1500 duration: 1500
}) })
setTimeout(() => { setTimeout(() => {
uni.reLaunch({ uni.reLaunch({ url: '/pages/login/login' })
url: '/pages/login/login'
})
}, 1500) }, 1500)
return return
} }
// 加载比赛信息
this.matchInfo = { this.matchInfo = {
name: globalData.matchName || '比赛名称', name: globalData.matchName || '比赛名称',
time: globalData.matchTime || '比赛时间' time: globalData.matchTime || ''
} }
// 加载场地信息
this.venueInfo = { this.venueInfo = {
id: globalData.venueId, id: globalData.venueId,
name: globalData.venueName || '场地' name: globalData.venueName || '第一场地'
} }
// 加载项目列表
this.projects = globalData.projects || [] this.projects = globalData.projects || []
this.currentProjectIndex = globalData.currentProjectIndex || 0 this.currentProjectIndex = globalData.currentProjectIndex || 0
// 设置当前项目信息
this.updateCurrentProject() this.updateCurrentProject()
this.judgeId = globalData.judgeId this.judgeId = globalData.judgeId
// 调试信息
if (config.debug) { if (config.debug) {
console.log('评分列表页加载:', { console.log('评分列表页加载:', {
judgeId: this.judgeId, judgeId: this.judgeId,
venueId: this.venueInfo.id, venueId: this.venueInfo.id,
projectId: this.projectInfo.id, projectId: this.projectInfo.id
projectsCount: this.projects.length
}) })
} }
// 加载选手列表(第一页)
await this.loadPlayers(true) await this.loadPlayers(true)
this.isFirstLoad = false
}, },
// 下拉刷新 async onShow() {
async onPullDownRefresh() { // 从评分详情页返回时刷新数据
if (!this.isFirstLoad) {
if (config.debug) { if (config.debug) {
console.log('下拉刷新') console.log('页面显示,刷新数据')
} }
await this.loadPlayers(true) await this.loadPlayers(true)
}
},
async onPullDownRefresh() {
await this.loadPlayers(true)
uni.stopPullDownRefresh() uni.stopPullDownRefresh()
}, },
// 上拉加载更多
async onReachBottom() { async onReachBottom() {
if (config.debug) {
console.log('上拉加载更多, hasMore:', this.hasMore, 'isLoading:', this.isLoading)
}
if (this.hasMore && !this.isLoading) { if (this.hasMore && !this.isLoading) {
await this.loadMore() await this.loadMore()
} }
}, },
methods: { methods: {
/** formatDateTime(dateTimeStr) {
* 加载选手列表 if (!dateTimeStr) return ''
* @param {Boolean} refresh - 是否刷新(重置分页) try {
*/ const date = new Date(dateTimeStr)
async loadPlayers(refresh = false) { if (isNaN(date.getTime())) return dateTimeStr
// 如果正在加载,直接返回 const year = date.getFullYear()
if (this.isLoading) return const month = date.getMonth() + 1
const day = date.getDate()
const hours = date.getHours()
const minutes = date.getMinutes()
const paddedMinutes = minutes < 10 ? '0' + minutes : minutes
return year + '年' + month + '月' + day + '日 ' + hours + ':' + paddedMinutes
} catch (error) {
return dateTimeStr
}
},
formatScore(score) {
// 处理 null、undefined、-1 等无效值
if (score === null || score === undefined || score === -1 || score === '-1') {
return '--'
}
// 如果是字符串类型的数字,直接返回
if (typeof score === 'string' && !isNaN(parseFloat(score))) {
return score
}
// 如果是数字类型保留3位小数
if (typeof score === 'number') {
return score.toFixed(3)
}
return score
},
async handleRefresh() {
if (this.isLoading) return
uni.showToast({ title: '刷新中...', icon: 'loading', duration: 1000 })
await this.loadPlayers(true)
uni.showToast({ title: '刷新成功', icon: 'success', duration: 1000 })
},
async loadPlayers(refresh = false) {
if (this.isLoading) return
try { try {
this.isLoading = true this.isLoading = true
// 刷新时重置分页
if (refresh) { if (refresh) {
this.pagination.current = 1 this.pagination.current = 1
this.hasMore = true this.hasMore = true
} }
if (refresh && this.isFirstLoad) {
// 首次加载显示loading uni.showLoading({ title: '加载中...', mask: true })
if (refresh) {
uni.showLoading({
title: '加载中...',
mask: true
})
} }
// 构建请求参数
const app = getApp() const app = getApp()
const globalData = app.globalData || {} const globalData = app.globalData || {}
const params = { const params = {
// 比赛编码
matchCode: globalData.matchCode, matchCode: globalData.matchCode,
// 具体的ID
judgeId: this.judgeId, judgeId: this.judgeId,
venueId: this.venueInfo.id, venueId: this.venueInfo.id,
projectId: this.projectInfo.id, projectId: this.projectInfo.id,
// 分页参数
current: this.pagination.current, current: this.pagination.current,
size: this.pagination.size size: this.pagination.size
} }
// 移除无效参数
Object.keys(params).forEach(key => { Object.keys(params).forEach(key => {
if (params[key] === undefined || params[key] === null || params[key] === '') { if (params[key] === undefined || params[key] === null || params[key] === '') {
delete params[key] delete params[key]
} }
}) })
// 调试信息
if (config.debug) { if (config.debug) {
console.log('请求运动员列表参数:', params) console.log('请求选手列表参数:', params)
} }
const response = await dataAdapter.getData('getMyAthletes', params) const response = await dataAdapter.getData('getMyAthletes', params)
if (refresh) { if (config.debug) {
uni.hideLoading() console.log('选手列表响应:', response)
} }
// 获取返回数据 if (refresh && this.isFirstLoad) {
uni.hideLoading()
}
const responseData = response.data || {} const responseData = response.data || {}
const records = responseData.records || response.data || [] const records = responseData.records || response.data || []
const total = responseData.total || records.length const total = responseData.total || records.length
// 更新分页信息
this.pagination.total = total this.pagination.total = total
this.totalCount = total this.totalCount = total
// 刷新时替换数据,否则追加数据
if (refresh) { if (refresh) {
this.players = records this.players = records
} else { } else {
this.players = [...this.players, ...records] this.players = [...this.players, ...records]
} }
// 计算评分统计
this.scoredCount = this.players.filter(p => p.scored).length this.scoredCount = this.players.filter(p => p.scored).length
this.hasMore = this.players.length < total
// 判断是否还有更多数据
const loadedCount = this.players.length
this.hasMore = loadedCount < total
// 调试信息
if (config.debug) { if (config.debug) {
console.log('选手列表加载成功:', { console.log('选手列表处理结果:', {
page: this.pagination.current,
size: this.pagination.size,
total: total, total: total,
loaded: loadedCount, loaded: this.players.length,
hasMore: this.hasMore, scored: this.scoredCount,
scored: this.scoredCount players: this.players
}) })
} }
} catch (error) { } catch (error) {
uni.hideLoading() uni.hideLoading()
console.error('加载选手列表失败:', error) console.error('加载选手列表失败:', error)
uni.showToast({ title: error.message || '加载失败', icon: 'none' })
uni.showToast({
title: error.message || '加载失败',
icon: 'none'
})
} finally { } finally {
this.isLoading = false this.isLoading = false
} }
}, },
/**
* 加载更多
*/
async loadMore() { async loadMore() {
if (!this.hasMore || this.isLoading) return if (!this.hasMore || this.isLoading) return
// 页码+1
this.pagination.current++ this.pagination.current++
// 调试信息
if (config.debug) {
console.log('加载更多, 页码:', this.pagination.current)
}
// 加载下一页
await this.loadPlayers(false) await this.loadPlayers(false)
}, },
goToScoreDetail(player) { goToScoreDetail(player) {
// 保存当前选手信息到全局数据
const app = getApp() const app = getApp()
app.globalData.currentAthlete = player app.globalData.currentAthlete = player
uni.navigateTo({ url: '/pages/score-detail/score-detail' })
uni.navigateTo({
url: '/pages/score-detail/score-detail'
})
}, },
/**
* 更新当前项目信息
*/
updateCurrentProject() { updateCurrentProject() {
const currentProject = this.projects[this.currentProjectIndex] || {} const currentProject = this.projects[this.currentProjectIndex] || {}
this.projectInfo = { this.projectInfo = {
@@ -353,36 +341,12 @@ export default {
} }
}, },
/**
* 切换项目
* @param {Number} index - 项目索引
*/
async switchProject(index) { async switchProject(index) {
// 如果点击的是当前项目,不做处理 if (index === this.currentProjectIndex) return
if (index === this.currentProjectIndex) {
return
}
// 更新当前项目索引
this.currentProjectIndex = index this.currentProjectIndex = index
// 更新全局数据中的项目索引
const app = getApp() const app = getApp()
app.globalData.currentProjectIndex = index app.globalData.currentProjectIndex = index
// 更新当前项目信息
this.updateCurrentProject() this.updateCurrentProject()
// 调试信息
if (config.debug) {
console.log('切换项目:', {
index: index,
projectId: this.projectInfo.id,
projectName: this.projectInfo.name
})
}
// 重新加载选手列表(刷新)
await this.loadPlayers(true) await this.loadPlayers(true)
} }
} }
@@ -396,7 +360,7 @@ export default {
padding-bottom: 40rpx; padding-bottom: 40rpx;
} }
/* 导航栏 */ /* ==================== 导航栏 ==================== */
.nav-bar { .nav-bar {
height: 90rpx; height: 90rpx;
background: linear-gradient(135deg, #1B7C5E 0%, #2A9D7E 100%); background: linear-gradient(135deg, #1B7C5E 0%, #2A9D7E 100%);
@@ -411,7 +375,6 @@ export default {
font-size: 36rpx; font-size: 36rpx;
font-weight: 600; font-weight: 600;
color: #FFFFFF; color: #FFFFFF;
letter-spacing: 2rpx;
} }
.nav-right { .nav-right {
@@ -419,24 +382,15 @@ export default {
right: 30rpx; right: 30rpx;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 30rpx; gap: 20rpx;
} }
.icon-menu, .nav-dots, .nav-circle {
.icon-close {
width: 60rpx;
height: 60rpx;
background-color: rgba(255, 255, 255, 0.25);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx; font-size: 32rpx;
color: #FFFFFF; color: #FFFFFF;
font-weight: bold;
} }
/* 比赛信息 */ /* ==================== 比赛信息 ==================== */
.match-info { .match-info {
padding: 30rpx; padding: 30rpx;
background-color: #F5F5F5; background-color: #F5F5F5;
@@ -445,121 +399,94 @@ export default {
.match-title { .match-title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 600; font-weight: 600;
color: #333333; color: #1B7C5E;
line-height: 1.6; line-height: 1.5;
margin-bottom: 10rpx; margin-bottom: 8rpx;
}
.tip-text {
font-size: 24rpx;
color: #FF4D6A;
margin-bottom: 10rpx;
} }
.match-time { .match-time {
font-size: 28rpx; font-size: 28rpx;
color: #666666; color: #333333;
} }
/* 场地和项目区域 */ /* ==================== 场地卡片 ==================== */
.venue-section { .venue-card {
margin: 0 30rpx 20rpx;
background-color: #FFFFFF; background-color: #FFFFFF;
margin: 20rpx 30rpx;
border-radius: 16rpx; border-radius: 16rpx;
padding: 30rpx; padding: 30rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
} }
.venue-header { .venue-header {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-bottom: 30rpx; padding-bottom: 24rpx;
padding-bottom: 20rpx;
border-bottom: 4rpx solid #1B7C5E; border-bottom: 4rpx solid #1B7C5E;
margin-bottom: 24rpx;
} }
.venue-tab { .venue-name {
font-size: 32rpx; font-size: 32rpx;
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
position: relative;
} }
.venue-tab.active::after { .refresh-link {
content: ''; font-size: 26rpx;
position: absolute; color: #4A90D9;
bottom: -24rpx;
left: 0;
right: 0;
height: 4rpx;
background-color: #1B7C5E;
} }
.refresh-hint { .project-row {
font-size: 24rpx;
color: #FF4D6A;
}
.project-section {
display: flex; display: flex;
align-items: center; flex-direction: column;
flex-wrap: wrap; }
.project-scroll {
white-space: nowrap;
}
.project-chips {
display: inline-flex;
gap: 20rpx; gap: 20rpx;
} }
.project-btn { .project-chip {
padding: 20rpx 40rpx; display: inline-block;
background-color: #FFFFFF; padding: 16rpx 32rpx;
border: 2rpx solid #1B7C5E; border: 2rpx solid #1B7C5E;
border-radius: 8rpx; border-radius: 8rpx;
font-size: 28rpx; font-size: 28rpx;
color: #1B7C5E; color: #1B7C5E;
font-weight: 500; background-color: #FFFFFF;
cursor: pointer;
transition: all 0.3s ease;
} }
.project-btn:active { .project-chip.active {
opacity: 0.7;
}
.project-btn.active {
background-color: #1B7C5E; background-color: #1B7C5E;
color: #FFFFFF; color: #FFFFFF;
} }
.project-tip { /* ==================== 评分统计 ==================== */
font-size: 22rpx;
color: #FF4D6A;
flex: 1;
margin-left: 20rpx;
line-height: 1.5;
}
/* 评分统计 */
.score-stats { .score-stats {
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
display: flex;
align-items: center;
}
.stats-label {
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
} }
.stats-text { .stats-value {
color: #666666; font-size: 32rpx;
}
.stats-number {
color: #1B7C5E; color: #1B7C5E;
font-weight: 600; font-weight: 600;
margin-left: 8rpx;
} }
.warning-tip { /* ==================== 选手卡片 ==================== */
padding: 0 30rpx 20rpx;
font-size: 24rpx;
color: #FF4D6A;
}
/* 选手列表 */
.player-list { .player-list {
padding: 0 30rpx; padding: 0 30rpx;
} }
@@ -567,14 +494,14 @@ export default {
.player-card { .player-card {
background-color: #FFFFFF; background-color: #FFFFFF;
border-radius: 16rpx; border-radius: 16rpx;
padding: 30rpx; padding: 24rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
} }
.player-header { .card-header {
display: flex; display: flex;
align-items: center; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
@@ -585,34 +512,36 @@ export default {
color: #333333; color: #333333;
} }
.player-scores { /* ==================== 已评分标签 ==================== */
.score-tags {
display: flex; display: flex;
flex-direction: column; gap: 16rpx;
align-items: flex-end;
gap: 8rpx;
} }
.my-score { .score-tag {
font-size: 26rpx; display: flex;
align-items: center;
padding: 12rpx 20rpx;
background-color: #F5F5F5;
border-radius: 8rpx;
border: 2rpx solid #E5E5E5;
}
.tag-label {
font-size: 24rpx;
color: #666666; color: #666666;
} }
.total-score { .tag-value {
font-size: 26rpx; font-size: 28rpx;
color: #333333; color: #333333;
font-weight: 600; font-weight: 500;
} }
.action-area { /* ==================== 未评分操作 ==================== */
.action-row {
display: flex; display: flex;
flex-direction: column; align-items: center;
align-items: flex-end;
gap: 8rpx;
}
.chief-hint {
font-size: 24rpx;
color: #FF4D6A;
} }
.score-btn { .score-btn {
@@ -622,42 +551,43 @@ export default {
font-size: 28rpx; font-size: 28rpx;
color: #FFFFFF; color: #FFFFFF;
font-weight: 500; font-weight: 500;
border: none;
line-height: 1.4;
} }
.score-btn:active { /* ==================== 选手详情 ==================== */
opacity: 0.9; .player-details {
}
.player-info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 12rpx; gap: 8rpx;
} }
.info-item { .detail-row {
line-height: 1.6;
}
.detail-text {
font-size: 26rpx; font-size: 26rpx;
color: #666666; color: #666666;
line-height: 1.5;
} }
/* 加载状态 */ /* ==================== 加载状态 ==================== */
.loading-status { .loading-status {
padding: 30rpx 0; padding: 30rpx 0;
text-align: center; text-align: center;
} }
.loading-more, .loading-text {
.no-more, font-size: 26rpx;
.load-more-tip { color: #1B7C5E;
}
.no-more-text {
font-size: 26rpx; font-size: 26rpx;
color: #999999; color: #999999;
} }
.loading-more { /* ==================== 空状态 ==================== */
color: #1B7C5E;
}
/* 空状态 */
.empty-state { .empty-state {
padding: 100rpx 0; padding: 100rpx 0;
text-align: center; text-align: center;