From 62642f48670b7f81b590bc4def03790b77e63b55 Mon Sep 17 00:00:00 2001 From: aisouler Date: Sun, 18 Feb 2024 19:40:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=99=BE=E5=88=86=E7=BD=91=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E7=9B=92=E5=AD=90):=20=E5=BC=80=E5=B1=8F=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89?= =?UTF-8?q?=E3=80=81=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89=E3=80=81=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.byfen.market.ts | 43 +++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/src/apps/com.byfen.market.ts b/src/apps/com.byfen.market.ts index 82353382..bcedf29c 100644 --- a/src/apps/com.byfen.market.ts +++ b/src/apps/com.byfen.market.ts @@ -13,22 +13,45 @@ export default defineAppConfig({ rules: [ { key: 0, - matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', - snapshotUrls: 'https://i.gkd.li/import/13298944', - }, - { - key: 1, - matches: '[id="com.byfen.market:id/ad_view"] >3 View[clickable=true]', - snapshotUrls: 'https://i.gkd.li/import/13800021', + matches: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', + snapshotUrls: [ + 'https://i.gkd.li/import/13298944', + 'https://i.gkd.li/import/13800021', + ], }, ], }, { key: 1, - name: '全屏广告-弹窗广告', + name: '全屏广告-广告弹窗', + desc: '点击关闭', + rules: [ + { + quickFind: true, + activityIds: 'com.byfen.market.ui.activity.MainActivity', + matches: '[vid="idIvClose"][clickable=true]', + exampleUrls: + 'https://m.gkd.li/57941037/35d2a562-fe30-4bff-b739-96b37dccd05c', + snapshotUrls: 'https://i.gkd.li/import/13801613', + }, + ], + }, + { + key: 2, + name: '更新提示', + desc: '点击[忽略更新]', + actionMaximum: 1, + resetMatch: 'app', quickFind: true, - rules: '[id="com.byfen.market:id/idIvClose"]', - snapshotUrls: 'https://i.gkd.li/import/13801613', + rules: [ + { + matches: '[text="忽略更新"][clickable=true][visibleToUser=true]', + exampleUrls: + 'https://m.gkd.li/57941037/e92b10b8-b0f8-4dc3-95bf-172829996600', + snapshotUrls: 'https://i.gkd.li/import/14322280', + }, + ], }, ], });