Files
AIsouler-GKD_subscription/src/apps/me.ele.ts
Kun Jinkao 62e9c251ef feat(饿了么): 红包弹窗(优化规则)、吃货卡续费弹窗 (#1937)
* feat 红包弹窗(优化规则)

* feat 吃货卡续费弹窗
2023-11-09 23:50:16 +08:00

86 lines
2.4 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'me.ele',
name: '饿了么',
deprecatedKeys: [3],
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="me.ele:id/skip_button"]',
snapshotUrls: 'https://i.gkd.li/import/12534930',
},
{
key: 1,
name: '更新弹窗',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
matchDelay: 3000,
rules:
'[text*="更新应用版本"] < ScrollView + [text="取消"][focusable=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12650280',
'https://gkd-kit.gitee.io/import/13206819',
],
},
{
enable: false,
key: 2,
name: '红包弹窗',
rules: [
{
key: 0,
name: '红包弹窗1',
activityIds: [
'me.ele.component.pops2.Pops2MistDialog',
'me.ele.component.webcontainer.view.AppUCWebActivity',
],
matches:
'@ImageView[id=null][clickable=true] - ViewGroup >(5) ViewGroup[childCount=5]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12650238',
'https://i.gkd.li/import/13294893',
],
},
{
key: 1,
name: '红包弹窗2',
activityIds: 'me.ele.newretail.pack.ui.activity.PackActivity',
matches: '[desc$="今日红包"] +(n) [desc$="关闭"][clickable=true]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12650713',
},
],
},
{
key: 4,
name: '首页活动弹窗',
activityIds: 'me.ele.component.pops2.Pops2MistDialog',
rules:
'[id="me.ele:id/id_magex_mistview"] > ImageView + ImageView[id=null][clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/12726709',
},
{
key: 5,
name: '付款后广告弹窗',
quickFind: true,
activityIds: 'me.ele.component.pops2.TransparentAppWebActivity',
rules: 'bb Button[text="关闭"]',
snapshotUrls: 'https://i.gkd.li/import/13205301',
},
{
key: 6,
name: '吃货卡续费弹窗',
quickFind: true,
activityIds: 'me.ele.component.webcontainer.view.AppUCWebActivity',
rules: '@View + View >2 [text="买校园版超级吃货卡"]',
snapshotUrls: 'https://i.gkd.li/import/13295007',
},
],
});