From 00746287bd0e0bfd249e4112960caa7622c65a88 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 2 Jul 2024 15:46:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20QQ=E6=B5=8F=E8=A7=88=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mtt.ts | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/apps/com.tencent.mtt.ts b/src/apps/com.tencent.mtt.ts index fb8bbdd8..1d4976fd 100644 --- a/src/apps/com.tencent.mtt.ts +++ b/src/apps/com.tencent.mtt.ts @@ -43,21 +43,14 @@ export default defineGkdApp({ ], }, { - preKeys: 0, + preKeys: [0], key: 1, - name: '点击[屏蔽此广告]', - matches: '@ViewGroup > [desc="屏蔽此广告"]', + name: '点击[屏蔽此广告]/[直接关闭]', + matches: + '@ViewGroup[childCount=1 || childCount=3] > [desc="屏蔽此广告" || desc="直接关闭"]', snapshotUrls: [ 'https://i.gkd.li/i/12907654', 'https://i.gkd.li/i/12907651', - ], - }, - { - preKeys: 1, - key: 2, - name: '点击[不感兴趣]', - matches: '@ViewGroup > [desc="不感兴趣"]', - snapshotUrls: [ 'https://i.gkd.li/i/12907655', 'https://i.gkd.li/i/12907653', ], @@ -75,7 +68,7 @@ export default defineGkdApp({ snapshotUrls: 'https://i.gkd.li/i/12909822', }, { - preKeys: 0, + preKeys: [0], key: 1, matches: '[id="com.tencent.mtt:id/reward_dialog_close"]', snapshotUrls: 'https://i.gkd.li/i/12908955',