From 21d123df51c40337a6bb65cd67648b5a68f0b6d6 Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 1 Feb 2024 18:44:32 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit c06cda4b7e680729f2153665e95d4ed360eb4d8a Author: aisouler Date: Thu Jan 25 18:47:09 2024 +0800 feat(饿了么):活动弹窗(补充规则)、规则分类 --- src/apps/me.ele.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/apps/me.ele.ts b/src/apps/me.ele.ts index 5c7f455a..bddbb9db 100644 --- a/src/apps/me.ele.ts +++ b/src/apps/me.ele.ts @@ -7,7 +7,7 @@ export default defineAppConfig({ groups: [ { key: 1, - name: '版本更新', + name: '更新提示', quickFind: true, // matchTime: 10000, 部分更新提示不在10s内 actionMaximum: 1, @@ -22,7 +22,7 @@ export default defineAppConfig({ }, { key: 2, - name: '红包弹窗', + name: '全屏广告-红包弹窗', rules: [ { key: 0, @@ -57,7 +57,7 @@ export default defineAppConfig({ }, { key: 4, - name: '活动弹窗', + name: '全屏广告-活动弹窗', quickFind: true, rules: [ { @@ -96,11 +96,17 @@ export default defineAppConfig({ 'https://i.gkd.li/import/13710591', ], }, + { + key: 4, + activityIds: 'me.ele.application.ui.Launcher.LauncherActivity', + matches: '@ImageView <2 [vid="id_magex_mistview"]', + snapshotUrls: 'https://i.gkd.li/import/14050401', + }, ], }, { key: 5, - name: '付款后广告弹窗', + name: '全屏广告-付款后广告弹窗', quickFind: true, activityIds: 'me.ele.component.pops2.TransparentAppWebActivity', rules: 'bb Button[text="关闭"]', @@ -108,7 +114,7 @@ export default defineAppConfig({ }, { key: 6, - name: '吃货卡续费弹窗', + name: '全屏广告-吃货卡续费弹窗', quickFind: true, activityIds: 'me.ele.component.webcontainer.view.AppUCWebActivity', rules: '@View + View >2 [text="买校园版超级吃货卡"]', @@ -116,7 +122,7 @@ export default defineAppConfig({ }, { key: 7, - name: '首页-底部浮窗广告', + name: '局部广告-首页底部浮窗广告', activityIds: 'me.ele.application.ui.Launcher.LauncherActivity', rules: 'LinearLayout >n FrameLayout >n ViewGroup[childCount=3] + ViewGroup[clickable=true]', @@ -124,7 +130,7 @@ export default defineAppConfig({ }, { key: 8, - name: '开启定位提醒', + name: '定位提示', desc: '自动点击X', enable: false, quickFind: true,