From 14523b67ccf951fb738647677bb18eb8d77d5985 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 2 Oct 2023 22:32:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ=E9=82=AE=E7=AE=B1):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A,=E5=B9=BF=E5=91=8A=E9=82=AE?= =?UTF-8?q?=E4=BB=B6-=E5=88=97=E8=A1=A8=E5=8D=A1=E7=89=87=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#542)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 新增 【开屏广告】 * 优化【广告邮件-列表卡片广告】 --- src/apps/com.tencent.androidqqmail.ts | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/src/apps/com.tencent.androidqqmail.ts b/src/apps/com.tencent.androidqqmail.ts index 8cf36f9a..d414e25e 100644 --- a/src/apps/com.tencent.androidqqmail.ts +++ b/src/apps/com.tencent.androidqqmail.ts @@ -4,13 +4,35 @@ export default defineAppConfig({ id: 'com.tencent.androidqqmail', name: 'qq邮箱', groups: [ + { + key: -1, + name: '开屏广告', + activityIds: 'com.tencent.qqmail.launcher.desktop.LauncherActivity', + rules: 'RelativeLayout > ImageView[id!=null] + ImageView[id!=null]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12775855', + }, { key: 0, name: '广告邮件-列表卡片广告', activityIds: 'com.tencent.qqmail.fragment.base.MailFragmentActivity', rules: [ - 'TextView[text=`赞助商提供的广告`] TextView + @LinearLayout[id!=null][clickable=true] > [text="广告"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12775857', + }, + { + preKeys: [1], + key: 9, + matches: + '[text="赞助商提供的广告"] < FrameLayout + @FrameLayout > [text="不感兴趣"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12775862', + }, ], }, ],