import { defineGkdApp } from '@gkd-kit/define'; export default defineGkdApp({ id: 'me.ele', name: '饿了么', groups: [ { key: 1, name: '更新提示', fastQuery: true, // matchTime: 10000, 部分更新提示不在10s内 actionMaximum: 1, resetMatch: 'app', // matchDelay: 3000, 想不起来为啥加的了,先删掉 rules: ['[text*="更新应用版本"]', '[text="取消"]'], snapshotUrls: [ 'https://i.gkd.li/i/12650280', 'https://i.gkd.li/i/13206819', ], }, { key: 2, name: '全屏广告-红包弹窗', rules: [ { key: 0, name: '红包弹窗1', fastQuery: true, activityIds: [ 'me.ele.component.pops2.Pops2MistDialog', 'me.ele.component.webcontainer.view.AppUCWebActivity', 'me.ele.application.ui.Launcher.LauncherActivity', 'me.ele.application.ui.GeneralSettingsActivity', 'me.ele.shopdetailv2.ShopDetailV2Activity', 'me.ele.foodchannel.page.WMChannelNativeActivity', ], matches: 'ViewGroup[childCount=2] > @ImageView[index=1][clickable=true] <n ViewGroup[childCount=6] > View[index=5]', snapshotUrls: [ 'https://i.gkd.li/i/13476611', 'https://i.gkd.li/i/13523541', ], }, { key: 3, activityIds: 'me.ele.application.ui.Launcher.LauncherActivity', matches: 'ViewGroup[clickable=true] - TextView[text="放弃"]', snapshotUrls: [ 'https://i.gkd.li/i/13710574', 'https://i.gkd.li/i/13710591', ], }, { key: 4, activityIds: 'me.ele.pha.shell.ui.ElePhaActivity', matches: 'WebView >4 View[childCount=2] > @View[clickable=true] > Image[childCount=0] <2 [text="买校园版超级吃货卡"]', snapshotUrls: 'https://i.gkd.li/i/13295007', }, { key: 7, name: '局部广告-首页底部浮窗广告', fastQuery: true, activityIds: 'me.ele.application.ui.Launcher.LauncherActivity', rules: '@ViewGroup[childCount=0][clickable=true][visibleToUser=true] - ViewGroup[childCount=3] <