From 3afd43f4a8b793568fc68e040682aa9a1c85536e Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:23:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=90=E5=8A=A8=E4=B8=96=E7=95=8C?= =?UTF-8?q?=E6=A0=A1=E5=9B=AD):=20=E5=B9=BF=E5=91=8A=20(#213)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(运动世界校园) * feat(运动世界校园): 合并规则 --------- Co-authored-by: lisonge --- .../com.zjwh.android_wh_physicalfitness.ts | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/apps/com.zjwh.android_wh_physicalfitness.ts diff --git a/src/apps/com.zjwh.android_wh_physicalfitness.ts b/src/apps/com.zjwh.android_wh_physicalfitness.ts new file mode 100644 index 00000000..d1f7c791 --- /dev/null +++ b/src/apps/com.zjwh.android_wh_physicalfitness.ts @@ -0,0 +1,61 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.zjwh.android_wh_physicalfitness', + name: '运动世界校园', + groups: [ + { + key: 1, + name: '优量汇广告', + activityIds: 'com.zjwh.android_wh_physicalfitness.activity.HomeActivity', + rules: [ + { + matches: + 'ImageView - RelativeLayout >(3-n) [id="com.zjwh.android_wh_physicalfitness:id/iv_close"][clickable=true]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12673231', + 'https://gkd-kit.gitee.io/import/12673523', + ], + }, + ], + }, + { + key: 2, + name: '百青藤广告', + activityIds: + 'com.zjwh.android_wh_physicalfitness.activity.SplashActivity', + rules: [ + { + matches: + '@[text="跳过"][clickable=true] +(3) RelativeLayout >(2) [text="点击跳转至第三方页面"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12673349'], + }, + ], + }, + { + key: 3, + name: '快手广告', + activityIds: + 'com.zjwh.android_wh_physicalfitness.activity.SplashActivity', + rules: [ + { + matches: + '[text="广告"] - ImageView < ViewGroup - ViewGroup >(2) [text="跳过"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12673495'], + }, + ], + }, + { + key: 9, + name: '第三方SDK广告', // 不知道是什么SDK + activityIds: 'com.zjwh.android_wh_physicalfitness.activity.HomeActivity', + rules: [ + { + matches: + '[id="com.zjwh.android_wh_physicalfitness:id/ad_flag_source_layout"] + [id="com.zjwh.android_wh_physicalfitness:id/iv_close"][clickable=true]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12673476'], + }, + ], + }, + ], +});