@if (accounts().length) {
@for (account of accounts(); track account.account) {
}
} @else if (loading()) {
正在加载课时账户…
}
@if (error()) {
{{ error() }}
}
账户记录
课时明细
@for (item of logs(); track item['ExpHisID'] ?? $index) {
{{ item['Detail'] || item['Remark'] || '课时变动' }}
{{ amount(item['Score']) > 0 ? '+' : '' }}{{ amount(item['Score']) | number:'1.0-2' }}
} @empty {
{{ loading() ? '正在加载明细…' : error() ? '明细加载失败' : '暂无课时明细' }}{{ loading() ? '请稍候' : error() ? '请点击上方重新加载' : '此账户的课时变动会显示在这里' }}
}
@if (pages() > 1) {
}