From fd6a1344f5b7b22bd878d0b2d4e182ecad9e163a Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sun, 15 Dec 2024 12:59:37 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E7=95=AA=E8=8C=84=E5=85=8D=E8=B4=B9?= =?UTF-8?q?=E5=B0=8F=E8=AF=B4):=20=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A-?= =?UTF-8?q?=E9=98=85=E8=AF=BB=E9=A1=B5=E9=9D=A2=E5=B9=BF=E5=91=8A=20(#616)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.dragon.read.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/apps/com.dragon.read.ts b/src/apps/com.dragon.read.ts index 04426162..186b6a80 100644 --- a/src/apps/com.dragon.read.ts +++ b/src/apps/com.dragon.read.ts @@ -15,8 +15,13 @@ export default defineGkdApp({ rules: [ { key: 1, - matches: '@ImageView - LinearLayout TextView[text="广告"]', - snapshotUrls: 'https://i.gkd.li/i/12908734', + fastQuery: true, + matches: + '@ImageView[childCount=0][clickable=true][visibleToUser=true] - LinearLayout >(2,3) [text="广告" || text="立享优惠"]', + snapshotUrls: [ + 'https://i.gkd.li/i/12908734', + 'https://i.gkd.li/i/18138903', + ], }, { key: 2,