feat(滴宠生活): 开屏广告、全屏广告

This commit is contained in:
AIsouler
2024-03-22 14:09:45 +08:00
parent 95cbedb489
commit c3ffb5affe

View File

@@ -4,6 +4,23 @@ export default defineAppConfig({
id: 'com.mxchip.petmarvel',
name: '滴宠生活',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
position: {
left: 'width * 0.8379',
top: 'width * 0.2055',
},
matches: 'FrameLayout[depth=0]',
snapshotUrls: 'https://i.gkd.li/i/14717741',
},
],
},
{
key: 1,
name: '局部广告-左上角卡片弹窗',
@@ -17,5 +34,20 @@ export default defineAppConfig({
},
],
},
{
key: 2,
name: '全屏广告-广告弹窗',
desc: '点击关闭',
rules: [
{
quickFind: true,
activityIds: 'com.mxchip.petmarvel.MainActivity',
matches: '[vid="iv_close"]',
exampleUrls:
'https://m.gkd.li/57941037/de4ea9ad-c85f-4ace-bd4e-7b7fc9adbc2a',
snapshotUrls: 'https://i.gkd.li/i/14717743',
},
],
},
],
});