feat(掌上公交): 全屏广告-广告弹窗(优化规则)

This commit is contained in:
aisouler
2024-02-09 16:37:09 +08:00
parent dfa5892eef
commit 2c6aa52ef6

View File

@@ -75,13 +75,19 @@ export default defineAppConfig({
{ {
key: 2, key: 2,
name: '全屏广告-广告弹窗', name: '全屏广告-广告弹窗',
activityIds: ['com.mygolbs.mybus.mapsearch.poisearch.PoiSearchActivity'], activityIds: [
'com.mygolbs.mybus.mapsearch.poisearch.PoiSearchActivity',
'com.mygolbs.mybus.NewHomePageActivity',
],
rules: [ rules: [
{ {
name: '点击右上角x关闭图标', name: '点击右上角x关闭图标',
matches: matches:
'[id="android:id/content"] >3 FrameLayout[childCount=6][index=0] > FrameLayout[childCount=1][index=1] > ImageView[id=null]', 'FrameLayout[childCount=2] > FrameLayout[childCount>4] > FrameLayout[index=1][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/import/12790762', snapshotUrls: [
'https://i.gkd.li/import/12790762',
'https://i.gkd.li/import/14219270',
],
}, },
], ],
}, },