feat: 公交实时定位-开屏广告

This commit is contained in:
AIsouler
2025-06-18 20:56:50 +08:00
parent 70d0f3b135
commit ddbf9347b3

View File

@@ -0,0 +1,28 @@
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.cdxzy.gjssdw',
name: '公交实时定位',
groups: [
{
key: 1,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
priorityTime: 10000,
rules: [
{
fastQuery: true,
anyMatches: [
'@View[text=null][clickable=true][childCount=0][visibleToUser=true][width<200&&height<200] +(1,2) TextView[index=parent.childCount.minus(1)][childCount=0] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
'FrameLayout > FrameLayout[childCount>2] > @View[text=null][clickable=true][childCount=0][visibleToUser=true][width<200&&height<200] +(1,2) TextView[index=parent.childCount.minus(1)][childCount=0][visibleToUser=true]',
],
exampleUrls: 'https://e.gkd.li/71b97b0e-053c-4338-b82a-530c4b759c1c',
snapshotUrls: 'https://i.gkd.li/i/20796307',
excludeSnapshotUrls: 'https://i.gkd.li/i/20796034', // 全局规则在此误触
},
],
},
],
});