From 94742024fe248087f7fe45ab1f40802b24cde3bc Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Sat, 21 Oct 2023 23:10:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8A=A8=E5=8D=A1=E7=A9=BA=E9=97=B4):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=BC=B9=E7=AA=97,=E9=80=9A=E7=9F=A5=E5=BC=B9=E7=AA=97=20(#125?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(动卡空间): 开屏广告 * feat(动卡空间): 弹窗 * feat(动卡空间): 规则优化 --------- Co-authored-by: lisonge --- src/apps/com.citiccard.mobilebank.ts | 37 ++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/src/apps/com.citiccard.mobilebank.ts b/src/apps/com.citiccard.mobilebank.ts index df8759a4..4749cb13 100644 --- a/src/apps/com.citiccard.mobilebank.ts +++ b/src/apps/com.citiccard.mobilebank.ts @@ -8,11 +8,44 @@ export default defineAppConfig({ key: 0, name: '开屏广告', activityIds: ['com.citiccard.mobilebankapp.WelcomeActivity'], + quickFind: true, + rules: [ + { + matches: '[id="com.citiccard.mobilebank:id/btn_skip"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12684908'], + }, + { + matches: '[id="com.citiccard.mobilebank:id/jump"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13049013'], + }, + ], + }, + { + key: 1, + name: '广告弹窗', + activityIds: [ + 'com.citiccard.mobilebank.card.activity.BillDetailHomeActivity', + ], + quickFind: true, + rules: [ + { + matches: '[id="com.citiccard.mobilebank:id/iv_bill_home_cancel"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13049284'], + }, + ], + }, + { + key: 2, + name: '通知权限弹窗', + activityIds: [ + 'com.citiccard.mobilebank.card.activity.BillDetailHomeActivity', + ], + quickFind: true, rules: [ { matches: - '[id="com.citiccard.mobilebank:id/iv_popAdv"] + [id="com.citiccard.mobilebank:id/btn_skip"][text$="跳过"]', - snapshotUrls: ['https://gkd-kit.gitee.io/import/12684908'], + '[id="com.citiccard.mobilebank:id/ll_app_upgrade_content"] + [id="com.citiccard.mobilebank:id/iv_close"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13049283'], }, ], },