From c67b5b5913c69ec201fe3c6a6c0db28bc666fcd9 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 14 Jan 2024 21:27:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ):=20=E5=88=86=E6=AE=B5=E5=B9=BF?= =?UTF-8?q?=E5=91=8A-=E5=A5=BD=E5=8F=8B=E5=8A=A8=E6=80=81-=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=8D=A1=E7=89=87=EF=BC=88=E8=A1=A5=E5=85=85=20activi?= =?UTF-8?q?tyId=EF=BC=89=E3=80=81=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89=20(#3764?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 好友动态-广告卡片(补充 activityId) * fix 更新提示 * Revert [id="com.tencent.mobileqq:id/iyx"] This reverts commit 72903417e2ed0cb10f729042d273f8bdeab51565. --- src/apps/com.tencent.mobileqq.ts | 36 ++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index dc38f3a9..a19d5be0 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -88,10 +88,16 @@ export default defineAppConfig({ { preKeys: 0, key: 2, - activityIds: 'com.tencent.mobileqq.activity.SplashActivity', + activityIds: [ + 'com.tencent.mobileqq.activity.SplashActivity', + 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity', + ], quickFind: true, matches: '@[clickable=true] > * > ImageView + [text="隐藏此条动态"]', - snapshotUrls: 'https://i.gkd.li/import/13761147', + snapshotUrls: [ + 'https://i.gkd.li/import/13761147', + 'https://i.gkd.li/import/13849730', + ], }, { key: 3, @@ -361,13 +367,25 @@ export default defineAppConfig({ enable: false, key: 18, name: '更新提示-消息页面-顶部', - activityIds: 'com.tencent.mobileqq.activity.SplashActivity', - quickFind: true, - rules: '[id="com.tencent.mobileqq:id/iyx"]', - snapshotUrls: [ - 'https://i.gkd.li/import/13188722', - 'https://i.gkd.li/import/13255493', //desc值为null快照 - 'https://i.gkd.li/import/13843140', //关系选择器为-2快照 + rules: [ + { + key: 0, + activityIds: 'com.tencent.mobileqq.activity.SplashActivity', + quickFind: true, + matches: '[id="com.tencent.mobileqq:id/iyx"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13188722', + 'https://i.gkd.li/import/13255493', //desc值为null快照 + 'https://i.gkd.li/import/13843140', //关系选择器为-2快照 + ], + }, + { + key: 1, + activityIds: 'com.tencent.mobileqq.activity.SplashActivity', + matches: + '[text="发现QQ版本更新"] + [text="点击下载"] + ImageView[clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13931212', + }, ], }, {