From 3fcfff7dbacbec4daa8fd96d4a738a7378bdaeff Mon Sep 17 00:00:00 2001 From: aoguai <34203474+aoguai@users.noreply.github.com> Date: Sun, 5 Nov 2023 23:06:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(PU=E5=8F=A3=E8=A2=8B=E6=A0=A1=E5=9B=AD):?= =?UTF-8?q?=20=E9=A6=96=E9=A1=B5-=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E3=80=81=E6=88=91=E7=9A=84-=E5=BC=B9=E7=AA=97=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96=20(#1857)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xyhui.ts | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/apps/com.xyhui.ts b/src/apps/com.xyhui.ts index b656ec69..e4ab3527 100644 --- a/src/apps/com.xyhui.ts +++ b/src/apps/com.xyhui.ts @@ -28,7 +28,7 @@ export default defineAppConfig({ }, { key: 1, - name: '首页-优量汇弹窗广告', + name: '首页-弹窗广告', matchLauncher: true, activityIds: [ 'com.xyhui.start.PUMainActivity', @@ -62,11 +62,20 @@ export default defineAppConfig({ 'https://gkd-kit.gitee.io/import/12646420', // 华为手机的快照,activityId = 'com.huawei.android.launcher.unihome.UniHomeLauncher' ], }, + { + key: 3, + matches: + '[text="广告"] n ViewGroup > ImageView', + snapshotUrls: [ + 'https://i.gkd.li/import/13259196', + 'https://i.gkd.li/import/13259198', + ], + }, ], }, { key: 2, - name: '首页-浮窗广告', + name: '首页-右侧浮窗广告', quickFind: true, activityIds: [ 'com.xyhui.start.PUMainActivity', @@ -99,8 +108,12 @@ export default defineAppConfig({ activityIds: [ 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', ], - rules: '[text="查看详情"] View', - snapshotUrls: ['https://i.gkd.li/import/13197443'], + rules: + '[text="查看详情"] [(name="android.widget.ImageView"&&clickable=false)||name="android.view.View"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13259183', + 'https://i.gkd.li/import/13259194', + ], }, ], });