fix-backdrop-filter

This commit is contained in:
2026-03-03 14:58:17 +08:00
parent e34bfe5047
commit 5c0abfd5da
12 changed files with 38098 additions and 4794 deletions

View File

@@ -3452,6 +3452,17 @@ const PageLoader = (function() {
destroy: destroy
};
})();
/**
* 向后兼容的函数
*/
function showLoadingOverlay() {
PageLoader.show();
}
function hideLoadingOverlay() {
PageLoader.hide();
}
function startPageTransition() {
document.documentElement.classList.add('page-transition-enter');
pjaxContainers.forEach(function(selector) {
@@ -3499,7 +3510,7 @@ $(document).pjax(
NProgress.remove();
NProgress.start();
pjaxLoading = true;
PageLoader.show();
showLoadingOverlay();
}).on('pjax:afterGetContainers', function(e, f, g) {
pjaxScrollTop = 0;
if ($("html").hasClass("banner-as-cover")){
@@ -3536,7 +3547,7 @@ $(document).pjax(
startPageTransition();
activatePageTransition();
setTimeout(function() {
PageLoader.hide();
hideLoadingOverlay();
endPageTransition();
}, 320);
@@ -3610,7 +3621,7 @@ $(document).pjax(
NProgress.done();
}).on('pjax:error', function() {
PageLoader.hide();
hideLoadingOverlay();
endPageTransition();
pjaxLoading = false;
}).on('pjax:end', function() {