fix: 完善文章加载动画的状态恢复逻辑
- 在pjax:beforeReplace中恢复所有隐藏卡片的opacity和pointer-events - 确保页面切换后所有卡片都能正常显示和交互 - 保持无!important的纯净实现方式
This commit is contained in:
@@ -2893,6 +2893,12 @@ $(document).pjax("a[href]:not([no-pjax]):not(.no-pjax):not([target='_blank']):no
|
||||
$(".post-preview .loading-css-animation").remove();
|
||||
$("#main").removeClass("post-list-pjax-loading");
|
||||
|
||||
// 恢复所有卡片的显示状态
|
||||
$(".post-preview").css({
|
||||
"opacity": "",
|
||||
"pointer-events": ""
|
||||
});
|
||||
|
||||
// 恢复footer
|
||||
$("#footer").css({
|
||||
"opacity": "",
|
||||
|
||||
Reference in New Issue
Block a user