-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathclient.android.yixiaotong.ts
92 lines (91 loc) · 3.48 KB
/
client.android.yixiaotong.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'client.android.yixiaotong',
name: '乐校通',
groups: [
{
key: 1,
name: '全屏广告-弹窗广告',
rules: [
{
key: 0,
name: '腾讯广告',
fastQuery: true,
activityIds:
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
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/13055837',
},
{
key: 1,
name: '快手广告-1',
activityIds:
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
matches:
'[id="client.android.yixiaotong:id/ksad_tk_view"] >n ViewGroup + ViewGroup > @ViewGroup > ImageView',
snapshotUrls: 'https://i.gkd.li/i/13060116',
},
{
key: 2,
name: '快手广告-2',
fastQuery: true,
matches:
'ImageView[childCount=0][text=null] < @ViewGroup[childCount=1][clickable=true][visibleToUser=true] < ViewGroup +n ViewGroup[childCount=2] > [text="广告"]',
snapshotUrls: 'https://i.gkd.li/i/13625511',
},
],
},
{
key: 2,
name: '局部广告-卡片广告',
activityIds: [
'client.android.yixiaotong.v3.ui.V3MainActivity',
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathControlActivity',
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
],
rules: [
{
key: 0,
name: '腾讯广告',
matches:
'ImageView - FrameLayout - FrameLayout[childCount=1] > ImageView[childCount=0]',
snapshotUrls: 'https://i.gkd.li/i/13451010',
},
{
key: 1,
name: '快手广告',
fastQuery: true,
matches:
'@TextView[clickable=true][childCount=0][visibleToUser=true] + View > [visibleToUser=true][text="广告"] <<n [id="client.android.yixiaotong:id/ksad_container"]',
snapshotUrls: 'https://i.gkd.li/i/13450887',
},
{
key: 2,
fastQuery: true,
matches:
'@ImageView[childCount=0][visibleToUser=true] < FrameLayout[childCount=1] - LinearLayout[childCount=2] > [text="下载应用" || text="立即下载" || text="查看详情" || text="领取优惠" || text="进入小程序" || text="了解更多"][visibleToUser=true]',
exampleUrls:
'https://m.gkd.li/57941037/ad8a1bbf-61b5-4a7e-8e16-5e0092f04b8c',
snapshotUrls: 'https://i.gkd.li/i/14469848',
},
{
key: 3,
fastQuery: true,
position: {
left: 'width * 0.9585',
top: 'width * 0.0424',
},
matches: '[vid="native_ad_tpbt_image_iv"]',
exampleUrls:
'https://m.gkd.li/57941037/ed6c2c12-ac17-40cc-9842-3dbc2a477d15',
snapshotUrls: [
'https://i.gkd.li/i/14469800',
'https://i.gkd.li/i/14469876',
'https://i.gkd.li/i/14469878',
],
},
],
},
],
});