[], 'total' => 0, 'page' => 1, 'per_page' => 15]; $type_labels = ['recharge' => '充值', 'consume' => '消费', 'refund' => '退款', 'adjust' => '调整']; ob_start(); ?>
暂无交易记录
| 时间 | 类型 | 金额 | 备注 | 订单号 |
|---|---|---|---|---|
| = htmlspecialchars($log['created_at']) ?> | = htmlspecialchars($type_labels[$log['type']] ?? $log['type']) ?> | = (int)$log['amount'] >= 0 ? '+' : '' ?>¥= htmlspecialchars(balance_format(abs((int)$log['amount']))) ?> | = htmlspecialchars($log['remark'] ?: '-') ?> | = $log['order_no'] ? htmlspecialchars($log['order_no']) : '-' ?> |