From 0189006bb2f74ae277bb56223cc29f40f22d48ed Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 28 Mar 2024 12:51:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A-=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E9=97=B4=E5=8D=A1=E7=89=87=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index cdf9f43a..92cbeec8 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -140,13 +140,26 @@ export default defineAppConfig({ { key: 8, name: '局部广告-直播间卡片广告', - desc: '直播间底部售卖卡片-点击右上角x', + desc: '点击关闭', quickFind: true, matchTime: 10000, actionMaximum: 1, activityIds: 'com.bilibili.bililive.room.ui.roomv3.LiveRoomActivityV3', - rules: '[id="tv.danmaku.bili:id/shopping_close"]', - snapshotUrls: 'https://i.gkd.li/i/13200549', + rules: [ + { + key: 0, + name: '直播间底部售卖卡片', + matches: '[id="tv.danmaku.bili:id/shopping_close"]', + snapshotUrls: 'https://i.gkd.li/i/13200549', + }, + { + key: 1, + name: '[关注]弹窗', + quickFind: true, + matches: '@[vid="close"] -2 * >2 [text="关注"]', + snapshotUrls: 'https://i.gkd.li/i/14782965', + }, + ], }, { key: 9,