From f78f7c367c01867910216556bbd5f450d4a7f03a Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sun, 19 Jan 2025 21:10:02 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E4=BA=AC=E4=B8=9C):=20=E5=85=A8=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=20(#726?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.jingdong.app.mall.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/com.jingdong.app.mall.ts b/src/apps/com.jingdong.app.mall.ts index 27b0d3193..6d238e3b6 100644 --- a/src/apps/com.jingdong.app.mall.ts +++ b/src/apps/com.jingdong.app.mall.ts @@ -116,10 +116,13 @@ export default defineGkdApp({ key: 0, activityIds: 'com.jingdong.app.mall.MainFrameActivity', matches: '@FrameLayout[clickable=true] > [desc="关闭"]', + excludeMatches: + '[text="确定" || text="加入购物车" || text*="购买" || text*="下单"][visibleToUser=true]', snapshotUrls: [ 'https://i.gkd.li/i/13165721', 'https://i.gkd.li/i/15364514', ], + excludeSnapshotUrls: 'https://i.gkd.li/i/18455760', //避免在activityIds为null时误触 }, { key: 1,