From 0ef68ac4f9d15ac9c4dbd7a6575ef8d523f74f31 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 9 May 2025 15:06:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=A9=E6=B0=94-=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E5=8D=A1=E7=89=87=E5=B9=BF=E5=91=8A=20#897?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.hihonor.android.totemweather.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/apps/com.hihonor.android.totemweather.ts b/src/apps/com.hihonor.android.totemweather.ts index 0a79f3cc..bb402716 100644 --- a/src/apps/com.hihonor.android.totemweather.ts +++ b/src/apps/com.hihonor.android.totemweather.ts @@ -23,5 +23,25 @@ export default defineGkdApp({ }, ], }, + { + key: 2, + name: '分段广告-卡片广告', + fastQuery: true, + activityIds: '.WeatherHome', + rules: [ + { + key: 0, + matches: '[vid="ads_tag"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/7f9ea2fc-bb89-4aeb-b569-9ddbbd95452b', + snapshotUrls: 'https://i.gkd.li/i/20116008', + }, + { + preKeys: [0], + matches: '[text="不感兴趣"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/38517cb1-c930-40cb-8c95-a4e1ecd57323', + snapshotUrls: 'https://i.gkd.li/i/20116013', + }, + ], + }, ], });