mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-23 10:15:31 +08:00
perf: 弹窗广告 (适配fastQuery)
This commit is contained in:
@@ -7,16 +7,25 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 2,
|
||||
name: '全屏广告-弹窗广告',
|
||||
desc: '点击右上角x',
|
||||
activityIds: 'com.zhl.bmi.MainActivity',
|
||||
desc: '点击关闭',
|
||||
fastQuery: true,
|
||||
activityIds: 'com.zhl.bmi.MainActivity',
|
||||
rules: [
|
||||
'@ImageView < FrameLayout[childCount=1] <(2,3) FrameLayout <(1,2) FrameLayout < FrameLayout < [id="android:id/content"]',
|
||||
],
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13255787',
|
||||
'https://i.gkd.li/i/13255786',
|
||||
'https://i.gkd.li/i/13542343', //第二条规则
|
||||
{
|
||||
key: 0,
|
||||
matches:
|
||||
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null][parent.childCount>3] +n FrameLayout >(1,2) [text^="立即" || text="查看详情" || text="了解更多" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13255787',
|
||||
'https://i.gkd.li/i/13255786',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
matches:
|
||||
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null] - FrameLayout[childCount>2] >3 [text^="立即" || text$="应用" || text="了解更多" || text="查看详情"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13542343',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user