feat(乐校通): 弹窗广告(补充规则) (#3013)

* chore 删除空行

* feat 弹窗广告(补充规则)
This commit is contained in:
Kun Jinkao
2023-12-11 19:59:47 +08:00
committed by GitHub
parent 8078103b35
commit 94d7c512eb

View File

@@ -16,33 +16,41 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
name: '应用内广告弹窗', name: '弹窗广告',
activityIds:
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
rules: [ rules: [
// 腾讯广告
{ {
key: 0, key: 0,
name: '腾讯广告',
activityIds:
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
matches: matches:
'ImageView - FrameLayout > ImageView +2 FrameLayout > ImageView', 'ImageView - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
snapshotUrls: 'https://i.gkd.li/import/13055837', snapshotUrls: 'https://i.gkd.li/import/13055837',
}, },
// 快手广告
{ {
key: 2, key: 1,
name: '快手广告-1',
activityIds: activityIds:
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity', 'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
matches: matches:
'[id="client.android.yixiaotong:id/ksad_tk_view"] >n ViewGroup + ViewGroup > @ViewGroup > ImageView', '[id="client.android.yixiaotong:id/ksad_tk_view"] >n ViewGroup + ViewGroup > @ViewGroup > ImageView',
snapshotUrls: 'https://i.gkd.li/import/13060116', 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, key: 2,
name: '卡片式广告', name: '卡片式广告',
rules: [ rules: [
{ {
key: 0, key: 0,