feat: menric
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
<input type="text" name="browser" class="layui-input" placeholder="如 Safari" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">国家</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="country" class="layui-input" placeholder="如 CN" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">Referer</label>
|
||||
<div class="layui-input-block">
|
||||
@@ -98,6 +104,9 @@ layui.use(['table', 'form', 'layer'], function () {
|
||||
{ field: 'browser', title: '浏览器', width: 100 },
|
||||
{ field: 'browser_version', title: '浏览器版本', width: 110 },
|
||||
{ field: 'ip', title: 'IP', width: 130 },
|
||||
{ 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 },
|
||||
|
||||
Reference in New Issue
Block a user