feat(摩托范): 全屏广告-弹窗广告(优化规则)

This commit is contained in:
AIsouler
2024-03-09 23:18:42 +08:00
parent 86fce9e11c
commit 1be2b8b317

View File

@@ -7,12 +7,14 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '全屏广告-弹窗广告', name: '全屏广告-弹窗广告',
activityIds: [],
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'[id="com.jdd.motorfans:id/ad_content"] >n [id="com.jdd.motorfans:id/iv_close"]', '[id="com.jdd.motorfans:id/ad_content"] >n [id="com.jdd.motorfans:id/iv_close"]',
exampleUrls:
'https://user-images.githubusercontent.com/44717382/270852019-b0296eaa-a378-49b3-877b-acefca2a7d58.gif',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12733646', // com.jdd.motorfans.MTMainActivity 'https://i.gkd.li/i/12733646', // com.jdd.motorfans.MTMainActivity
'https://i.gkd.li/i/12798654', // com.jdd.motorfans.modules.detail.DetailActivity2 'https://i.gkd.li/i/12798654', // com.jdd.motorfans.modules.detail.DetailActivity2
@@ -21,13 +23,12 @@ export default defineAppConfig({
'https://i.gkd.li/i/13188861', // com.jdd.motorfans.message.ChatDetailActivity 'https://i.gkd.li/i/13188861', // com.jdd.motorfans.message.ChatDetailActivity
'https://i.gkd.li/i/12840710', // com.miui.home.launcher.Launcher 'https://i.gkd.li/i/12840710', // com.miui.home.launcher.Launcher
'https://i.gkd.li/i/13188928', // com.tencent.mm.ui.LauncherUI 'https://i.gkd.li/i/13188928', // com.tencent.mm.ui.LauncherUI
'https://i.gkd.li/i/14546613',
], ],
exampleUrls:
'https://user-images.githubusercontent.com/44717382/270852019-b0296eaa-a378-49b3-877b-acefca2a7d58.gif',
}, },
{ {
key: 1, key: 1,
matches: '@ImageView -n RelativeLayout > TextView[text*="广告"]', matches: '@ImageView - RelativeLayout > TextView[text="广告"]',
snapshotUrls: 'https://i.gkd.li/i/12826288', snapshotUrls: 'https://i.gkd.li/i/12826288',
}, },
], ],