fix(ui): center float QR titles and repair UC VIP layout

This commit is contained in:
kate522 committed 2026-07-21 19:51:08 +08:00
1 parent 4bbfecb922
commit ee5a16f9a0
6 files changed
+203 -42

No files matched your search

+5 -1
View File
@@ -476,7 +476,11 @@
wrap.querySelectorAll('.float-btn-qrcode').forEach(function (node) {
if (node.dataset.qrReady === '1') return;
var qrText = node.getAttribute('data-qr-text') || window.location.href;
// footer.php uses data-qrcode-url; keep data-qr-text as fallback alias
var qrText =
node.getAttribute('data-qrcode-url') ||
node.getAttribute('data-qr-text') ||
window.location.href;
var qrSize = parseInt(node.getAttribute('data-qr-size') || '120', 10);
if (!qrText || !qrSize) return;