From c947301b9bf1eb1913a5aed6f14c9a5a29a9b047 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 16 Aug 2024 10:17:20 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E5=A4=A9=E6=B0=94):=20=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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.coloros.weather2.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/apps/com.coloros.weather2.ts b/src/apps/com.coloros.weather2.ts index 0d26cd19..a49da192 100644 --- a/src/apps/com.coloros.weather2.ts +++ b/src/apps/com.coloros.weather2.ts @@ -6,17 +6,24 @@ export default defineGkdApp({ groups: [ { key: 1, - name: '局部广告-卡片广告', + name: '分段广告-卡片广告', desc: '点击关闭', + fastQuery: true, + activityIds: 'com.oplus.weather.main.view.WeatherMainActivity', rules: [ { - fastQuery: true, - activityIds: 'com.oplus.weather.main.view.WeatherMainActivity', + key: 0, matches: '[vid="feed_close"]', exampleUrls: 'https://m.gkd.li/57941037/fc08493c-dec2-4534-9f61-3627aa337b30', snapshotUrls: 'https://i.gkd.li/i/14258190', }, + { + preKeys: [0], + matches: '@[clickable=true] > [text="不感兴趣"]', + exampleUrls: 'https://e.gkd.li/9137d262-7fda-4b57-a0bc-b9fa60634a22', + snapshotUrls: 'https://i.gkd.li/i/16631878', + }, ], }, ],