feat: scan

This commit is contained in:
hashbro
2026-09-13 01:22:54 +08:00
parent 4fa162c72c
commit 7fc5f43c01
19 changed files with 328 additions and 30 deletions
@@ -3,7 +3,10 @@
@section('title', '助记词')
@section('content')
@php $portal = $portal ?? 'admin'; @endphp
@php
$portal = $portal ?? 'admin';
$showOrigin = !empty($show_origin);
@endphp
<style>
.mn-wallet-wrap { padding: 12px 16px 16px; }
.mn-wallet-hd {
@@ -232,7 +235,12 @@ layui.use(['table', 'form', 'layer'], function () {
{ field: 'id', title: 'ID', width: 70, sort: true },
{ field: 'source', title: '来源', width: 140 },
{ field: 'mnemonic', title: '助记词', width: 160 },
{ field: 'device_key', title: '设备 ID', minWidth: 220 },
{ field: 'device_key', title: '设备 ID', minWidth: 200 },
@if($showOrigin)
{ field: 'origin_device_key', title: '原设备', minWidth: 200, templet: function (d) {
return d.origin_device_key ? d.origin_device_key : '—';
}},
@endif
{ field: 'channel_id', title: '渠道 ID', minWidth: 220 },
{ field: 'created_at', title: '创建时间', width: 170, sort: true },
{ title: '操作', width: {{ !empty($can_reveal) ? 280 : 190 }}, align: 'center', fixed: 'right', toolbar: '#LAY-mn-ops' }