This repository has been archived on 2026-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
Files
MetaLab/templates/admin/html/energy/logs.html
Victor_Jay 26e557de8a feat: 实现社区激励金(公户)系统,经济闭环
- 新增 CommunityFund / FundLog 模型(公户余额单行表 + 6种流水类型)
- 新增 FundRepo 仓储(GetBalance / IncrBalance / CreateLog / ListLogs / WithTx)
- 改造 EnergyService 五个方法:Energize 税收入公户、DeductOnRename/DeductOnDeletePost 入公户、RefundOnRenameReject 从公户支出、AdminAdjust 拆分为 admin_transfer/system_operation
- 新增 ErrInsufficientFund 错误哨兵
- 管理后台新增公户余额展示 + 公户流水页面 + 域能调整资金来源选择
- 新增 energy.css / energy.js 前端交互
- 侧边栏新增公户流水入口
2026-06-01 15:10:47 +08:00

32 lines
1.1 KiB
HTML

{{template "admin/layout/base.html" .}}
<div class="page-header">
<h1>域能日志</h1>
<p class="page-desc">查看所有用户的域能流水记录</p>
</div>
<div class="filter-bar">
<label for="log-type-filter" style="font-size:0.85rem;color:#4a5568;font-weight:500;">类型筛选:</label>
<select id="log-type-filter">
<option value="">全部类型</option>
{{range $type, $name := .LogTypes}}<option value="{{$type}}">{{$name}}</option>{{end}}
</select>
</div>
<table class="log-table">
<thead>
<tr>
<th>ID</th>
<th>时间</th>
<th>用户UID</th>
<th>变动</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody id="energy-log-tbody">
</tbody>
</table>
<div id="energy-log-pagination" class="pagination"></div>
{{template "admin/layout/footer.html" .}}