feat(widgets): category recommend/tabs residual + batch22-24 CSS

Use graphic_card heroes and mini post strips for category recommend,
prefer shared mini list in category block sidebar fallback, admin empty
for product tabs, and forum/user residual styles.
This commit is contained in:
kate522 committed 2026-07-21 10:39:17 +08:00
1 parent 8b5ca8f287
commit 4368a3c586
5 files changed
+184 -67

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ class CategoryTabsWidget extends \WP_Widget {
if(showMore&&more){
html+='<div class="aksrt-home-widget__footer"><a class="aksrt-home-widget__more" href="'+more+'">查看更多</a></div>';
}
panel.innerHTML=html||'<p class="widget-empty">暂无文章</p>';
panel.innerHTML=html||'<div class="ajax-item widget-empty muted-2-color">暂无文章</div>';
panel.setAttribute('data-loaded','1');
panel.classList.remove('is-ajax-loading');
}).catch(function(){panel.classList.remove('is-ajax-loading');});