-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.sinovatech.unicom.ui.ts
More file actions
151 lines (150 loc) · 3.72 KB
/
Copy pathcom.sinovatech.unicom.ui.ts
File metadata and controls
151 lines (150 loc) · 3.72 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
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.sinovatech.unicom.ui',
name: '中国联通',
groups: [
{
key: 1,
name: '首页弹窗',
desc: '',
rules: [
{
matches: ['[text="广告"] + Image + Image'],
actionMaximum: 1,
resetMatch: 'match',
activityIds: ['com.sinovatech.unicom.basic.ui.activity.MainActivity'],
},
],
},
{
key: 2,
name: '半价话费',
desc: '251225',
rules: [
{
matches: ['[text="50元话费券"] +n * > [text="立即抢"]'],
resetMatch: 'match',
activityIds: [
'com.sinovatech.unicom.basic.ui.activity.WebDetailActivity',
],
},
],
},
{
key: 3,
name: '确认要离开收银台,确认离开',
desc: '260129',
rules: [
{
matches: ['[text="确认要离开收银台?"] +n * > [text="确认离开"]'],
fastQuery: true,
resetMatch: 'match',
activityIds: ['com.unicom.pay.normal.order.ui.WPOrderActivity'],
},
],
},
{
key: 4,
name: '放弃优惠',
desc: '260205',
rules: [
{
matches: ['@[text="放弃优惠"] +n [text="享受优惠"]'],
fastQuery: true,
resetMatch: 'match',
activityIds: ['com.unicom.pay.normal.order.ui.WPOrderActivity'],
},
],
},
{
key: 5,
name: '签到成功,关闭',
desc: '260303',
rules: [
{
matches: [
'[text*="签到成功" || text*="继续做任务"] +n [text="X8DC9OwtmT2bwAAAABJRU5ErkJggg=="]',
],
resetMatch: 'match',
activityIds: [
'com.sinovatech.unicom.basic.ui.activity.WebDetailActivity',
],
},
],
},
{
key: 6,
name: '签到后弹窗',
desc: '260228',
rules: [
{
matches: ['[text="b6RVEJpvijzQgAAAABJRU5ErkJggg=="]'],
resetMatch: 'match',
activityIds: [
'com.sinovatech.unicom.basic.ui.activity.WebDetailActivity',
],
},
],
},
{
key: 7,
name: '权益超市抽奖,弹窗',
desc: '260312',
rules: [
{
matches: ['@* > [text="close.8ce8930c"]'],
actionDelay: 1000,
resetMatch: 'match',
activityIds: [
'com.sinovatech.unicom.basic.ui.activity.WebDetailActivity',
],
},
],
},
{
key: 8,
name: '支付成功,完成',
desc: '260319',
rules: [
{
matches: ['[vid="wopay_pay_result_confirm_btn"][text="完成"]'],
fastQuery: true,
resetMatch: 'match',
activityIds: ['com.unicom.pay.modules.result.ui.WPPayResultActivity'],
},
],
},
{
key: 9,
name: '交费成功,退出',
desc: '260319',
rules: [
{
matches: [
'[vid="webdetail_title_textview"][text="交费完成"] < * + * > [vid="web_close"][desc="退出"]',
],
actionCd: 0,
fastQuery: true,
resetMatch: 'match',
activityIds: [
'com.sinovatech.unicom.basic.ui.activity.WebDetailActivity',
],
},
],
},
{
key: 10,
name: '新版本,暂不升级',
desc: '260503',
rules: [
{
resetMatch: 'match',
fastQuery: true,
activityIds: 'com.sinovatech.unicom.basic.ui.activity.MainActivity',
matches:
'[vid="custom_dialog_ok_button"] + [vid="custom_dialog_cancel_button"]',
},
],
},
],
});