From 7e082d2d2063c2e9ba859263d34ee6bb911fe11d Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 30 Aug 2024 20:20:14 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=A4=A7=E5=AD=A6=E6=90=9C=E9=A2=98?= =?UTF-8?q?=E9=85=B1):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.zmzx.college.search.ts | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/apps/com.zmzx.college.search.ts b/src/apps/com.zmzx.college.search.ts index 723a3b0c..2647b885 100644 --- a/src/apps/com.zmzx.college.search.ts +++ b/src/apps/com.zmzx.college.search.ts @@ -7,26 +7,19 @@ export default defineGkdApp({ { key: 0, name: '开屏广告', + fastQuery: true, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - actionMaximumKey: 0, rules: [ { key: 0, + action: 'clickCenter', matches: '[text*="跳过"][text.length<10][visibleToUser=true]', - snapshotUrls: 'https://i.gkd.li/i/12867875', - }, - { - key: 1, - position: { - left: 'width * 0.8981', - top: 'width * 0.1574', - }, - matches: '[id="android:id/content"]', - exampleUrls: - 'https://m.gkd.li/57941037/45daad88-68a3-41b9-933a-943eeae0e4ff', - snapshotUrls: 'https://i.gkd.li/i/14434685', + snapshotUrls: [ + 'https://i.gkd.li/i/12867875', + 'https://i.gkd.li/i/16812698', + ], }, ], },