feat(摩托范): 信息流广告 (#681)

* feat(摩托范): 新增弹窗匹配规则

* feat(小熊油耗): 新增开屏广告

* feat(摩托范): 信息流广告-规则优化

* feat(小熊油耗): 回退代码

---------

Co-authored-by: shanlan <hi@gobyte.cn>
Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
shanlanCoding
2023-10-06 17:22:57 +08:00
committed by GitHub
parent d906ab137e
commit 337466cd1f

View File

@@ -22,6 +22,22 @@ export default defineAppConfig({
exampleUrls: exampleUrls:
'https://user-images.githubusercontent.com/44717382/270852019-b0296eaa-a378-49b3-877b-acefca2a7d58.gif', 'https://user-images.githubusercontent.com/44717382/270852019-b0296eaa-a378-49b3-877b-acefca2a7d58.gif',
}, },
{
matches: '@ImageView -n RelativeLayout > TextView[text*="广告"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12826288'],
},
],
},
{
key: 2,
name: '信息流广告',
activityIds: ['com.jdd.motorfans.MTMainActivity'],
rules: [
{
matches:
'[id="com.jdd.motorfans:id/recyclerView"] > FrameLayout[id="com.jdd.motorfans:id/container"] > FrameLayout[childCount=3] > ImageView[clickable=true][id=null] + ImageView[clickable=true][id=null]', //虽然在审查页面能匹配上,但是在“执行选择器”功能下一直处于搜索中,先添加后到真机测试
snapshotUrls: ['https://gkd-kit.gitee.io/import/12826382'],
},
], ],
}, },
], ],