From c3ffb5affe4cb6910711c77fd2dc8b3f1c87b142 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 22 Mar 2024 14:09:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=BB=B4=E5=AE=A0=E7=94=9F=E6=B4=BB):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=85=A8=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.mxchip.petmarvel.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/apps/com.mxchip.petmarvel.ts b/src/apps/com.mxchip.petmarvel.ts index 493e8c6d..1566f808 100644 --- a/src/apps/com.mxchip.petmarvel.ts +++ b/src/apps/com.mxchip.petmarvel.ts @@ -4,6 +4,23 @@ export default defineAppConfig({ id: 'com.mxchip.petmarvel', name: '滴宠生活', groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + position: { + left: 'width * 0.8379', + top: 'width * 0.2055', + }, + matches: 'FrameLayout[depth=0]', + snapshotUrls: 'https://i.gkd.li/i/14717741', + }, + ], + }, { key: 1, name: '局部广告-左上角卡片弹窗', @@ -17,5 +34,20 @@ export default defineAppConfig({ }, ], }, + { + key: 2, + name: '全屏广告-广告弹窗', + desc: '点击关闭', + rules: [ + { + quickFind: true, + activityIds: 'com.mxchip.petmarvel.MainActivity', + matches: '[vid="iv_close"]', + exampleUrls: + 'https://m.gkd.li/57941037/de4ea9ad-c85f-4ace-bd4e-7b7fc9adbc2a', + snapshotUrls: 'https://i.gkd.li/i/14717743', + }, + ], + }, ], });