fix(微信): 订阅号广告不生效

This commit is contained in:
AIsouler
2024-02-28 23:53:55 +08:00
parent da8c7df92c
commit 1dca5763f0

View File

@@ -590,11 +590,13 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '点击[广告]', name: '点击[广告]',
actionCd: 3000,
action: 'clickCenter', action: 'clickCenter',
position: { position: {
left: 'width * 0.8796', left: 'width * 0.8796',
top: 'width * 0.0574', top: 'width * 0.0574',
}, },
excludeMatches: '[desc="订阅号消息"] +(2, 3) View[clickable=true]',
matches: matches:
'View[visibleToUser=true] - View > [desc="广告"][visibleToUser=true]', 'View[visibleToUser=true] - View > [desc="广告"][visibleToUser=true]',
exampleUrls: exampleUrls:
@@ -610,9 +612,7 @@ export default defineAppConfig({
left: 'width * 0.5308', left: 'width * 0.5308',
top: 'width * 0.3419', top: 'width * 0.3419',
}, },
excludeMatches: matches: '[desc="订阅号消息"] +(2, 3) View[clickable=true]',
'View[visibleToUser=true] - View > [desc="广告"][visibleToUser=true]', // 排除key 0
matches: '[desc="订阅号消息"] +3 View[clickable=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/147a847a-e556-403d-8da0-2ba7233caaec', 'https://m.gkd.li/57941037/147a847a-e556-403d-8da0-2ba7233caaec',
snapshotUrls: 'https://i.gkd.li/i/14434906', snapshotUrls: 'https://i.gkd.li/i/14434906',
@@ -626,12 +626,13 @@ export default defineAppConfig({
left: 'width * 0.1864', left: 'width * 0.1864',
top: 'width * 0.3419', top: 'width * 0.3419',
}, },
excludeMatches: matches: '[desc="订阅号消息"] +(2, 3) View[clickable=true]',
'View[visibleToUser=true] - View > [desc="广告"][visibleToUser=true]', // 排除key 0
matches: '[desc="订阅号消息"] +2 View[clickable=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/489ecd00-5aa1-421e-bcf5-c1b73601f8df', 'https://m.gkd.li/57941037/489ecd00-5aa1-421e-bcf5-c1b73601f8df',
snapshotUrls: 'https://i.gkd.li/i/14434903', snapshotUrls: [
'https://i.gkd.li/i/14434903',
'https://i.gkd.li/i/14436385',
],
}, },
{ {
preKeys: 2, preKeys: 2,
@@ -642,9 +643,7 @@ export default defineAppConfig({
left: 'width * 0.8580', left: 'width * 0.8580',
top: 'width * 0.1197', top: 'width * 0.1197',
}, },
excludeMatches: matches: '[desc="订阅号消息"] +(2, 3) View[clickable=true]',
'View[visibleToUser=true] - View > [desc="广告"][visibleToUser=true]', // 排除key 0
matches: '[desc="订阅号消息"] +2 View[clickable=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/2c3ce057-dd99-493b-9486-3a056b74223d', 'https://m.gkd.li/57941037/2c3ce057-dd99-493b-9486-3a056b74223d',
snapshotUrls: 'https://i.gkd.li/i/14434902', snapshotUrls: 'https://i.gkd.li/i/14434902',