feat(IT之家): 局部广告-卡片广告、更新提示

This commit is contained in:
AIsouler
2024-05-23 15:58:50 +08:00
parent ef6679bdbe
commit f235d623c3

View File

@@ -6,10 +6,18 @@ export default defineGkdApp({
groups: [ groups: [
{ {
key: 1, key: 1,
name: '局部广告-资讯页信息流广告', name: '局部广告-卡片广告',
activityIds: 'com.ruanmei.ithome.ui.MainActivity', matchTime: 10000,
rules: '[id="hongbaotips"] +n @View > [text="关闭"]', actionMaximum: 1,
snapshotUrls: 'https://i.gkd.li/i/13167193', resetMatch: 'app',
rules: [
{
quickFind: true,
activityIds: 'com.ruanmei.ithome.ui.MainActivity',
matches: '@[text="关闭"][visibleToUser=true] <<n [vid="ll_web"]',
snapshotUrls: 'https://i.gkd.li/i/15413491',
},
],
}, },
{ {
key: 2, key: 2,
@@ -38,5 +46,20 @@ export default defineGkdApp({
}, },
], ],
}, },
{
key: 3,
name: '更新提示',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
quickFind: true,
activityIds: 'com.ruanmei.ithome.ui.MainActivity',
matches: '[vid="btn_dialog_upgrade_ignore"]',
snapshotUrls: 'https://i.gkd.li/i/15413494',
},
],
},
], ],
}); });