feat: 华为运动健康-其他-请求开启[实时推送步数]弹窗 #936

This commit is contained in:
AIsouler
2025-05-29 19:25:18 +08:00
parent 7a01d81fd4
commit 924d9ae2be

View File

@@ -24,17 +24,17 @@ export default defineGkdApp({
}, },
], ],
}, },
{ // {
key: 1, // key: 1,
name: '局部广告-“我的”页会员广告', // name: '局部广告-“我的”页会员广告',
rules: [ // rules: [
{ // {
activityIds: 'com.huawei.health.MainActivity', // activityIds: 'com.huawei.health.MainActivity',
matches: '[id="com.huawei.health:id/item_banner_ad_close_icon"]', // matches: '[id="com.huawei.health:id/item_banner_ad_close_icon"]',
snapshotUrls: 'https://i.gkd.li/i/12667814', // snapshotUrls: 'https://i.gkd.li/i/12667814',
}, // },
], // ],
}, // },
{ {
key: 2, key: 2,
name: '全屏广告-弹窗广告', name: '全屏广告-弹窗广告',
@@ -73,21 +73,21 @@ export default defineGkdApp({
}, },
{ {
key: 5, key: 5,
name: '功能类-请求开启[实时推送步数]弹窗', name: '其他-请求开启[实时推送步数]弹窗',
desc: '点击取消', desc: '点击取消',
rules: [ rules: [
{ {
fastQuery: true, fastQuery: true,
activityIds: 'com.huawei.health.MainActivity', activityIds: 'com.huawei.health.MainActivity',
matches: [ matches: [
'[text*="实时推送步数" || text*="通知栏实时显示步数"]', '[text*="实时推送步数" || text*="通知栏实时显示步数" || text*="是否开启计步功能"][visibleToUser=true]',
'[text="取消"]', '[text="取消"][visibleToUser=true]',
], ],
exampleUrls: exampleUrls: 'https://e.gkd.li/12af7c3a-3d53-43f0-880e-130135bad1a3',
'https://m.gkd.li/57941037/7e9b7131-35ae-49dd-badf-13b6dae3aa96',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/14321121', 'https://i.gkd.li/i/14321121',
'https://i.gkd.li/i/16494762', 'https://i.gkd.li/i/16494762',
'https://i.gkd.li/i/20499245',
], ],
}, },
], ],
@@ -96,8 +96,8 @@ export default defineGkdApp({
key: 6, key: 6,
name: '更新提示', name: '更新提示',
fastQuery: true, fastQuery: true,
actionMaximum: 1,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {