From 7da4817bfbded49995d10dee7293e01b1e2eee64 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 11 Apr 2024 20:01:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=87=E8=83=BD=E5=B0=8F=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20Top=20Widgets):=20=E5=B1=80=E9=83=A8=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E3=80=81=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.growing.topwidgets.ts | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/apps/com.growing.topwidgets.ts b/src/apps/com.growing.topwidgets.ts index 31d3eea8..1d891680 100644 --- a/src/apps/com.growing.topwidgets.ts +++ b/src/apps/com.growing.topwidgets.ts @@ -8,14 +8,31 @@ export default defineAppConfig({ key: 1, name: '局部广告-卡片广告', desc: '点击关闭', + quickFind: true, + activityIds: 'com.growing.topwidgets.home.MainActivity', + rules: [ + { + key: 0, + matches: '@ImageView < * - * > [text="立即打开"]', + snapshotUrls: 'https://i.gkd.li/i/14892835', + }, + { + key: 1, + matches: '@ImageView < * - * > [text="查看详情"]', + snapshotUrls: 'https://i.gkd.li/i/14945536', + }, + ], + }, + { + key: 2, + name: '全屏广告-弹窗广告', + desc: '点击关闭', rules: [ { quickFind: true, - activityIds: 'com.growing.topwidgets.home.MainActivity', - matches: '@ImageView < * - * > [text="立即打开"]', - exampleUrls: - 'https://m.gkd.li/57941037/90c3b791-0aec-4c48-b417-de4604cdcff2', - snapshotUrls: 'https://i.gkd.li/i/14892835', + activityIds: 'com.baidu.mobads.sdk.api.MobRewardVideoActivity', + matches: '@ImageView[clickable=true] - * >2 [text="反馈"]', + snapshotUrls: 'https://i.gkd.li/i/14945552', }, ], },