From 70cba11fb73ed57a5db82d2a215836a5134b5650 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 6 Sep 2026 14:27:49 +0800 Subject: [PATCH] feat(icons): wire the universal picker into tabbar/floating settings and keep customsvg through their save paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 手机底部Tab and 右侧悬浮按钮 settings pages swap their icon text inputs for the shared FaIconPicker (with a new IconValue preview component that renders FA/sprite/custom SVG values in lists and previews). footer.php tabbar/floating/sub-item icons and the VIP float render through aksrt_icon_markup so every stored format displays; GlobalControllerPart1 and the VIP helper drop the FA-only regex gate and sanitize icon values through aksrt_sanitize_icon_value. The picker popover tabs now wrap instead of overflowing, and FA grid previews use style-only classes. --- .../src/components/form/FaIconPicker.vue | 28 ++++------- .../admin/src/components/form/IconValue.vue | 48 +++++++++++++++++++ .../pages/content/FloatingButtonsSettings.vue | 18 +++---- .../pages/content/FooterTabbarSettings.vue | 15 +++--- assets/js/admin-icon-picker.js | 3 +- footer.php | 20 ++++---- inc/helpers/aksrt-runtime-win.php | 10 ++-- src/Admin/GlobalControllerPart1.php | 17 +++---- 8 files changed, 96 insertions(+), 63 deletions(-) create mode 100644 assets/admin/src/components/form/IconValue.vue diff --git a/assets/admin/src/components/form/FaIconPicker.vue b/assets/admin/src/components/form/FaIconPicker.vue index 436d01ff..57bfd1ec 100644 --- a/assets/admin/src/components/form/FaIconPicker.vue +++ b/assets/admin/src/components/form/FaIconPicker.vue @@ -1,6 +1,6 @@