forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.cainiao.wireless.ts
More file actions
75 lines (74 loc) · 2.1 KB
/
com.cainiao.wireless.ts
File metadata and controls
75 lines (74 loc) · 2.1 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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.cainiao.wireless',
name: '菜鸟',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
activityIds: 'com.cainiao.wireless.homepage.view.activity.AdsActivity',
rules: [
{
matches: '[text^="跳过"][text.length<=4]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12901758',
'https://gkd-kit.gitee.io/import/12724823',
],
},
],
},
{
key: 1,
name: '包裹页面-弹窗广告',
quickFind: true,
activityIds: [
'com.taobao.cainiao.logistic.ui.view.LogisticDetailActivity',
],
rules: 'RelativeLayout > ImageView[desc="关闭"]',
snapshotUrls: ['https://i.gkd.li/import/12914371'],
},
{
key: 2,
name: '包裹页面-地图底部横条广告',
activityIds: [
'com.taobao.cainiao.logistic.ui.view.LogisticDetailActivity',
],
rules: 'View[desc="立即查看"] +2 ImageView[id=null]',
snapshotUrls: ['https://i.gkd.li/import/12914450'],
},
{
key: 3,
name: '寄包裹-弹窗广告',
enable: false,
activityIds: [
'com.alipay.mobile.nebulax.integration.mpaas.activity.NebulaActivity$Main',
],
rules: 'View + Image + View[text.length>0]',
snapshotUrls: ['https://i.gkd.li/import/13042279'],
},
{
key: 4,
name: '升级提示',
enable: false,
quickFind: true,
activityIds: [
'com.cainiao.wireless.homepage.view.activity.HomePageActivity',
],
rules: '[text="确认"] - [text="取消"]',
snapshotUrls: ['https://i.gkd.li/import/13042207'],
},
{
key: 5,
name: '开启消息弹窗',
desc: '自动点击关闭。',
enable: false,
quickFind: true,
activityIds: [
'com.cainiao.wireless.homepage.view.activity.HomePageActivity',
],
rules: '[id="com.cainiao.wireless:id/gg_dialog_base_close"]',
snapshotUrls: ['https://i.gkd.li/import/13068573'],
},
],
});