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', + }, + ], }, ], });