-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.miui.tsmclient.ts
More file actions
63 lines (62 loc) · 1.86 KB
/
Copy pathcom.miui.tsmclient.ts
File metadata and controls
63 lines (62 loc) · 1.86 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
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.miui.tsmclient',
name: '小米智能卡',
groups: [
{
key: 1,
name: '同意 移卡用户协议',
desc: '260503,添加 同意移出',
rules: [
{
resetMatch: 'match',
fastQuery: true,
activityIds: 'com.miui.tsmclient.ui.TransferOutIntroActivity',
matches:
'([vid="nextpay_transfer_out_ll_protocols"][desc^="同意"][checked=false]) || (@[vid="nextpay_transfer_out_chk_contracts"][checked=false] + [vid="transfer_out_intro_tv_protocols"][text^="同意"]) || ([vid="nextpay_transfer_out_chk_contracts"][checkable=true] < * + [vid="nextpay_transfer_out_btn_accept"][text="确定移出"])',
},
],
},
{
key: 2,
name: '提示 打开NFC,去设置',
desc: '260503',
rules: [
{
resetMatch: 'match',
fastQuery: true,
activityIds: 'com.miui.tsmclient.ui.MifareCardListActivity',
matches:
'[vid="message"][text="请开启NFC功能"] <<n * + * [id="android:id/button1"]',
},
],
},
{
key: 3,
name: '提示 移入移出成功,完成',
desc: '260503',
rules: [
{
resetMatch: 'match',
fastQuery: true,
activityIds: 'com.miui.tsmclient.ui.result.TransitResultActivity',
matches:
'[vid="center_content_tv"][text^="移" && text$="成功"] <<n * + * [vid="footer_op_btn"]',
},
],
},
{
key: 4,
name: '去开启NFC',
desc: '260505',
rules: [
{
resetMatch: 'match',
fastQuery: true,
activityIds: 'com.miui.tsmclient.ui.quick.DoubleClickActivity',
matches: '[vid="button_retry"][text="去开启NFC"]',
},
],
},
],
});