From e11e7e8368b65b474c99dc4baac23f0c12e2a1c3 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 19 Aug 2024 22:08:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E5=8C=85=E6=90=9C=E9=A2=98):=20?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A-=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ixyzh.question.ts | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/apps/com.ixyzh.question.ts diff --git a/src/apps/com.ixyzh.question.ts b/src/apps/com.ixyzh.question.ts new file mode 100644 index 00000000..6691536b --- /dev/null +++ b/src/apps/com.ixyzh.question.ts @@ -0,0 +1,40 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.ixyzh.question', + name: '小包搜题', + groups: [ + { + key: 1, + name: '局部广告-卡片广告', + desc: '点击关闭', + fastQuery: true, + rules: [ + { + key: 0, + activityIds: 'com.ixyzh.question.HomeActivity', + matches: + '@ImageView[clickable=true][desc^="close"] < FrameLayout[childCount=1] > @ImageView[childCount=0][visibleToUser=true][text=null] <2 [text="广告"]', + exampleUrls: 'https://e.gkd.li/3dc83ae2-72f0-4660-b175-0610765fc6ec', + snapshotUrls: 'https://i.gkd.li/i/16661120', + }, + ], + }, + ], +});