feat(wps): 文档结尾广告s (#2718)

close #2693
This commit is contained in:
walklty
2023-12-03 16:39:01 +08:00
committed by GitHub
parent c106100e86
commit b30c7ac064

View File

@@ -103,5 +103,26 @@ export default defineAppConfig({
}, },
], ],
}, },
{
key: 5,
name: '文档末尾广告',
activityIds: [
'cn.wps.moffice.writer.multiactivity.Writer', //Writer1,Writer2...
],
rules: [
{
key: 1,
matches:
'[id="cn.wps.moffice_eng:id/doc_end_ad_container_main"] >2 [id="cn.wps.moffice_eng:id/btn_close"]',
snapshotUrls: 'https://i.gkd.li/import/13513911',
},
{
preKeys: 1,
key: 2,
matches: '[text="关闭当前广告"]',
snapshotUrls: 'https://i.gkd.li/import/13513914',
},
],
},
], ],
}); });