-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.greenpoint.android.mc10086.activity.ts
More file actions
122 lines (116 loc) · 3.04 KB
/
Copy pathcom.greenpoint.android.mc10086.activity.ts
File metadata and controls
122 lines (116 loc) · 3.04 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
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.greenpoint.android.mc10086.activity',
name: '中国移动',
groups: [
{
key: 1,
name: '开启推送通知',
desc: '',
rules: [
{
resetMatch: 'app',
fastQuery: true,
matches: ['@[vid="iv_top_close"] + [vid="rl_top_bg"]'],
activityIds: ['com.mc10086.cmcc.view.tabs.AppTabFragment'],
},
],
},
{
key: 2,
name: '更新',
desc: '260705',
rules: [
{
fastQuery: true,
resetMatch: 'match',
actionCd: 0,
activityIds: 'com.mc10086.cmcc.view.tabs.AppTabFragment',
matches:
'(@[text="暂不更新"] + [text="立即体验"]) || (LinearLayout > @Button[vid="dialog_btn1"][clickable=true][text="暂不更新"] + Button[vid="dialog_btn2"][visibleToUser=true][text="立即体验"])',
},
],
},
{
key: 3,
name: '弹窗',
desc: '',
rules: [
{
resetMatch: 'match',
fastQuery: true,
matches: ['[vid="close_btn"][desc="关闭"]'],
activityIds: ['com.mc10086.cmcc.view.tabs.AppTabFragment'],
},
],
},
{
key: 4,
name: '签到有礼',
desc: '',
rules: [
{
resetMatch: 'match',
matches: ['[text="恭喜您获得"] +3 [text="开心收下"] + TextView'],
activityIds: ['com.cmccit.webview.ac.CommonHtml5Activity'],
},
],
},
{
key: 5,
name: '获取验证码',
desc: '',
rules: [
{
actionMaximum: 1,
resetMatch: 'activity',
matches: ['[desc="获取验证码"]'],
activityIds: ['com.cmccit.webview.ac.CommonHtml5Activity'],
},
],
},
{
key: 6,
name: '兑换成功',
desc: '260304,添加兑换中,签到成功领奖',
rules: [
{
actionCd: 0,
resetMatch: 'match',
matches: [
'([text="兑换成功"] + Image) || (@* +2 * > [text="恭喜获得"]) || ([text="兑换中"] < * +n [text="我知道了"])',
],
activityIds: ['com.cmccit.webview.ac.CommonHtml5Activity'],
},
],
},
{
key: 7,
name: '签到奖励,X掉',
desc: '260402',
rules: [
{
resetMatch: 'match',
actionCd: 0,
activityIds: 'com.cmccit.webview.ac.CommonHtml5Activity',
matches:
'[text="累计签到奖励"] +n [text="去使用"] + *[clickable=true]',
},
],
},
{
key: 8,
name: '周三活动,弹窗',
desc: '260621',
rules: [
{
resetMatch: 'match',
fastQuery: true,
activityIds: 'com.mc10086.cmcc.view.tabs.AppTabFragment',
matches:
'ImageView[vid="ad_image"][desc="广告"] < RelativeLayout + ImageView[vid="close_btn"][desc="关闭"][clickable=true]',
},
],
},
],
});