From bcd6d05f3c602f64364ebae15176f4d500667d1c Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sat, 18 Nov 2023 23:06:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A5=E9=81=93=E4=B9=90=E8=B7=91):=20?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=20(#2170)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.lptiyu.tanke.ts | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/apps/com.lptiyu.tanke.ts b/src/apps/com.lptiyu.tanke.ts index ef01a664..25849680 100644 --- a/src/apps/com.lptiyu.tanke.ts +++ b/src/apps/com.lptiyu.tanke.ts @@ -18,38 +18,44 @@ export default defineAppConfig({ }, { key: 0, - name: '广告弹窗', + name: '弹窗广告', rules: [ { key: 0, + name: '腾讯广告-1', + matchLauncher: true, activityIds: 'com.lptiyu.tanke.activities.main.MainActivity', matches: '[id="com.lptiyu.tanke:id/interact_ad_root"] >n [id="com.lptiyu.tanke:id/iv_close"]', snapshotUrls: [ 'https://i.gkd.li/import/12829816', 'https://i.gkd.li/import/12869344', + 'https://i.gkd.li/import/13378925', ], }, { key: 1, + name: '腾讯广告-2', activityIds: 'com.lptiyu.tanke.activities.main.MainActivity', matches: 'ImageView - FrameLayout > FrameLayout > ImageView', snapshotUrls: 'https://i.gkd.li/import/13070801', }, { key: 2, + name: '快手广告', + activityIds: 'com.lptiyu.tanke.activities.splash.SplashActivity', + matches: + '[text="广告"] <2 ViewGroup -n ViewGroup > @ViewGroup[childCount=1] > ImageView', + snapshotUrls: 'https://i.gkd.li/import/13218232', + }, + { + key: 3, + name: '其他广告', activityIds: 'com.lptiyu.tanke.activities.splash.SplashActivity', matches: '@LinearLayout > [id="com.lptiyu.tanke:id/skip_parent_view"]', snapshotUrls: 'https://i.gkd.li/import/13166361', }, - { - key: 3, - activityIds: 'com.lptiyu.tanke.activities.splash.SplashActivity', - matches: - '[id="com.lptiyu.tanke:id/ksad_tk_view"] >n ViewGroup > @ViewGroup[clickable=true][childCount=1] > ImageView', - snapshotUrls: 'https://i.gkd.li/import/13218232', - }, ], }, ],