修复了一些问题

This commit is contained in:
kate522 committed 2026-08-25 20:15:55 +08:00
1 parent c484ee6ef3
commit e877ceb560
28 files changed
+565 -535

No files matched your search

+4 -4
View File
@@ -117,8 +117,8 @@ aksrt_svgs['apple'] = '<path d="M905.758118 784.564706c-14.757647 34.093176-32.2
aksrt_svgs['qqww'] = '';
function show_svg() {
$('[data-svg]').each(function () {
var _t = $(this),
jQuery('[data-svg]').each(function () {
var _t = jQuery(this),
viewbox = _t.attr('data-viewbox'),
svgclass = _t.attr('data-class'),
svgname = _t.attr('data-svg'),
@@ -134,7 +134,7 @@ function show_svg() {
}
var i = '<svg id="svg-icons" aria-hidden="true" style="position:absolute;width:0px;height:0px;overflow:hidden;">' + svg + '</svg>';
if (!$('svg#svg-icons').length) {
$('body').prepend(i);
if (!jQuery('svg#svg-icons').length) {
jQuery('body').prepend(i);
}
})(window);