From b419fa9820a189768360ccc599b44e318a9c3717 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:17:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A4=A7=E9=BA=A6):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=89=E3=80=81=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=20(#3048?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告(优化规则) * feat 弹窗广告 --- src/apps/cn.damai.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/apps/cn.damai.ts b/src/apps/cn.damai.ts index 73be2d35..d4a2191b 100644 --- a/src/apps/cn.damai.ts +++ b/src/apps/cn.damai.ts @@ -7,9 +7,24 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'cn.damai.launcher.splash.SplashMainActivity', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: '[id="cn.damai:id/homepage_advert_pb"]', snapshotUrls: 'https://i.gkd.li/import/12472623', }, + { + key: 1, + name: '弹窗广告', + rules: [ + { + key: 0, + activityIds: 'cn.damai.homepage.MainActivity', + matches: + '[id="cn.damai:id/homepage_popup_window_image"] + [id="cn.damai:id/homepage_popup_window_close_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13627900', + }, + ], + }, ], });