feat(QQ): 分段广告-好友动态-广告卡片(补充 activityId)、更新提示(补充规则) (#3764)

* feat 好友动态-广告卡片(补充 activityId)

* fix 更新提示

* Revert [id="com.tencent.mobileqq:id/iyx"]

This reverts commit 72903417e2.
This commit is contained in:
Kun Jinkao 2024-01-14 21:27:01 +08:00 committed by GitHub
parent 33092e27a4
commit c67b5b5913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,15 +367,27 @@ export default defineAppConfig({
enable: false,
key: 18,
name: '更新提示-消息页面-顶部',
rules: [
{
key: 0,
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
quickFind: true,
rules: '[id="com.tencent.mobileqq:id/iyx"]',
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',
},
],
},
{
enable: false,
key: 19,