From 94e66f6e260e6eac15d5360ac4e221df953ea505 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 15 Aug 2024 13:34:50 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E9=AD=94=E9=9F=B3MORIN):=20=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A-=E5=BC=B9=E7=AA=97=E5=B9=BF?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.feiyu.morin.ts | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/apps/com.feiyu.morin.ts b/src/apps/com.feiyu.morin.ts index 6f3fdc48..47a03284 100644 --- a/src/apps/com.feiyu.morin.ts +++ b/src/apps/com.feiyu.morin.ts @@ -13,19 +13,29 @@ export default defineGkdApp({ name: '腾讯广告', activityIds: 'com.feiyu.morin.view.main.MainActivity', matches: - 'ImageView - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', - snapshotUrls: 'https://i.gkd.li/i/13521556', + '[id="android:id/content"] >(3,4) FrameLayout[childCount>3] > FrameLayout[childCount=1] > ImageView[childCount=0][text=null]', + snapshotUrls: [ + 'https://i.gkd.li/i/13521556', + 'https://i.gkd.li/i/16621748', + ], }, { key: 1, name: '快手广告', + fastQuery: true, activityIds: 'com.feiyu.morin.view.main.MainActivity', - matches: [ - 'ViewGroup[childCount=2] > ImageView + [text="广告"]', - '@ViewGroup > [text="跳过"]', - ], + matches: ['[text="广告"]', '@ViewGroup > [text="跳过"]'], snapshotUrls: 'https://i.gkd.li/i/13546184', }, + { + key: 2, + fastQuery: true, + activityIds: 'com.feiyu.morin.view.main.MainActivity', + matches: + '@ViewGroup[clickable=true][childCount=1] < ViewGroup +2 ViewGroup > [text="广告"]', + exampleUrls: 'https://e.gkd.li/52f8dddd-3604-4144-96ce-804c66e77a19', + snapshotUrls: 'https://i.gkd.li/i/16621747', + }, ], }, {