From 6c37122a7a8468eeb7b90c8c31b4392cc7bdaa4c Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 28 Feb 2024 15:57:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=95=AA=E8=8C=84=E5=85=8D=E8=B4=B9?= =?UTF-8?q?=E5=B0=8F=E8=AF=B4):=20=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A-?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=A6=8F=E5=88=A9=E5=BC=B9=E7=AA=97=E3=80=81?= =?UTF-8?q?=E6=94=B9=E5=8A=A8=E9=83=A8=E5=88=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.dragon.read.ts | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/src/apps/com.dragon.read.ts b/src/apps/com.dragon.read.ts index 198df6b4..2cbefc61 100644 --- a/src/apps/com.dragon.read.ts +++ b/src/apps/com.dragon.read.ts @@ -3,7 +3,7 @@ import { defineAppConfig } from '../types'; export default defineAppConfig({ id: 'com.dragon.read', name: '番茄免费小说', - deprecatedKeys: [-1, 11], + deprecatedKeys: [-1, 11, 13], groups: [ { key: 0, @@ -63,7 +63,7 @@ export default defineAppConfig({ }, { key: 3, - name: '全屏广告-优惠券弹窗', + name: '全屏广告-广告弹窗', rules: [ { key: 0, @@ -83,6 +83,16 @@ export default defineAppConfig({ '@ImageView[clickable=true] <2 LinearLayout[childCount=2] < [id="android:id/content"][childCount=1]', snapshotUrls: 'https://i.gkd.li/i/12878266', }, + { + key: 2, + name: '抽奖赢好礼', + quickFind: true, + activityIds: 'com.dragon.read.pages.main.MainFragmentActivity', + matches: '@LynxFlattenUI[clickable=true] - [text="前往抽奖"]', + exampleUrls: + 'https://m.gkd.li/57941037/77c4098a-818f-4d0f-8492-e98818d0da27', + snapshotUrls: 'https://i.gkd.li/i/14292475', + }, ], }, { @@ -180,11 +190,20 @@ export default defineAppConfig({ snapshotUrls: 'https://i.gkd.li/i/13191156', }, { - key: 13, - name: '全屏广告-福利页面弹窗', - activityIds: 'com.dragon.read.pages.main.MainFragmentActivity', - rules: '@LynxFlattenUI[clickable=true] - [text="前往抽奖"]', - snapshotUrls: 'https://i.gkd.li/i/14292475', + key: 14, + name: '全屏广告-会员福利弹窗', + desc: '点击关闭', + rules: [ + { + quickFind: true, + activityIds: 'com.dragon.read.reader.ui.ReaderActivity', + matches: + '@ImageView[clickable=true] +2 [text="恭喜获得限时会员福利"]', + exampleUrls: + 'https://m.gkd.li/57941037/00f23cee-4271-45fc-9a45-988ae20d0dde', + snapshotUrls: 'https://i.gkd.li/i/14430326', + }, + ], }, ], });