From ceb2d031ef3f29635f60d040b0edc23fb6357a06 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 31 Oct 2023 00:12:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ=E9=9F=B3=E4=B9=90):=20=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=8D=A1=E7=89=87=EF=BC=88=E5=AE=8C=E5=96=84=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=89=20(#1608)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.qqmusic.ts | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/apps/com.tencent.qqmusic.ts b/src/apps/com.tencent.qqmusic.ts index 9156c85d..28a6eac0 100644 --- a/src/apps/com.tencent.qqmusic.ts +++ b/src/apps/com.tencent.qqmusic.ts @@ -25,11 +25,30 @@ export default defineAppConfig({ }, { key: 1, - name: '推荐页-广告卡片', + name: '广告卡片', activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity', rules: [ - '@LinearLayout[clickable=true] > TextView[text="广告"] + ImageView', // 1688045698846 - 'TextView[text="广告 | 关闭"][clickable=true]', + { + key: 0, + matches: + '@LinearLayout[clickable=true] > TextView[text="广告"] + ImageView', // 1688045698846 + }, + { + key: 1, + matches: 'TextView[text="广告 | 关闭"][clickable=true]', + snapshotUrls: [], // 需要补充快照 + }, + { + key: 2, + matches: '[text="广告"] + * + [desc="关闭"]', + snapshotUrls: 'https://i.gkd.li/import/13206534', + }, + { + key: 3, + matches: + '@ImageView - ImageView - RelativeLayout >n [text="听歌入会赢绿钻"]', + snapshotUrls: 'https://i.gkd.li/import/13206982', + }, ], }, {