修复瀑布流下滑删除按钮没有出现

This commit is contained in:
lzyme.dev@gmail.com
2026-08-30 00:38:30 +08:00
parent c645eb6629
commit 8da3ef2ed5
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -56,9 +56,9 @@ class ListPagePlugin extends BasePlugin {
this.replaceHdImg();
this.addJumpPageControl();
this.fixBusTitleBox();
this.getBean("CoverButtonPlugin").addSvgBtn().then();
await this.doFilter();
await this.getBean("ListPageButtonPlugin").sortItems();
this.getBean("CoverButtonPlugin").addSvgBtn().then();
$(this.getSelector().itemSelector + " a").attr("target", "_blank");
this.getBean("AutoPagePlugin").checkLoad();
} finally {
+2 -2
View File
@@ -360,7 +360,7 @@ const _WangPan115MatchPlugin = class _WangPan115MatchPlugin extends BasePlugin {
$box2.find(".jhs-match-btn").replaceWith(`<a class='jhs-match-btn a-success' \n data-keyword="${carNum2}"\n data-match='${JSON.stringify(matchList)}'\n title="点击查看匹配详情">匹配${matchList.length}个</a>`);
const $deleteBtn = $box2.find(".delete115Svg");
const $markBtn = $box2.find(".markDeleteSvg");
if ($deleteBtn.length > 0 && matchList[0].dirId) {
if ($deleteBtn.length > 0 && matchList.some(m => m.dirId != null)) {
$deleteBtn.attr("data-match", JSON.stringify(matchList));
$deleteBtn.show();
}
@@ -569,7 +569,7 @@ const _WangPan115MatchPlugin = class _WangPan115MatchPlugin extends BasePlugin {
$box2.find(".video-title").prepend(`<a class='jhs-match-btn a-success' \n data-keyword="${carNum2}"\n data-match='${JSON.stringify(matchList)}'\n title="${title}">匹配${matchList.length}个</a>`);
const $deleteBtn = $box2.find(".delete115Svg");
const $markBtn = $box2.find(".markDeleteSvg");
if ($deleteBtn.length > 0 && matchList[0].dirId) {
if ($deleteBtn.length > 0 && matchList.some(m => m.dirId != null)) {
$deleteBtn.attr("data-match", JSON.stringify(matchList));
$deleteBtn.show();
}