From 6a0a8969be1d30ad98939a86fd37aa7d67dab81b Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 12 Mar 2024 12:41:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=85=BE=E8=AE=AF=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85?= =?UTF-8?q?=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.qqlive.ts | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/apps/com.tencent.qqlive.ts b/src/apps/com.tencent.qqlive.ts index cefdc80e..9cd64224 100644 --- a/src/apps/com.tencent.qqlive.ts +++ b/src/apps/com.tencent.qqlive.ts @@ -234,10 +234,26 @@ export default defineAppConfig({ resetMatch: 'app', actionMaximum: 1, quickFind: true, - activityIds: 'com.tencent.qqlive.redpacket.rain.OpenRedPacketActivity', - rules: - '@ImageView[clickable=true] < ViewGroup[childCount=5] < [id="android:id/content"]', - snapshotUrls: 'https://i.gkd.li/i/13842643', + rules: [ + { + key: 0, + activityIds: + 'com.tencent.qqlive.redpacket.rain.OpenRedPacketActivity', + matches: + '@ImageView[clickable=true] < ViewGroup[childCount=5] < [id="android:id/content"]', + exampleUrls: + 'https://m.gkd.li/57941037/05606ba5-1a89-470c-bcca-bd52561a634d', + snapshotUrls: 'https://i.gkd.li/i/13842643', + }, + { + key: 1, + activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity', + matches: '@RelativeLayout[clickable=true] + * >3 [text="立即预约"]', + exampleUrls: + 'https://m.gkd.li/57941037/c8131a06-837a-4c42-9a70-9e8a7fe21334', + snapshotUrls: 'https://i.gkd.li/i/14567294', + }, + ], }, { key: 20,