const BansPage = { async render() { return '
暂无封禁记录
| 玩家 | UID | 类型 | 原因 | 时长 | 状态 | 时间 | ${Auth.isOwner()?'操作 | ':''}
|---|---|---|---|---|---|---|---|
| ${isStaff ? U.esc(b.player_name) : maskName(b.player_name)} | ${isStaff ? U.esc(b.player_uid||'-') : maskUid(b.player_uid)} | ${b.type==='ban'?'封禁':b.type==='mute'?'禁言':'警告'} | ${U.esc((b.reason||'').substring(0,50))} | ${b.duration||'永久'} | ${b.status==='active'?'生效中':'已解除'} | ${U.date(b.created_at)} | ${Auth.isOwner()?``:''} |