-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmb.pb.ts
More file actions
749 lines (748 loc) · 21.7 KB
/
Copy pathcmb.pb.ts
File metadata and controls
749 lines (748 loc) · 21.7 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'cmb.pb',
name: '招商银行',
groups: [
{
key: 1,
name: '开启消息通知',
desc: '260105,增加IDS',
rules: [
{
matches: ['[vid="title"][text="开启消息通知"] + [vid="close_btn"]'],
actionCd: 0,
fastQuery: true,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.mainframe.container.PBMainActivity',
'com.cmb.zh.ui.mbank.im.activitys.messagecenter.MessageCenterActivity',
],
},
],
},
{
key: 2,
name: '领任务界面,我要抽奖',
desc: '260706,clickable=false',
rules: [
{
resetMatch: 'match',
actionCd: 0,
actionMaximum: 1,
action: 'click',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'WebView > View > View > View > View > TextView[clickable=false][visibleToUser=true][text="我要抽奖"]',
},
],
},
{
key: 3,
name: '基金收益到银行卡',
desc: '260627',
rules: [
{
resetMatch: 'match',
action: 'clickCenter',
preKeys: [15],
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'([text$="可点击"] + [text="发放到银行卡"]) || (WebView[text="收益奖励发放方式"] > View > View > TextView + TextView[text="发放到银行卡"][clickable=false])',
},
],
},
{
key: 4,
name: '周三5折必胜客',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)必胜客50元代金券"] +n * > [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 5,
name: '周三5折肯德基',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)肯德基20元代金券"] +n * > [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 6,
name: '周三5折喜茶',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)喜茶20元代金券"] +n * > [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 7,
name: '周三5折哈根达斯',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)哈根达斯50元代金券"] +n * > [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 8,
name: '周三5折',
desc: '260105,单个和列表整合在一起, || text*="开抢提醒"',
rules: [
{
matches: [
'([text="(周三5折)哈根达斯50元代金券" || text="(周三5折)肯德基20元代金券" || text="(周三5折)喜茶20元代金券" || text="(周三5折)必胜客50元代金券"] +n [text*="立即抢购"]) || ([text="(周三5折)哈根达斯50元代金券" || text="(周三5折)肯德基20元代金券" || text="(周三5折)喜茶20元代金券" || text="(周三5折)必胜客50元代金券"] +n * > [text*="立即抢购"])',
],
actionCd: 0,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 9,
name: '周三5折列表模式',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)必胜客50元代金券" || text="(周三5折)肯德基20元代金券" || text="(周三5折)喜茶20元代金券" || text="(周三5折)哈根达斯50元代金券" ] +6 [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 10,
name: '周三5折列表必胜客',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)必胜客50元代金券"] +6 [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 11,
name: '周三5折列表肯德基',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)肯德基20元代金券"] +6 [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 12,
name: '周三5折列表哈根达斯',
desc: 'D',
rules: [
{
matches: [
'[text="(周三5折)哈根达斯50元代金券"] +6 [text*="立即抢购"]',
],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 13,
name: '周三5折列表喜茶',
desc: 'D',
rules: [
{
matches: ['[text="(周三5折)喜茶20元代金券"] +6 [text*="立即抢购"]'],
actionCdKey: 8,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 14,
name: '卖光了',
desc: '[text^="(周三5折)"] +n * > [text*="卖光了"]',
rules: [
{
action: 'back',
matches: [
'[text="(周三5折)必胜客50元代金券" || text="(周三5折)肯德基20元代金券" || text="(周三5折)喜茶20元代金券" || text="(周三5折)哈根达斯50元代金券"] +n * > [text*="卖光了"]',
],
actionCdKey: 8,
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 15,
name: '收益奖励发放方式,我已阅读',
desc: '260627',
rules: [
{
resetMatch: 'match',
action: 'clickCenter',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'([text="收益奖励发放方式"] >n [text="我已阅读"]) || ([text="recommend.f43217f6"] < View + [text="我已阅读"]) || (WebView[text="收益奖励发放方式"] > View > View > @TextView[clickable=false] + TextView[text^="已阅读并同意"] + View + Button[text="提交"][clickable=true][visibleToUser=true])',
},
],
},
{
key: 16,
name: '收益奖励将免费发放到您这张银行卡,提交',
desc: '260627,D,([text="收益奖励将免费发放到您这张银行卡:"] +n * > [text="提交"]) || 容易和输入密码冲突',
rules: [
{
preKeys: [3],
action: 'clickCenter',
resetMatch: 'match',
actionCd: 0,
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'(TextView[text="收益奖励将免费发放到您这张银行卡:"] < View <2 WebView[text="收益奖励发放方式"] > View > View > [text="提交"][clickable=true][visibleToUser=true])',
},
],
},
{
key: 17,
name: '加自选,我知道了',
desc: '',
rules: [
{
matches: [
'[vid="ll_dialgo_app_gray_bg"] [vid="btn_positive"][text="我知道了"]',
],
actionCdKey: 1,
fastQuery: true,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 18,
name: '弹窗',
desc: '251120,动态text',
rules: [
{
matches: ['[text$="秒后关闭"] +n @TextView + [text="广告"]'],
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 19,
name: '恭喜中奖啦',
desc: '260525,clickCenter不行',
rules: [
{
resetMatch: 'match',
actionCd: 100,
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'(@Button + [text*="恭喜"] +n [text="返回"]) || (@Button + [text^="恭喜"] +n [text="立即查看"])',
},
],
},
{
key: 20,
name: '奖品已抢光,返回',
desc: '260403',
rules: [
{
order: -1,
action: 'back',
resetMatch: 'match',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches: '[text="奖品已抢光"]',
},
],
},
{
key: 21,
name: '基金体验金,立即使用',
desc: '260627',
rules: [
{
resetMatch: 'match',
actionCd: 0,
action: 'clickCenter',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'(TextView[text$="基金体验金"] < View +(1,3) View[id="useBtn"] > Button[text="立即使用"][clickable=true]) || (WebView[text="券详情"] > View > View > View > View > Button[text="立即使用"][clickable=true][visibleToUser=true])',
},
],
},
{
key: 22,
name: '红包一键提现',
desc: '251117,一键提现,确认提现到账户',
rules: [
{
matches: [
'([text="待提现红包"] + [text="一键提现"]) || ([text="确认提现到账户"])',
],
actionCdKey: 1,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 23,
name: '抢购失败',
desc: '251119',
rules: [
{
action: 'back',
matches: [
'[text="抢购失败"] + [text="库存不足啦,感谢您的参与,换个商品试试呀"]',
],
actionCdKey: 8,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 24,
name: '抢购失败,再试一次',
desc: '251119',
rules: [
{
matches: ['[text="抢购失败"] +2 * > [text="再试一次"]'],
actionCdKey: 8,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 25,
name: '确定不再关注',
desc: '251203',
rules: [
{
matches: [
'[text="确定不再关注?"] < * + [text="取消"] + [text="确定"]',
],
actionCdKey: 1,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 26,
name: '月月领挑自己想要的奖品,准点,选择奖品',
desc: '260118',
rules: [
{
matches: [
'[text="活动奖品"] + [text*="可领取以下奖品中的1件"] +n * [text="选择奖品"]',
],
actionCd: 100,
actionMaximum: 1,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 27,
name: '月月领挑自己想要的奖品,选择奖品弹窗',
desc: '260118',
rules: [
{
preKeys: [26],
matches: [
'[text="请选择奖品"] + [text="您本次可以选择1件奖品"] + [text="已选0/1"] + * [text*="26.8元消费返现券"]',
],
actionCdKey: 26,
actionMaximum: 1,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 28,
name: '弹窗2',
desc: '251212',
rules: [
{
matches: [
'([vid="alertTitle"] +n * > [vid="buttonNegative"][text="拒绝"]) || ([text="1762179375715243693"] + Image)',
],
resetMatch: 'match',
activityIds: ['com.pb.tpstore.PBAppletWebViewActivity'],
},
],
},
{
key: 29,
name: '月月领挑自己想要的奖品,选择弹窗弹窗,确认领取',
desc: '260118',
rules: [
{
preKeys: [27],
matches: [
'[text="请选择奖品"] + [text^="您本次可以选择1件奖品"] + [text="已选1/1"] +n [text="确认领取"][focusable=true]',
],
actionCdKey: 26,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 30,
name: '月月领挑自己想要的奖品,误触弹窗',
desc: '260118,D',
rules: [
{
matches: [
'[id="design_prd_popup_mask"] [text*="元消费返现券(单笔满"] + TextView',
],
actionCdKey: 26,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 31,
name: '抽奖领任务页面,加自选 任务',
desc: '260706,clickable=true',
rules: [
{
resetMatch: 'match',
action: 'clickCenter',
actionCd: 0,
matches:
'(WebView > View > View > View > Button[clickable=true][visibleToUser=true][text="去加自选"]) || (WebView > View > View > View > Button[clickable=true][visibleToUser=true][text="加自选"]) || (WebView > View > View > View > View > Button[clickable=true][visibleToUser=true][text="加自选"])',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
},
],
},
{
key: 32,
name: '去分享',
desc: '260322',
rules: [
{
matches: [
'([text="分享指定文章"] +n [text="去分享"]) || ([text="分享招财号文章"] +n * > [text="去分享"])',
],
actionCdKey: 1,
resetMatch: 'match',
activityIds: [
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
],
},
],
},
{
key: 33,
name: '分享到,微信好友',
desc: '260706,clickable=true',
rules: [
{
resetMatch: 'match',
actionCd: 0,
actionMaximum: 1,
action: 'clickCenter',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'View > Button[clickable=true][visibleToUser=true][text="微信好友"]',
},
],
},
{
key: 34,
name: '删除定制计划',
desc: '260602',
rules: [
{
actionCd: 0,
resetMatch: 'match',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'(Button[text="管理"]) || ([text="修改"] + [text="暂停"] + [text="终止"]) || ([text="确定终止该定投计划吗?"] +n * > [text="确定"])',
},
],
},
{
key: 35,
name: '基金页面下方,添加自选1',
desc: '260706,clickable=true',
rules: [
{
action: 'clickCenter',
actionCd: 0,
actionMaximum: 1,
resetMatch: 'match',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'(WebView > View > View > View > View > Button[clickable=true][visibleToUser=true][text="自选"])',
},
],
},
{
key: 36,
name: '添加自选成功,返回',
desc: '260601',
rules: [
{
actionCd: 0,
resetMatch: 'match',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches: 'TextView[text="添加自选成功"][visibleToUser=true]',
action: 'back',
},
],
},
{
key: 37,
name: '资讯分享任务,微信好友',
desc: '260706,clickable=false',
rules: [
{
resetMatch: 'match',
actionCd: 0,
actionMaximum: 1,
action: 'click',
activityIds: 'com.pb.livestream.NewLiveStreamListActivity',
matches:
'View[clickable=false] > TextView[clickable=false][visibleToUser=true][text="微信好友"]',
},
],
},
{
key: 38,
name: '超风险及高风险产品定投确认,确认继续定投',
desc: '260602',
rules: [
{
resetMatch: 'match',
actionCdKey: 1,
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches: '([text$="定投确认"] < * +n [text="确认继续定投"])',
},
],
},
{
key: 39,
name: '定投,阅读并确认以下文件,确认',
desc: '260602,增加风险确认',
rules: [
{
actionCdKey: 1,
resetMatch: 'match',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'([text="请阅读并确认以下文件"] < * +n * > [text="已阅读并确认"])',
},
],
},
{
key: 40,
name: '我的自选 ,全选',
desc: '260424',
rules: [
{
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
actionMaximum: 1,
resetMatch: 'match',
matches: '@*[clickable=true][checked=false] + [text="全选"]',
},
],
},
{
key: 41,
name: '我的自选,全选 删除',
desc: '260424',
rules: [
{
resetMatch: 'match',
preKeys: [40],
actionMaximum: 1,
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches: '[text="全选"] + * > [text^="删除(" && text$=") "]',
},
],
},
{
key: 42,
name: '我的自选,全选 删除,勾选同步解除分组',
desc: '260424',
rules: [
{
resetMatch: 'match',
actionMaximum: 1,
preKeys: [41],
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches: '[text="同步解除您的自选自建分组"]',
},
],
},
{
key: 43,
name: '我的自选,全选 删除,勾选同步解除分组,确认',
desc: '260424',
rules: [
{
resetMatch: 'match',
actionMaximum: 1,
preKeys: [42],
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches: '[text="同步解除您的自选自建分组"] <n * + * > [text="确定"]',
},
],
},
{
key: 44,
name: '基金页面,加自选2',
desc: '260706,clickable=false',
rules: [
{
resetMatch: 'match',
action: 'click',
actionCd: 0,
actionMaximum: 1,
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'(WebView > View > View > View > View > TextView[clickable=false][visibleToUser=true][text="加自选"])',
},
],
},
{
key: 45,
name: '讨论,取消勾选 同步到动态',
desc: '260706,clickable=false',
rules: [
{
resetMatch: 'match',
actionCd: 0,
actionMaximum: 1,
action: 'click',
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'View > @TextView[clickable=false][visibleToUser=true] + TextView[text="同步到动态"]',
},
],
},
{
key: 46,
name: '一键提现,最多15个红包,确认',
desc: '260706,clickable=true',
rules: [
{
resetMatch: 'match',
action: 'clickCenter',
actionCd: 0,
activityIds:
'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity',
matches:
'TextView[text*="提现15个红包"] < View + View > Button[clickable=true][visibleToUser=true][text="确认"]',
},
],
},
],
});