From 41a7f50d84e0390efc2f9788b14841c6041edf0e Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 2 Mar 2024 23:36:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B9=90=E6=A0=A1=E9=80=9A):=20=E5=B1=80?= =?UTF-8?q?=E9=83=A8=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=8C=E9=83=A8=E5=88=86=E8=A7=84=E5=88=99GKD1.7?= =?UTF-8?q?=E6=9C=89=E6=95=88=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/client.android.yixiaotong.ts | 34 +++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/src/apps/client.android.yixiaotong.ts b/src/apps/client.android.yixiaotong.ts index 2b984ff4..83320c5d 100644 --- a/src/apps/client.android.yixiaotong.ts +++ b/src/apps/client.android.yixiaotong.ts @@ -42,12 +42,15 @@ export default defineAppConfig({ { key: 2, name: '局部广告-卡片式广告', + activityIds: [ + 'client.android.yixiaotong.v3.ui.V3MainActivity', + 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathControlActivity', + 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', + ], rules: [ { key: 0, name: '腾讯广告', - activityIds: - 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', matches: 'ImageView - FrameLayout - FrameLayout[childCount=1] > ImageView[childCount=0]', snapshotUrls: 'https://i.gkd.li/i/13451010', @@ -55,12 +58,35 @@ export default defineAppConfig({ { key: 1, name: '快手广告', - activityIds: - 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', matches: '[id="client.android.yixiaotong:id/ksad_container"] >n @TextView + View > [text="广告"]', snapshotUrls: 'https://i.gkd.li/i/13450887', }, + { + key: 2, + matches: + 'FrameLayout[childCount=3] > FrameLayout > ImageView[visibleToUser=true]', + exampleUrls: + 'https://m.gkd.li/57941037/ad8a1bbf-61b5-4a7e-8e16-5e0092f04b8c', + snapshotUrls: 'https://i.gkd.li/i/14469848', + }, + { + key: 3, + quickFind: true, + action: 'clickCenter', + position: { + left: 'width * 0.9585', + top: 'width * 0.0424', + }, + matches: '[vid="native_ad_tpbt_image_iv"]', + exampleUrls: + 'https://m.gkd.li/57941037/ed6c2c12-ac17-40cc-9842-3dbc2a477d15', + snapshotUrls: [ + 'https://i.gkd.li/i/14469800', + 'https://i.gkd.li/i/14469876', + 'https://i.gkd.li/i/14469878', + ], + }, ], }, {