From e8b96d69fae2a51e336145c18e1aaee52ea87e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=96=B9=E5=A4=9C=E8=B0=AD?= <152615144+tianfangyetan1@users.noreply.github.com> Date: Thu, 25 Sep 2025 12:48:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=BF=90=E5=8A=A8=E4=B8=96=E7=95=8C?= =?UTF-8?q?=E6=A0=A1=E5=9B=AD-=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A=20?= =?UTF-8?q?=E7=AD=892=E4=B8=AA=E6=9B=B4=E6=96=B0=20(#1187)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AIsouler --- .../com.zjwh.android_wh_physicalfitness.ts | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/apps/com.zjwh.android_wh_physicalfitness.ts b/src/apps/com.zjwh.android_wh_physicalfitness.ts index 534c7366..e33e98fc 100644 --- a/src/apps/com.zjwh.android_wh_physicalfitness.ts +++ b/src/apps/com.zjwh.android_wh_physicalfitness.ts @@ -105,5 +105,40 @@ export default defineGkdApp({ }, ], }, + { + key: 11, + name: '分段广告-卡片广告', + desc: '点击关闭-不感兴趣', + activityIds: '.mvi.home.HomeActivity', + rules: [ + { + key: 0, + matches: + '@Image[childCount=0][visibleToUser=true][width<60&&height<60] < View[childCount=1] - View >3 [text="广告"]', + snapshotUrls: 'https://i.gkd.li/i/22514469', + }, + { + preKeys: [0], + fastQuery: true, + matches: '@[clickable=true] > [text="不感兴趣"][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/22514499', + }, + ], + }, + { + key: 12, + name: '通知提示-公告', + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + activityIds: '.mvi.home.HomeActivity', + matches: '@ImageView[vid="dialog_close"] +n [text*="公告"]', + snapshotUrls: 'https://i.gkd.li/i/22526467', + }, + ], + }, ], });