From 2e503abb98f8899955f188345d51d63ccc39dbc6 Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 22 Feb 2024 12:07:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E5=BA=A6):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.baidu.duer.superapp.ts | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/apps/com.baidu.duer.superapp.ts b/src/apps/com.baidu.duer.superapp.ts index 2127d5a3..7698ede6 100644 --- a/src/apps/com.baidu.duer.superapp.ts +++ b/src/apps/com.baidu.duer.superapp.ts @@ -10,9 +10,25 @@ export default defineAppConfig({ matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: - 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', - snapshotUrls: 'https://i.gkd.li/import/14204175', + rules: [ + { + key: 0, + quickFind: true, + matches: '[text*="跳过"][text.length<10][clickable=true]', + exampleUrls: + 'https://m.gkd.li/57941037/017edf59-e705-4f92-9726-af7fec5aaf41', + snapshotUrls: 'https://i.gkd.li/i/14368528', + }, + { + key: 1, + actionCdKey: 0, + matches: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', + exampleUrls: + 'https://m.gkd.li/57941037/7d338956-f006-4775-a418-2ae6dc21ef9a', + snapshotUrls: 'https://i.gkd.li/i/14204175', + }, + ], }, ], });