From f8ededa5fef65b3f4d5b23d2ea28450049a15c53 Mon Sep 17 00:00:00 2001 From: shanlanCoding <44717382+shanlanCoding@users.noreply.github.com> Date: Thu, 28 Sep 2023 19:52:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=98=93=E6=8D=B7=E5=8A=A0=E6=B2=B9):=20?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=20(#475)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 新增摩托范弹窗规则 * feat(摩托范): 弹窗广告-添加示例 * feat(易捷加油): app内弹窗广告 * feat(cellular_z): 开屏广告 --------- Co-authored-by: shanlan Co-authored-by: lisonge --- src/apps/cn.com.hkgt.gasapp.ts | 7 +++++++ src/apps/make.more.r2d2.cellular_z.ts | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/apps/cn.com.hkgt.gasapp.ts b/src/apps/cn.com.hkgt.gasapp.ts index 91c5da0a..c4d9df65 100644 --- a/src/apps/cn.com.hkgt.gasapp.ts +++ b/src/apps/cn.com.hkgt.gasapp.ts @@ -11,5 +11,12 @@ export default defineAppConfig({ rules: '[id="cn.com.hkgt.gasapp:id/mCountDownTextView"][text$="跳过"]', snapshotUrls: 'https://gkd-kit.songe.li/import/12740125', }, + { + key: 1, + name: '广告弹窗', + activityIds: 'cn.com.hkgt.gasapp.dialog.BannerDialog', + rules: 'ImageView[id="cn.com.hkgt.gasapp:id/exit"][clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12744270', + }, ], }); diff --git a/src/apps/make.more.r2d2.cellular_z.ts b/src/apps/make.more.r2d2.cellular_z.ts index 44a50afd..f645e049 100644 --- a/src/apps/make.more.r2d2.cellular_z.ts +++ b/src/apps/make.more.r2d2.cellular_z.ts @@ -19,5 +19,16 @@ export default defineAppConfig({ }, ], }, + { + key: 2, + name: '开屏广告-跳过按钮', + activityIds: 'make.more.r2d2.cellular_z.activity.SplashGMActivity', + rules: [ + { + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12747314', + }, + ], + }, ], });