From 0707b3e1ef6d489d84d6d7405b29c6be2da0573d Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 26 Mar 2024 12:53:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ):=20=E5=8A=9F=E8=83=BD=E7=B1=BB-?= =?UTF-8?q?=E6=89=AB=E4=B8=80=E6=89=AB=E7=99=BB=E5=BD=95=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=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 | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index bd038578..44806930 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -222,27 +222,37 @@ export default defineAppConfig({ rules: [ { key: 1, - name: 'PC 登录确认', + name: '点击登录', activityIds: [ 'com.tencent.biz.qrcode.activity.QRLoginAuthActivity', 'com.tencent.mobileqq.activity.DevlockQuickLoginActivity', + 'com.tencent.mobileqq.activity.DevLockQuickVerifyActivity', ], matches: - 'TextView[text="登录确认"||text="一键验证"] n Button[text*="登录"]', + 'Button[text*="登录"][clickable=true][visibleToUser=true][text.length<10]', snapshotUrls: [ 'https://i.gkd.li/i/13623520', 'https://i.gkd.li/i/12789287', 'https://i.gkd.li/i/13063027', + 'https://i.gkd.li/i/13166314', ], }, { key: 2, - name: 'QQ 互联登录确认', - activityIds: [ - 'com.tencent.mobileqq.activity.DevLockQuickVerifyActivity', - ], - matches: 'Button[text="拒绝"] - Button[text="登录"]', - snapshotUrls: ['https://i.gkd.li/i/13166314'], + name: '点击同意', + activityIds: + 'com.tencent.open.agent.PublicFragmentActivityForOpenSDK', + matches: 'Button[text="同意"][clickable=true][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/14752498', + }, + { + preKeys: [2], + key: 3, + name: '点击确认', + activityIds: + 'com.tencent.open.agent.PublicFragmentActivityForOpenSDK', + matches: 'Button[text="确认"]', + snapshotUrls: 'https://i.gkd.li/i/14752519', }, ], },