From c3c9098c6c056cc7c8ad9726a63e27d3e7efe11c Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 27 Sep 2023 18:08:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=85=BE=E8=AE=AF=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5-=E9=A1=B6=E9=83=A8=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=8D=A1=E7=89=87=20(#415)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.qqlive.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/apps/com.tencent.qqlive.ts b/src/apps/com.tencent.qqlive.ts index 420a1123..332725d4 100644 --- a/src/apps/com.tencent.qqlive.ts +++ b/src/apps/com.tencent.qqlive.ts @@ -52,10 +52,10 @@ export default defineAppConfig({ { key: 3, name: '首页-顶部广告卡片', - desc: '自动点击“不感兴趣”', activityIds: ['com.tencent.qqlive.ona.activity.SplashHomeActivity'], rules: [ { + desc: '点击右上角[广告]', matches: 'FrameLayout - RelativeLayout > RelativeLayout > FrameLayout + ImageView[clickable=true]', snapshotUrls: [ @@ -64,9 +64,16 @@ export default defineAppConfig({ ], }, { + desc: '点击右上角[关闭广告]', matches: '[text="关闭广告"][clickable=true]', snapshotUrls: ['https://gkd-kit.gitee.io/import/12700518'], }, + { + desc: '点击右上角[广告]', + matches: + 'RelativeLayout[id=null] > @FrameLayout[clickable=true][id!=null] > ImageView[desc="the ad tag"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12737313', + }, ], }, {