From 2f5aa4daa05a975f993f4469e0c21d147b9c649e Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:42:54 +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=B9=E7=AA=97=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E3=80=81=E8=AF=B7=E6=B1=82=E5=BC=80=E5=90=AF=E4=B8=AA=E6=80=A7?= =?UTF-8?q?=E5=8C=96=E6=8E=A8=E8=8D=90=E5=BC=B9=E7=AA=97=20(#2839)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 弹窗广告 * feat 请求开启个性化推荐弹窗 --- src/apps/com.huawei.health.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/apps/com.huawei.health.ts b/src/apps/com.huawei.health.ts index c5d77455..55cfb51f 100644 --- a/src/apps/com.huawei.health.ts +++ b/src/apps/com.huawei.health.ts @@ -35,5 +35,25 @@ export default defineAppConfig({ }, ], }, + { + key: 2, + name: '弹窗广告', + rules: [ + { + key: 0, + activityIds: 'com.huawei.watchface.api.WebViewActivity', + matches: + 'View[childCount=2] > View + View[childCount=1] > Image[childCount=0]', + snapshotUrls: 'https://i.gkd.li/import/13546292', + }, + ], + }, + { + key: 3, + name: '请求开启个性化推荐弹窗', + activityIds: 'com.huawei.watchface.api.WebViewActivity', + rules: '[text="开启个性化推荐"] +2 [text="开启"] + Button', + snapshotUrls: 'https://i.gkd.li/import/13546292', + }, ], });