mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(华为运动健康): 开屏广告, “我的”页会员广告 (#197)
* feat(华为运动健康): 开屏广告 * feat(华为运动健康): “我的”页会员广告
This commit is contained in:
31
src/apps/com.huawei.health.ts
Normal file
31
src/apps/com.huawei.health.ts
Normal file
@@ -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'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user