From 7c0b84efb65f00e9151269fbc29fa6c23174a47b Mon Sep 17 00:00:00 2001 From: CallMeBill Date: Wed, 20 Sep 2023 11:36:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E8=BF=90=E5=8A=A8?= =?UTF-8?q?=E5=81=A5=E5=BA=B7):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20?= =?UTF-8?q?=E2=80=9C=E6=88=91=E7=9A=84=E2=80=9D=E9=A1=B5=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=20=20(#197)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(华为运动健康): 开屏广告 * feat(华为运动健康): “我的”页会员广告 --- src/apps/com.huawei.health.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/apps/com.huawei.health.ts diff --git a/src/apps/com.huawei.health.ts b/src/apps/com.huawei.health.ts new file mode 100644 index 00000000..66221717 --- /dev/null +++ b/src/apps/com.huawei.health.ts @@ -0,0 +1,31 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.huawei.health', + name: '华为运动健康', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: ['com.huawei.health.MainActivity'], + rules: [ + { + matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', + action: 'clickCenter', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12667766'], + }, + ], + }, + { + key: 1, + name: '“我的”页会员广告', + activityIds: ['com.huawei.health.MainActivity'], + rules: [ + { + matches: '[id="com.huawei.health:id/item_banner_ad_close_icon"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12667814'], + }, + ], + }, + ], +});