From 2adb34c21f6763e06e99f60cc85ba3c25884f228 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 11 Feb 2024 19:50:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ)=20=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A?= =?UTF-8?q?-=E9=92=B1=E5=8C=85=E9=A1=B5=E5=8D=A1=E7=89=87=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index ced815df..a050f529 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -431,25 +431,29 @@ export default defineAppConfig({ ], }, { - enable: false, key: 20, name: '分段广告-钱包页卡片广告', - quickFind: true, - activityIds: [ - 'com.tencent.mobileqq.activity.SplashActivity', - 'cooperation.qwallet.plugin.QWalletToolFragmentActivity', - ], rules: [ { key: 0, + activityIds: 'com.tencent.mobileqq.activity.SplashActivity', + quickFind: true, matches: 'ViewGroup[childCount=6] > [text="广告"]', - snapshotUrls: ['https://i.gkd.li/import/13695087'], + snapshotUrls: 'https://i.gkd.li/import/13695087', }, { - preKeys: 0, key: 1, + activityIds: 'cooperation.qwallet.plugin.QWalletToolFragmentActivity', + matches: '@View[visibleToUser=true] > [text="广告"]', + snapshotUrls: 'https://i.gkd.li/import/14231489', + }, + { + preKeys: [0, 1], + key: 2, + activityIds: 'cooperation.qwallet.plugin.QWalletToolFragmentActivity', + quickFind: true, matches: '@LinearLayout > [text="关闭此条广告"]', - snapshotUrls: ['https://i.gkd.li/import/13699701'], + snapshotUrls: 'https://i.gkd.li/import/13699701', }, ], },