-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.android.bankabc.ts
More file actions
206 lines (205 loc) · 6.75 KB
/
Copy pathcom.android.bankabc.ts
File metadata and controls
206 lines (205 loc) · 6.75 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
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.android.bankabc',
name: '中国农业银行',
groups: [
{
key: 1,
name: '首页弹窗',
desc: '260704',
rules: [
{
resetMatch: 'match',
actionCd: 0,
fastQuery: true,
activityIds: 'com.android.bankabc.MainActivity',
matches:
'([vid="iv_notification_reminder_dialog"] + [vid="iv_notification_reminder_dialog_close"][desc="进入掌银首页"]) || (ViewGroup > ImageView[vid="iv_notification_reminder_dialog"] + ImageView[vid="iv_notification_reminder_dialog_close"][clickable=true][visibleToUser=true][desc="进入掌银首页"])',
},
],
},
{
key: 2,
name: '允许获取位置信息,取消',
desc: '260702',
rules: [
{
resetMatch: 'match',
fastQuery: true,
actionCd: 0,
activityIds: 'com.android.bankabc.MainActivity',
matches:
'([vid="tv_title"][text*="位置"] +3 * [vid="tv_cancel"][text="取消"]) || (LinearLayout > TextView[vid="tv_title"][text="允许获取位置信息"] +n LinearLayout > TextView[vid="tv_cancel"][clickable=true][visibleToUser=true][text="取消"])',
},
],
},
{
key: 3,
name: '确认退出应用',
desc: '260702',
rules: [
{
resetMatch: 'app',
fastQuery: true,
activityIds: 'com.android.bankabc.MainActivity',
matches:
'(TextView[text*="退出应用"] +n TextView[vid="tv_sure"][text="确认"]) || (ViewGroup > TextView[vid="tv_content"][text*="退出应用"] +n TextView[vid="tv_sure"][clickable=true][visibleToUser=true][text="确认"])',
},
],
},
{
key: 4,
name: '茶饮优惠享-立即购买',
desc: '260702',
rules: [
{
resetMatch: 'match',
actionCd: 250,
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
matches:
'(WebView[text="茶影优惠享"] View[text="立即购买"][clickable=true]) || (WebView[text="茶影优惠享"] > View > View > View > View > View[clickable=true][visibleToUser=true][text="立即购买"])',
},
],
},
{
key: 5,
name: '茶饮优惠享-提交',
desc: '260702',
rules: [
{
resetMatch: 'match',
actionCd: 0,
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
matches:
'([text="茶影优惠享"] [text="提交订单"][clickable=true]) || (WebView > View > View > View > View > Button[clickable=true][visibleToUser=true][text="提交订单"])',
},
],
},
{
key: 6,
name: '商品已抢完',
desc: '',
rules: [
{
resetMatch: 'match',
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
matches: '[text^="本期活动商品已抢完"]',
action: 'back',
},
],
},
{
key: 7,
name: '同意授权',
desc: '260705',
rules: [
{
resetMatch: 'match',
actionCd: 0,
action: 'clickCenter',
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
matches:
'([id="auth-main"] > [text="拒绝"] + [text="同意授权"]) || (View > View + Button[text="拒绝"] + Button[clickable=true][visibleToUser=true][text="同意授权"])',
},
],
},
{
key: 8,
name: '车主弹窗',
desc: 'D',
rules: [
{
matches: ['* > [text="8BaplhYfHjrWAAAAAASUVORK5CYII="]'],
actionMaximum: 5,
resetMatch: 'match',
activityIds: ['com.alipay.mobile.nebulacore.ui.H5Activity'],
},
],
},
{
key: 9,
name: '游戏,我知道了',
desc: '251219,D,添加抽奖机会用完',
rules: [
{
action: 'back',
matches: [
'([text="岁末感恩扭扭蛋"] >n [text="svta36gxSfhe8oa7NDxe1IY0halKYx+WLrcKk1JEgbKKk0YEEPKSk0MEYDCak0Axuhdn5cN+l9D9BL6aCwaS+jTbtDYRmNpN6LRjdhGt7bS6IwWazR3Y6wwBhpjlDKHOH989AdXRuZ6RysjszOs52uCPFefrgn+gpKvRu+4GvlLmbUOHpwYU1ue52H5AAAAAElFTkSuQmCC"]) || ([text="抽奖机会已用完"] < * + * > [text="svta36gxSfhe8oa7NDxe1IY0halKYx+WLrcKk1JEgbKKk0YEEPKSk0MEYDCak0Axuhdn5cN+l9D9BL6aCwaS+jTbtDYRmNpN6LRjdhGt7bS6IwWazR3Y6wwBhpjlDKHOH989AdXRuZ6RysjszOs52uCPFefrgn+gpKvRu+4GvlLmbUOHpwYU1ue52H5AAAAAElFTkSuQmCC"]) || ([text="温馨提示"] +n [text="我知道了"] + *) || ([text="我知道了"])',
],
resetMatch: 'match',
activityIds: ['com.alipay.mobile.nebulacore.ui.H5Activity'],
},
],
},
{
key: 10,
name: '每日签到抽奖',
desc: '260423',
rules: [
{
actionMaximum: 1,
resetMatch: 'app',
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
matches:
'[id="beanAnswer"] > [text="a4613c7a03ec4aa1a32a00446de323ea9900032820260227"]',
},
],
},
{
key: 11,
name: '小豆立即抽奖',
desc: '260710,没抽是[clickable=true][text.length=0],没中奖是有提示[text="很遗憾,您未中奖"][clickable=false],抽过奖View[clickable=false]且有child,child是查看小豆[clickable=true],([text="每日抽小豆"] +2 View[childCount=0]) || ',
rules: [
{
actionMaximum: 1,
resetMatch: 'match',
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
matches:
'(WebView > View > View > View > View[text="每日抽小豆"] +2 View[clickable=true][visibleToUser=true][text.length=0])',
},
],
},
{
key: 12,
name: '信用卡弹窗',
desc: '251117',
rules: [
{
matches: ['[text="信用卡申请"] [text="7天内不再提示"] + Image'],
resetMatch: 'match',
activityIds: ['com.alipay.mobile.nebulacore.ui.H5Activity'],
},
],
},
{
key: 13,
name: '开启消息通知',
desc: '251120',
rules: [
{
matches: [
'[vid="dialog_notification_imageView"] +n [vid="dialog_notification_close"]',
],
fastQuery: true,
resetMatch: 'match',
activityIds: ['abc.feinno.uilibrary.activitys.PublicListActivity'],
},
],
},
{
key: 14,
name: '免责提示,知道了',
desc: '260218',
rules: [
{
matches: [
'[vid="tv_title"][text="免责提示"] +n [vid="tv_sure"][text="知道了"]',
],
fastQuery: true,
resetMatch: 'match',
activityIds: ['com.android.bankabc.MainActivity'],
},
],
},
],
});