From 8041bb7851b86c928d7857dba1dbbb9f4cb50a13 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 17 Jun 2025 14:26:05 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8D=8E=E4=B8=BA=E8=BF=90=E5=8A=A8?= =?UTF-8?q?=E5=81=A5=E5=BA=B7-=E5=85=B6=E4=BB=96-=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=BC=80=E5=90=AF[=E5=AE=9E=E6=97=B6=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E6=AD=A5=E6=95=B0]=E5=BC=B9=E7=AA=97=20#936?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.health.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/apps/com.huawei.health.ts b/src/apps/com.huawei.health.ts index 87b496a1..7ddf840c 100644 --- a/src/apps/com.huawei.health.ts +++ b/src/apps/com.huawei.health.ts @@ -75,21 +75,33 @@ export default defineGkdApp({ key: 5, name: '其他-请求开启[实时推送步数]弹窗', desc: '点击取消', + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { - fastQuery: true, + key: 0, activityIds: 'com.huawei.health.MainActivity', matches: [ - '[text*="实时推送步数" || text*="通知栏实时显示步数" || text*="是否开启计步功能"][visibleToUser=true]', + '[text*="实时推送步数" || text*="通知栏实时显示步数"][visibleToUser=true]', '[text*="取消"][visibleToUser=true]', ], exampleUrls: 'https://e.gkd.li/12af7c3a-3d53-43f0-880e-130135bad1a3', snapshotUrls: [ 'https://i.gkd.li/i/14321121', 'https://i.gkd.li/i/16494762', - 'https://i.gkd.li/i/20499245', ], }, + { + key: 1, + matches: [ + '[text*="是否开启计步功能"][visibleToUser=true]', + '[text*="取消"][visibleToUser=true]', + ], + exampleUrls: 'https://e.gkd.li/ab4e3797-40e6-4d1e-96b2-c098e78cf848', + snapshotUrls: 'https://i.gkd.li/i/20499245', + }, ], }, {