feat(ticket): redesign native ticket admin page UI/UX
- Fix empty status/department selects in the detail panel (printf leak) - Replace dead 代客提交 button with a working collapsible create form - Error-aware notices; redirect keeps filters and the open ticket - Status views with counts, incl. 未关闭 default and 已关闭 view - Two-column detail: conversation + attachments + prereplies | info, status/department/assignee select, internal notes; closed = read-only - Split detail panel into UsersMenusTicketsDetail trait; page-scoped tickets.css / admin-tickets.js replace inline styles - AdminListPagination accepts parent file so users.php keeps menu highlight - Drop native loading="lazy" per lazyload contract Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b927b9ec7c
commit
b74381cfa2
9 files changed
+885
-278
No files matched your search
@@ -343,7 +343,7 @@
|
||||
if (!images || !images.length) return '';
|
||||
return '<div class="aksrt-ticket-attachments">' + images.map(function (url) {
|
||||
return '<a class="aksrt-ticket-attachment" href="' + escapeHtml(url) + '" target="_blank" rel="noopener">'
|
||||
+ '<img src="' + escapeHtml(url) + '" alt="附件图片" loading="lazy"></a>';
|
||||
+ '<img src="' + escapeHtml(url) + '" alt="附件图片"></a>';
|
||||
}).join('') + '</div>';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user