From 1511bbd40f2c257fe34b6a816aa8a5686ea6e6f5 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 30 Oct 2023 01:07:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=85=BE=E8=AE=AF=E6=96=87=E6=A1=A3):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E3=80=81=E5=B9=BF=E5=91=8A=E5=8D=A1=E7=89=87?= =?UTF-8?q?=20(#1576)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告 * feat 更新弹窗 * feat 广告卡片 * feat(腾讯文档): 规则优化 --------- Co-authored-by: lisonge --- src/apps/com.tencent.docs.ts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/apps/com.tencent.docs.ts diff --git a/src/apps/com.tencent.docs.ts b/src/apps/com.tencent.docs.ts new file mode 100644 index 00000000..e6a7297d --- /dev/null +++ b/src/apps/com.tencent.docs.ts @@ -0,0 +1,33 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.tencent.docs', + name: '腾讯文档', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '@LinearLayout > [id="com.tencent.docs:id/tv_gdt_ad_text"]', + snapshotUrls: 'https://i.gkd.li/import/13198082', + }, + { + key: 1, + name: '更新弹窗', + actionMaximum: 1, + activityIds: 'com.tencent.docs.DocsFlutterActivity', + rules: '@[desc="暂不更新"] + [desc="现在更新"]', + snapshotUrls: 'https://i.gkd.li/import/13198091', + }, + { + key: 2, + name: '广告卡片', + activityIds: 'com.tencent.docs.DocsFlutterActivity', + rules: '[desc="限时购买"] + ImageView[clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13198097', + }, + ], +});