From 7a306c1ea54121a568a7b8b6c08a4b04e894e2e1 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:18:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=9F=B3=E5=A2=A8=E6=96=87=E6=A1=A3):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=E3=80=81=E9=A6=96=E9=A1=B5=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=A8=AA=E5=B9=85=E5=B9=BF=E5=91=8A=20(#3050)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告(优化规则) * feat 首页顶部横幅广告 --- src/apps/chuxin.shimo.shimowendang.ts | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/apps/chuxin.shimo.shimowendang.ts b/src/apps/chuxin.shimo.shimowendang.ts index 9ca87244..0b3e4a79 100644 --- a/src/apps/chuxin.shimo.shimowendang.ts +++ b/src/apps/chuxin.shimo.shimowendang.ts @@ -7,17 +7,21 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: [ - 'chuxin.shimo.shimowendang.launchad.mediatom.MediatomActivity', - 'chuxin.shimo.shimowendang.MainActivity', - ], - matchLauncher: true, - quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', snapshotUrls: [ - 'https://i.gkd.li/import/12894158', // chuxin.shimo.shimowendang.launchad.mediatom.MediatomActivity - 'https://i.gkd.li/import/12894163', // chuxin.shimo.shimowendang.MainActivity + 'https://i.gkd.li/import/12894158', + 'https://i.gkd.li/import/12894163', ], }, + { + key: 1, + name: '首页顶部横幅广告', + activityIds: 'chuxin.shimo.shimowendang.MainActivity', + rules: '[desc="banner-desktop-announcement-close"]', + snapshotUrls: 'https://i.gkd.li/import/13627960', + }, ], });