feat(彩云天气): 全屏广告-弹窗广告(补充规则)

This commit is contained in:
AIsouler
2024-09-11 22:42:26 +08:00
parent 2b8175734f
commit f9cf99f7aa
2 changed files with 9 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ export default defineGkdApp({
fastQuery: true,
activityIds: 'com.autonavi.map.activity.NewMapActivity',
matches:
'@ImageView < ViewGroup[clickable=true] -2 * > View[text^="高德购票" && text$="优惠"] <<n [vid="mapInteractiveRelativeLayout"]',
'@ImageView[childCount=0] < ViewGroup[clickable=true] -2 * > View[text^="高德购票" && text$="优惠"] <<n [vid="mapInteractiveRelativeLayout"]',
exampleUrls: 'https://e.gkd.li/59408741-4847-4395-ace5-b1e14ee24cec',
snapshotUrls: 'https://i.gkd.li/i/16960157',
},

View File

@@ -36,9 +36,16 @@ export default defineGkdApp({
key: 1,
fastQuery: true,
matches:
'ImageView < @ViewGroup[clickable=true] <<n ViewGroup +n ViewGroup [text="广告"]',
'ImageView[childCount=0] < @ViewGroup[clickable=true][childCount=1] < ViewGroup <5 ViewGroup + ViewGroup [text="广告"]',
snapshotUrls: 'https://i.gkd.li/i/14814374',
},
{
key: 2,
fastQuery: true,
matches: '[vid="entrance_image"] + [vid="close"]',
exampleUrls: 'https://e.gkd.li/bd53a023-f83a-45ae-b58e-c7369f29bb2e',
snapshotUrls: 'https://i.gkd.li/i/16965108',
},
],
},
{