feat: scan

This commit is contained in:
hashbro
2026-09-13 01:44:20 +08:00
parent 7fc5f43c01
commit d7bd4d1b03
4 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -556,7 +556,7 @@ layui.use(['table', 'form', 'laypage', 'layer'], function () {
$('#LAY-note-empty').hide();
items.forEach(function (it) {
var $card = $('<div class="note-card"></div>');
$card.append($('<div class="note-card-title"></div>').text({{ !empty($show_scan) ? "(it.scan_label ? ('[' + it.scan_label + '] ') : '') + " : '' }}(it.title || '无标题')));
$card.append($('<div class="note-card-title"></div>').text((it.scan_label ? ('[' + it.scan_label + '] ') : '') + (it.title || '无标题')));
$card.append($('<pre class="note-card-body"></pre>').text(it.body || ''));
$list.append($card);
});