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,