mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(哈啰): 应用内活动广告弹窗, 哈啰智能电动车,右侧悬浮广告 (#167)
This commit is contained in:
38
src/apps/com.jingyao.easybike.ts
Normal file
38
src/apps/com.jingyao.easybike.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
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'],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user