From 325d762010befdba6ab66476eb5afa189a765524 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Tue, 31 Oct 2023 00:19:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A5=BF=E4=BA=86=E4=B9=88):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E4=BB=98=E6=AC=BE=E5=90=8E?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=20(#1611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(饿了么): 开屏广告、付款后广告弹窗 * feat(饿了么): 更新弹窗 --------- Co-authored-by: 二刺螈 close #1600 --- src/apps/me.ele.ts | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/apps/me.ele.ts b/src/apps/me.ele.ts index 9c5a5ede..5f268f6f 100644 --- a/src/apps/me.ele.ts +++ b/src/apps/me.ele.ts @@ -7,17 +7,26 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'me.ele.application.ui.splash.SplashActivity', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: '[id="me.ele:id/skip_button"]', snapshotUrls: 'https://i.gkd.li/import/12534930', }, { key: 1, name: '更新弹窗', - activityIds: 'com.afollestad.materialdialogs.MaterialDialog', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + matchDelay: 3000, rules: '[text*="更新应用版本"] < ScrollView + [text="取消"][focusable=true]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12650280', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12650280', + 'https://gkd-kit.gitee.io/import/13206819', + ], }, { enable: false, @@ -44,5 +53,13 @@ export default defineAppConfig({ '[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', + }, ], });