feat(石墨文档): 开屏广告(优化规则)、首页顶部横幅广告 (#3050)

* feat 开屏广告(优化规则)

* feat 首页顶部横幅广告
This commit is contained in:
Kun Jinkao 2023-12-11 20:18:02 +08:00 committed by GitHub
parent 3135a065e8
commit 7a306c1ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
},
],
});