@@ -21,95 +21,38 @@ export default defineGkdApp({
21
21
} ,
22
22
{
23
23
key : 2 ,
24
- name : '全屏广告-弹窗广告' ,
24
+ name : '全屏广告-首页弹窗广告' ,
25
+ matchTime : 10000 ,
26
+ actionMaximum : 1 ,
27
+ resetMatch : 'app' ,
28
+ activityIds : [
29
+ '.ui.activity.HomeActivity' ,
30
+ '.ui.activity.MainFrameActivity' ,
31
+ ] ,
25
32
rules : [
26
33
{
27
- key : 3 ,
34
+ key : 1 ,
35
+ name : '首页弹窗1' ,
28
36
fastQuery : true ,
29
37
action : 'back' ,
30
- activityIds : [
31
- '.ui.activity.HomeActivity' ,
32
- '.ui.activity.MainFrameActivity' ,
33
- ] ,
34
38
matches :
35
- '[text="开心收下" || text="去抢购" || text="立即抽免单" || text="去刮奖" || text="立即领取" || text="去领大额金币" || text="送你大额现金" || text*="红包助手" || text="刮刮卡发来的消息通知"][visibleToUser=true]' ,
36
- snapshotUrls : [
37
- 'https://i.gkd.li/i/13625441' ,
38
- 'https://i.gkd.li/i/13761182' ,
39
- 'https://i.gkd.li/i/13944165' ,
40
- 'https://i.gkd.li/i/14456101' ,
41
- 'https://i.gkd.li/i/14596990' ,
42
- 'https://i.gkd.li/i/14614135' ,
43
- 'https://i.gkd.li/i/15360330' ,
44
- 'https://i.gkd.li/i/15032649' ,
45
- 'https://i.gkd.li/i/15076322' ,
46
- 'https://i.gkd.li/i/17564786' ,
47
- 'https://i.gkd.li/i/17585645' ,
48
- 'https://i.gkd.li/i/17625608' ,
49
- ] ,
50
- } ,
51
- {
52
- key : 4 ,
53
- fastQuery : true ,
54
- activityIds : 'com.xunmeng.pinduoduo.ui.activity.HomeActivity' ,
55
- matches :
56
- '@ViewGroup[clickable=true] - ViewGroup[childCount=3] >2 [text="其他"]' ,
57
- snapshotUrls : 'https://i.gkd.li/i/15103543' ,
39
+ 'ImageView[visibleToUser=true][width<120][height<120] <<(1,2,3) @ViewGroup[childCount=1][clickable=true] <<n ViewGroup[visibleToUser=true][vid="pdd"]' ,
40
+ exampleUrls : 'https://e.gkd.li/1d6f07ff-15b6-4a87-80de-79a712aebea0' ,
41
+ snapshotUrls : 'https://i.gkd.li/i/18481318' ,
58
42
} ,
59
43
{
60
- key : 5 ,
44
+ key : 2 ,
45
+ name : '首页弹窗2' ,
61
46
fastQuery : true ,
62
- activityIds : 'com.xunmeng.pinduoduo.activity.NewPageMaskActivity' ,
63
- matches : [
64
- '[text="继续拼单"]' ,
65
- '@[clickable=true] > [text="先去逛逛"]' ,
66
- ] ,
67
- snapshotUrls : [
68
- 'https://i.gkd.li/i/15197527' ,
69
- 'https://i.gkd.li/i/15211473' ,
70
- ] ,
71
- } ,
72
- {
73
- key : 6 ,
74
- activityIds : 'com.xunmeng.pinduoduo.ui.activity.HomeActivity' ,
75
- matches : '[text="上滑看视频得现金"] - [text="webp"]' ,
76
- snapshotUrls : 'https://i.gkd.li/i/13809053' ,
77
- } ,
78
- {
79
- key : 7 ,
80
- matchTime : 10000 ,
81
- actionMaximum : 1 ,
82
- resetMatch : 'app' ,
83
- activityIds : [
84
- '.ui.activity.HomeActivity' ,
85
- '.ui.activity.MainFrameActivity' ,
86
- ] ,
87
- matches :
88
- 'ImageView[childCount=0] < ViewGroup[childCount=1] < @ViewGroup[childCount=1][clickable=true][visibleToUser=true] < ViewGroup <(1,2) ViewGroup < ViewGroup < FrameLayout < FrameLayout < FrameLayout < FrameLayout < FrameLayout <(1,2,3) [parent=null]' ,
89
- exampleUrls : 'https://e.gkd.li/f74b5f58-e518-4e33-bbb4-0bf28e2b79d8' ,
90
- snapshotUrls : [
91
- 'https://i.gkd.li/i/17528782' ,
92
- 'https://i.gkd.li/i/17655498' ,
93
- 'https://i.gkd.li/i/17893977' ,
94
- ] ,
95
- } ,
96
- {
97
- key : 8 ,
98
- matchTime : 10000 ,
99
- actionMaximum : 1 ,
100
- resetMatch : 'app' ,
101
- activityIds : '.ui.activity.HomeActivity' ,
47
+ action : 'back' ,
102
48
matches :
103
- '@ViewGroup[childCount=1][clickable=true] < ViewGroup[childCount=2] < [childCount=1] < [childCount=1] < [childCount=1] < [childCount=1] < [childCount=1] < [childCount=1] < [childCount=1] <2 FrameLayout <2 [parent=null]' ,
104
- exampleUrls : 'https://e.gkd.li/e5428072-9ee3-47e9-87ad-d8b47e24f173' ,
105
- snapshotUrls : 'https://i.gkd.li/i/17773799' ,
49
+ '@ImageView[visibleToUser=true][width<120][height<120][clickable=true] <<(1,2,3) ViewGroup[childCount=1] <<n ViewGroup[visibleToUser=true][vid="pdd"]' ,
50
+ snapshotUrls : 'https://i.gkd.li/i/14456101' ,
106
51
} ,
52
+
107
53
{
108
- key : 9 ,
109
- matchTime : 10000 ,
110
- actionMaximum : 1 ,
111
- resetMatch : 'app' ,
112
- activityIds : '.ui.activity.HomeActivity' ,
54
+ key : 3 ,
55
+ name : '首页弹窗3' ,
113
56
matches :
114
57
'@ImageView[index=0][vid="pdd"][childCount=0][visibleToUser=true][width<120&&height<120] < RelativeLayout[childCount=2] < FrameLayout[childCount=1] < FrameLayout[childCount=1] < [parent=null]' ,
115
58
exampleUrls : 'https://e.gkd.li/64f35ab7-37e1-4060-aa91-468116a42cae' ,
@@ -346,5 +289,42 @@ export default defineGkdApp({
346
289
} ,
347
290
] ,
348
291
} ,
292
+ {
293
+ key : 22 ,
294
+ name : '全屏广告-商品页弹窗' ,
295
+ fastQuery : true ,
296
+ activityIds : 'com.xunmeng.pinduoduo.activity.NewPageMaskActivity' ,
297
+ rules : [
298
+ {
299
+ key : 1 ,
300
+ matches : [
301
+ '[text="继续拼单"]' ,
302
+ '@[clickable=true] > [text="先去逛逛"]' ,
303
+ ] ,
304
+ snapshotUrls : [
305
+ 'https://i.gkd.li/i/15197527' ,
306
+ 'https://i.gkd.li/i/15211473' ,
307
+ ] ,
308
+ } ,
309
+ ] ,
310
+ } ,
311
+ {
312
+ key : 23 ,
313
+ name : '全屏广告-多多视频弹窗' ,
314
+ fastQuery : true ,
315
+ activityIds : '.ui.activity.HomeActivity' ,
316
+ rules : [
317
+ {
318
+ key : 1 ,
319
+ matches :
320
+ '[text="开心收下" || text="去抢购" || text="立即抽免单" || text="去刮奖" || text="立即领取" || text="去领大额金币" || text="送你大额现金" || text*="红包助手" || text="刮刮卡发来的消息通知" || text="上滑看视频得现金"][visibleToUser=true]' ,
321
+ snapshotUrls : [
322
+ 'https://i.gkd.li/i/13625441' ,
323
+ 'https://i.gkd.li/i/13944165' ,
324
+ 'https://i.gkd.li/i/13809053' ,
325
+ ] ,
326
+ } ,
327
+ ] ,
328
+ } ,
349
329
] ,
350
330
} ) ;
0 commit comments