feat(高德地图): 开屏广告(优化规则)、更新弹窗 (#2173)

* feat 开屏广告(优化规则)

* feat 更新弹窗
This commit is contained in:
Kun Jinkao
2023-11-18 23:10:00 +08:00
committed by GitHub
parent 5b00ebcec9
commit 684953527b

View File

@@ -7,14 +7,38 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: 'com.autonavi.map.activity.NewMapActivity', quickFind: true,
rules: matchTime: 10000,
'[id="com.autonavi.minimap:id/fl_splash_container"] >n [text^="跳过"]', actionMaximum: 1,
resetMatch: 'app',
rules: '@LinearLayout > [text^="跳过"][text.length<=10]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/12667556', 'https://i.gkd.li/import/12667556',
'https://i.gkd.li/import/12750045', 'https://i.gkd.li/import/12750045',
], ],
}, },
{
key: 1,
name: '更新弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
key: 1,
name: '更新弹窗-1',
matches:
'@[id="com.autonavi.minimap:id/iv_close"] + * > [text^="立即升级"]',
snapshotUrls: 'https://i.gkd.li/import/13379094',
},
{
key: 2,
name: '更新弹窗-2',
matches: '@[text="取消"] + * + [text="去下载"]',
snapshotUrls: 'https://i.gkd.li/import/13379426',
},
],
},
{ {
key: 10, key: 10,
name: '首页-地图页面上方消息提醒', name: '首页-地图页面上方消息提醒',