-
-
Notifications
You must be signed in to change notification settings - Fork 204
/
Copy pathcom.alibaba.android.rimet.ts
95 lines (94 loc) · 2.47 KB
/
com.alibaba.android.rimet.ts
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
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.alibaba.android.rimet',
name: '钉钉',
groups: [
{
key: 1,
name: '局部广告-消息列表上方广告',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
matches:
'@FrameLayout > [id="com.alibaba.android.rimet:id/icft_close"]',
snapshotUrls: 'https://i.gkd.li/i/13325125',
},
],
},
{
key: 2,
name: '功能类-文件即将过期提示',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
matches:
'@FrameLayout[id="com.alibaba.android.rimet:id/layout_close"] -2 TextView[text="文件即将过期请备份"]',
action: 'clickCenter',
snapshotUrls: 'https://i.gkd.li/i/13325125',
},
],
},
{
key: 3,
name: '功能类-自动点击原图',
fastQuery: true,
actionMaximum: 1,
activityIds:
'com.alibaba.android.dingtalk.photoui.activitys.AlbumActivity',
rules: [
{
key: 0,
matches:
'CheckBox[id="com.alibaba.android.rimet:id/cb_send_origin"][text="原图"][checked=false]',
snapshotUrls: [
'https://i.gkd.li/i/13309648', //未选中 [checked=false]
'https://i.gkd.li/i/13309845', //已选中 [checked=true]
],
},
],
},
{
key: 4,
name: '更新提示',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
matches: '@Button[text*="暂不更新"] + Button[text*="更新"]',
snapshotUrls: 'https://i.gkd.li/i/13402478',
},
{
matches:
'TextView[id="com.alibaba.android.rimet:id/dialog_close_button"]',
snapshotUrls: 'https://i.gkd.li/i/13772151',
},
],
},
{
key: 5,
name: '功能类-扫码自动登录桌面版',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'activity',
activityIds: 'com.alibaba.android.user.qrcode.WebLoginActivity',
rules: [
{
matches: '[id="com.alibaba.android.rimet:id/btn_login"]',
snapshotUrls: 'https://i.gkd.li/i/13433981',
},
],
},
],
});