fix(天气): 局部广告-顶部广告卡片(修复误触)

This commit is contained in:
aisouler
2024-02-14 19:03:25 +08:00
parent ef3614d68a
commit afc3f6e926

View File

@@ -64,13 +64,17 @@ export default defineAppConfig({
}, },
{ {
key: 2, key: 2,
name: '局部广告-顶部广告', name: '局部广告-顶部广告卡片',
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
activityIds: 'com.huawei.android.totemweather.WeatherMainActivity', activityIds: 'com.huawei.android.totemweather.WeatherMainActivity',
matches: '[vid="rl_close_pps"] > ImageView', matches: '@ImageView[visibleToUser=true] < [vid="rl_close_pps"]',
snapshotUrls: 'https://i.gkd.li/import/13800100', snapshotUrls: [
'https://i.gkd.li/import/13800100',
'https://i.gkd.li/import/14278462', // 使用visibleToUser=true防止在此页面误触
],
}, },
], ],
}, },