From 94d7c512eb7197ce4ecd2d68d4d11760e78b1cee Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 11 Dec 2023 19:59:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B9=90=E6=A0=A1=E9=80=9A):=20=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=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=89=20(#3013)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore 删除空行 * feat 弹窗广告(补充规则) --- src/apps/client.android.yixiaotong.ts | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/apps/client.android.yixiaotong.ts b/src/apps/client.android.yixiaotong.ts index c286ac5a..1a8d5e0a 100644 --- a/src/apps/client.android.yixiaotong.ts +++ b/src/apps/client.android.yixiaotong.ts @@ -16,33 +16,41 @@ export default defineAppConfig({ }, { key: 1, - name: '应用内广告弹窗', - activityIds: - 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', + name: '弹窗广告', rules: [ - // 腾讯广告 { key: 0, + name: '腾讯广告', + activityIds: + 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', matches: - 'ImageView - FrameLayout > ImageView +2 FrameLayout > ImageView', + 'ImageView - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', snapshotUrls: 'https://i.gkd.li/import/13055837', }, - - // 快手广告 { - key: 2, + key: 1, + name: '快手广告-1', activityIds: 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', matches: '[id="client.android.yixiaotong:id/ksad_tk_view"] >n ViewGroup + ViewGroup > @ViewGroup > ImageView', snapshotUrls: 'https://i.gkd.li/import/13060116', }, + { + key: 2, + name: '快手广告-2', + activityIds: [], + matches: [ + 'ViewGroup[childCount=2] > ImageView + [text="广告"]', + 'ViewGroup[childCount=1] > @ViewGroup[childCount=1] > ImageView[childCount=0]', + ], + snapshotUrls: 'https://i.gkd.li/import/13625511', + }, ], }, { key: 2, name: '卡片式广告', - rules: [ { key: 0,