feat(京东): 首页-浮层广告规则优化、首页-弹窗广告 (#1407)

This commit is contained in:
aoguai
2023-10-26 22:56:43 +08:00
committed by GitHub
parent 1f1b3ab945
commit b1f23db6cf

View File

@@ -40,18 +40,12 @@ export default defineAppConfig({
key: 3, key: 3,
name: '首页-浮层广告', name: '首页-浮层广告',
activityIds: 'com.jingdong.app.mall.MainFrameActivity', activityIds: 'com.jingdong.app.mall.MainFrameActivity',
rules: [ rules: 'RelativeLayout >n * > [desc^="关闭浮层"]',
{ snapshotUrls: [
key: 0, 'https://i.gkd.li/import/13165659',
matches: 'https://i.gkd.li/import/12837870',
'@[desc^="关闭浮层"] <n * < [id="com.jingdong.app.mall:id/home_float_layout"]', 'https://i.gkd.li/import/13072091',
snapshotUrls: 'https://i.gkd.li/import/12837870', 'https://i.gkd.li/import/12837870',
},
{
key: 1,
matches: '[desc="浮层活动"] + [desc="关闭浮层icon"]',
snapshotUrls: 'https://i.gkd.li/import/13072091',
},
], ],
}, },
{ {
@@ -72,6 +66,14 @@ export default defineAppConfig({
}, },
], ],
}, },
{
enable: false,
key: 5,
name: '首页-弹窗广告',
activityIds: 'com.jingdong.app.mall.MainFrameActivity',
rules: 'FrameLayout > [desc="关闭"]',
snapshotUrls: ['https://i.gkd.li/import/13165721'],
},
{ {
enable: false, enable: false,
key: 10, key: 10,