forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.jingyao.easybike.ts
53 lines (52 loc) · 1.92 KB
/
com.jingyao.easybike.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.jingyao.easybike',
name: '哈啰',
groups: [
// 预留 key 0-9
{
key: 10,
name: '应用内活动、广告弹窗(大部分)',
activityIds: ['com.hellobike.ads.widget.insert.dialog.HBAdvertDialog'],
rules:
'FrameLayout[id="com.jingyao.easybike:id/hbDialogLayout"] + ImageView[id="com.jingyao.easybike:id/actionDialogClose"][clickable=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12650028', // 哈啰出行保弹窗
'https://gkd-kit.gitee.io/import/12650090', // 账单查看弹窗
],
},
{
key: 11,
name: '哈啰智能电动车-广告弹窗',
activityIds: [
'com.hellobike.evehicle.business.main.EVehicleHomeManagerActivity',
],
rules:
'[id="com.jingyao.easybike:id/lottie_view"] < ViewGroup + [id="com.jingyao.easybike:id/btn_close"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12650163'],
},
{
key: 12,
name: '右侧悬浮广告',
activityIds: ['com.hellobike.atlas.business.portal.PortalActivity'],
rules:
'@[id="com.jingyao.easybike:id/closeFloatArea"] + [id="com.jingyao.easybike:id/floatADContainer"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12650071'],
},
{
key: 13,
name: '骑行订单完成-广告弹窗',
activityIds: ['com.alipay.mobile.nebulacore.ui.H5Activity'],
rules:
'[text="订单完成"] >(2) View[childCount=2] > Image[id=null][clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12684673'],
},
{
key: 14,
name: '骑行卡-优惠券弹窗',
activityIds: ['com.hellobike.atlas.business.portal.PortalActivity'],
rules: '[desc="去使用"] + Button[text=null][visibleToUser=true]',
snapshotUrls: ['https://gkd-kit.songe.li/import/12739316'],
},
],
});