From dc96f9f5c7601938f2fe612051b345508f53ee74 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 23 Mar 2024 17:49:07 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BA=AC=E4=B8=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.jingdong.app.mall.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/apps/com.jingdong.app.mall.ts b/src/apps/com.jingdong.app.mall.ts index 3df97856..b2359ea9 100644 --- a/src/apps/com.jingdong.app.mall.ts +++ b/src/apps/com.jingdong.app.mall.ts @@ -8,9 +8,15 @@ export default defineAppConfig({ { key: 1, name: '局部广告-购物车页面砸金蛋', - activityIds: 'com.jingdong.app.mall.MainFrameActivity', - rules: '[id="com.jd.lib.cart.feature:id/iv_egg_close"]', - snapshotUrls: 'https://i.gkd.li/i/12642266', + desc: '点击关闭', + rules: [ + { + quickFind: true, + activityIds: 'com.jingdong.app.mall.MainFrameActivity', + matches: '[id="com.jd.lib.cart.feature:id/iv_egg_close"]', + snapshotUrls: 'https://i.gkd.li/i/14731003', + }, + ], }, { key: 2, @@ -40,7 +46,7 @@ export default defineAppConfig({ key: 3, name: '局部广告-首页右侧浮层广告', activityIds: 'com.jingdong.app.mall.MainFrameActivity', - rules: 'RelativeLayout >n * > [desc^="关闭浮层"]', + rules: '[desc="关闭浮层icon"]', snapshotUrls: [ 'https://i.gkd.li/i/13165659', 'https://i.gkd.li/i/12837870', @@ -87,6 +93,7 @@ export default defineAppConfig({ }, { key: 1, + quickFind: true, activityIds: 'com.jd.lib.cashier.complete.view.CashierCompleteActivity', matches: