From 998eef6503a68b45a464fba4d1e3391ced4206b8 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 26 Nov 2025 14:31:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8D=8E=E4=B8=BA=E8=BF=90=E5=8A=A8?= =?UTF-8?q?=E5=81=A5=E5=BA=B7-=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A=20#1488?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.health.ts | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/src/apps/com.huawei.health.ts b/src/apps/com.huawei.health.ts index 7ddf840c..784a11af 100644 --- a/src/apps/com.huawei.health.ts +++ b/src/apps/com.huawei.health.ts @@ -24,17 +24,6 @@ export default defineGkdApp({ }, ], }, - // { - // key: 1, - // name: '局部广告-“我的”页会员广告', - // rules: [ - // { - // activityIds: 'com.huawei.health.MainActivity', - // matches: '[id="com.huawei.health:id/item_banner_ad_close_icon"]', - // snapshotUrls: 'https://i.gkd.li/i/12667814', - // }, - // ], - // }, { key: 2, name: '全屏广告-弹窗广告', @@ -50,24 +39,29 @@ export default defineGkdApp({ }, { key: 3, - name: '功能类-请求开启个性化推荐弹窗', + name: '其他-个性化推荐弹窗', rules: [ { activityIds: 'com.huawei.watchface.api.WebViewActivity', - matches: '[text="开启个性化推荐"] +2 [text="开启"] + Button', + matches: + '[text="开启个性化推荐"] +2 [text="开启"] + Button[clickable=true]', snapshotUrls: 'https://i.gkd.li/i/13546292', }, ], }, { key: 4, - name: '局部广告-底部横幅广告', + name: '局部广告', rules: [ { fastQuery: true, activityIds: 'com.huawei.health.MainActivity', - matches: '[id="com.huawei.health:id/marketing_close_icon"]', - snapshotUrls: 'https://i.gkd.li/i/13587206', + matches: + '[id="com.huawei.health:id/marketing_close_icon" || vid="close_button_layout"]', + snapshotUrls: [ + 'https://i.gkd.li/i/13587206', + 'https://i.gkd.li/i/23763115', + ], }, ], },