From 79b0c77420173a936da923b32d35c89cfcdf14b9 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Wed, 1 Nov 2023 00:31:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BA=AC=E4=B8=9C):=20=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=BC=B9=E7=AA=97-=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96=20(#165?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.jingdong.app.mall.ts | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/apps/com.jingdong.app.mall.ts b/src/apps/com.jingdong.app.mall.ts index e178f6e2..d7562041 100644 --- a/src/apps/com.jingdong.app.mall.ts +++ b/src/apps/com.jingdong.app.mall.ts @@ -67,12 +67,24 @@ export default defineAppConfig({ ], }, { - enable: false, key: 5, - name: '首页-弹窗广告', - activityIds: 'com.jingdong.app.mall.MainFrameActivity', - rules: 'FrameLayout > [desc="关闭"]', - snapshotUrls: ['https://i.gkd.li/import/13165721'], + name: '广告弹窗', + rules: [ + { + key: 0, + activityIds: 'com.jingdong.app.mall.MainFrameActivity', + matches: 'FrameLayout > [desc="关闭"]', + snapshotUrls: 'https://i.gkd.li/import/13165721', + }, + { + key: 1, + activityIds: + 'com.jd.lib.cashier.complete.view.CashierCompleteActivity', + matches: + '[id="com.jingdong.app.mall:id/webview"] + [id="com.jingdong.app.mall:id/close"][desc="关闭页面"]', + snapshotUrls: 'https://i.gkd.li/import/13218034', + }, + ], }, { enable: false,