From c8774b84f3fd158f570335456230b5c66af4cfa3 Mon Sep 17 00:00:00 2001 From: aisouler Date: Fri, 9 Feb 2024 20:34:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ):=20=E5=8A=9F=E8=83=BD=E7=B1=BB?= =?UTF-8?q?=EF=BC=9A=E8=87=AA=E5=8A=A8=E6=8A=A2=E7=BA=A2=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index aa84a5e0..3fa64608 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -580,5 +580,42 @@ export default defineAppConfig({ }, ], }, + { + key: 27, + name: '功能类-自动抢红包', + desc: '自己发的红包、专属红包、口令红包、私聊红包不抢', + activityIds: [ + 'com.tencent.mobileqq.activity.SplashActivity', + 'cooperation.qwallet.plugin.QWalletToolFragmentActivity', + ], + rules: [ + { + key: 0, + matches: + 'TextView[text*="红包"] - @ViewGroup[childCount=5] > TextView[text!="已领取"]', + exampleUrls: + 'https://m.gkd.li/57941037/7a933a7f-dc5a-4eb7-8a6f-fe3cc4e8fb5e', + snapshotUrls: 'https://i.gkd.li/import/14221309', + }, + { + preKeys: 0, + key: 1, + matches: + '[id="android:id/content"] >4 ViewGroup[index=1] > ImageView', + exampleUrls: + 'https://m.gkd.li/57941037/61006833-9806-45b2-b3a1-55b9b248958f', + snapshotUrls: 'https://i.gkd.li/import/14221242', + }, + { + preKeys: [0, 1], + key: 2, + quickFind: true, + matches: '@[desc="返回"] + [text="红包记录"]', + exampleUrls: + 'https://m.gkd.li/57941037/b90e6a69-ac57-41a5-bd2c-c500b92a58ba', + snapshotUrls: 'https://i.gkd.li/import/14221279', + }, + ], + }, ], });