From afc3f6e926fb13de7cc86eecf2a74a527fefbcb4 Mon Sep 17 00:00:00 2001 From: aisouler Date: Wed, 14 Feb 2024 19:03:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=A4=A9=E6=B0=94):=20=E5=B1=80=E9=83=A8?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E9=A1=B6=E9=83=A8=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=8D=A1=E7=89=87=EF=BC=88=E4=BF=AE=E5=A4=8D=E8=AF=AF=E8=A7=A6?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.android.totemweather.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/apps/com.huawei.android.totemweather.ts b/src/apps/com.huawei.android.totemweather.ts index e631b738..0f58c63e 100644 --- a/src/apps/com.huawei.android.totemweather.ts +++ b/src/apps/com.huawei.android.totemweather.ts @@ -64,13 +64,17 @@ export default defineAppConfig({ }, { key: 2, - name: '局部广告-顶部广告条', + name: '局部广告-顶部广告卡片', rules: [ { key: 0, + quickFind: true, activityIds: 'com.huawei.android.totemweather.WeatherMainActivity', - matches: '[vid="rl_close_pps"] > ImageView', - snapshotUrls: 'https://i.gkd.li/import/13800100', + matches: '@ImageView[visibleToUser=true] < [vid="rl_close_pps"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13800100', + 'https://i.gkd.li/import/14278462', // 使用visibleToUser=true防止在此页面误触 + ], }, ], },