From 867447fbfabaeb0562df48b45571134c56a5e598 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 29 Jan 2025 20:54:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(QQ):=20=E5=8A=9F=E8=83=BD=E7=B1=BB-?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=A2=86=E5=8F=96=E7=BE=A4=E8=81=8A=E7=BA=A2?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 727e2c61..117f1c17 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -644,18 +644,21 @@ export default defineGkdApp({ }, { key: 27, - name: '功能类-自动抢红包', - desc: '自己发的红包、专属红包、口令红包、私聊红包不抢', + name: '功能类-自动领取群聊红包', + desc: '自己发的红包、专属红包、口令红包、私聊红包不领', rules: [ { key: 0, fastQuery: true, activityIds: 'com.tencent.mobileqq.activity.SplashActivity', matches: - 'ImageView[childCount=0] < RelativeLayout < FrameLayout +2 LinearLayout >3 @ViewGroup[clickable=true][childCount=5][getChild(3).text!="已领取"] + TextView[text="拼手气红包"]', + 'ImageView[childCount=0] < RelativeLayout < FrameLayout +2 LinearLayout >3 @ViewGroup[clickable=true][childCount=5][!(getChild(4).text^="已")] + TextView[text="拼手气红包"]', exampleUrls: 'https://m.gkd.li/57941037/7a933a7f-dc5a-4eb7-8a6f-fe3cc4e8fb5e', - snapshotUrls: 'https://i.gkd.li/i/14221309', + snapshotUrls: [ + 'https://i.gkd.li/i/14221309', + 'https://i.gkd.li/i/18574530', + ], }, { preKeys: [0],