From 6e7bfed9961fa2a00eefe1400e9fa536399d6bcd Mon Sep 17 00:00:00 2001 From: aoguai <34203474+aoguai@users.noreply.github.com> Date: Mon, 30 Oct 2023 00:33:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A4=9A=E7=82=B9):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E3=80=81=E9=A6=96=E9=A1=B5-=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=B9=BF=E5=91=8A=E3=80=81=E9=A6=96=E9=A1=B5-?= =?UTF-8?q?=E6=B5=AE=E7=AA=97=E5=B9=BF=E5=91=8A=20(#1561)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(多点): 开屏广告、首页-弹窗广告、首页-浮窗广告(gkd-kit#1559) * feat(多点): 规则优化 --------- Co-authored-by: lisonge close #1559 --- src/apps/com.wm.dmall.ts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/apps/com.wm.dmall.ts diff --git a/src/apps/com.wm.dmall.ts b/src/apps/com.wm.dmall.ts new file mode 100644 index 00000000..e36ceb29 --- /dev/null +++ b/src/apps/com.wm.dmall.ts @@ -0,0 +1,37 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.wm.dmall', + name: '多点', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[id="com.wm.dmall:id/splashSkipTextView"]', + snapshotUrls: ['https://i.gkd.li/import/13197630'], + }, + { + key: 1, + name: '首页-弹窗广告', + quickFind: true, + activityIds: 'com.wm.dmall.MainActivity', + rules: '[id="com.wm.dmall:id/advert_close"]', + snapshotUrls: ['https://i.gkd.li/import/13197627'], + }, + { + key: 2, + name: '首页-浮窗广告', + quickFind: true, + activityIds: 'com.wm.dmall.MainActivity', + rules: [ + '[id="com.wm.dmall:id/iv_close"]', + '[id="com.wm.dmall:id/close_iV"]', + ], + snapshotUrls: ['https://i.gkd.li/import/13197634'], + }, + ], +});