Squashed commit of the following:

commit c06cda4b7e680729f2153665e95d4ed360eb4d8a
Author: aisouler <zy43220@gmail.com>
Date:   Thu Jan 25 18:47:09 2024 +0800

    feat(饿了么):活动弹窗(补充规则)、规则分类
This commit is contained in:
aisouler
2024-02-01 18:44:32 +08:00
parent 99ec5e065e
commit 21d123df51

View File

@@ -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,