From 2b2ece907a315e37ef3d60752e0693d8164aa0c1 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:44:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=B6=A3=E6=99=BA=E6=A0=A1=E5=9B=AD):=20?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=20(#2842)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.klcxkj.zqxy.ts | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/apps/com.klcxkj.zqxy.ts b/src/apps/com.klcxkj.zqxy.ts index 74e8b5b7..f281cdc5 100644 --- a/src/apps/com.klcxkj.zqxy.ts +++ b/src/apps/com.klcxkj.zqxy.ts @@ -6,7 +6,7 @@ export default defineAppConfig({ groups: [ { key: 1, - name: '第三方 SDK 广告弹窗', + name: '弹窗广告', rules: [ { key: 0, @@ -22,8 +22,10 @@ export default defineAppConfig({ }, { key: 1, + name: '腾讯广告-1', activityIds: 'com.klcxkj.zqxy.ui.main.MainActivity', - matches: 'ImageView -n FrameLayout > FrameLayout > ImageView', + matches: + 'ImageView -(1,2) FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', snapshotUrls: [ 'https://i.gkd.li/import/12781461', 'https://i.gkd.li/import/13488673', @@ -31,27 +33,36 @@ export default defineAppConfig({ }, { key: 2, - activityIds: [ - 'com.klcxkj.zqxy.ui.main.MainActivity', - 'com.klcxkj.zqxy.ui.device.apartment.ble.BathingBleActivity', - ], + name: '腾讯广告-2', + activityIds: 'com.klcxkj.zqxy.ui.main.MainActivity', matches: - 'ImageView < FrameLayout[childCount=1] - FrameLayout > @FrameLayout[childCount=1] > ImageView', + 'ImageView <(1,2) FrameLayout - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', snapshotUrls: [ + 'https://i.gkd.li/import/13546464', 'https://i.gkd.li/import/13071301', 'https://i.gkd.li/import/13274836', ], }, { key: 3, + name: '腾讯广告-3', + activityIds: + 'com.klcxkj.zqxy.ui.device.apartment.ble.BathingBleActivity', + matches: + 'ImageView -n FrameLayout > FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', + snapshotUrls: 'https://i.gkd.li/import/13274836', + }, + { + key: 4, + name: '字节广告', activityIds: 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', matches: '@Image[text=""] < View +n View > View > TextView[text="广告"]', - snapshotUrls: 'https://i.gkd.li/import/12781461', }, { - key: 4, + key: 5, + name: '吉欣广告', activityIds: 'com.klcxkj.zqxy.ui.splash.SplashActivity', matches: '@ViewGroup < ViewGroup +2 ViewGroup > [text="吉欣广告"]', snapshotUrls: 'https://i.gkd.li/import/13274838',