fix(ui): center float QR titles and repair UC VIP layout
This commit is contained in:
1 parent
4bbfecb922
commit
ee5a16f9a0
6 files changed
+203
-42
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user