From 6bae4c4fd7c245296f033f25d7d8a47d8e4e9e06 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 7 Dec 2024 12:24:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=88=91=E7=9A=84=E5=90=AC=E4=B9=A6):=20?= =?UTF-8?q?=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A-=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E9=A1=B5=E5=8D=A1=E7=89=87=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.github.eprendre.tingshu.ts | 27 ++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/apps/com.github.eprendre.tingshu.ts b/src/apps/com.github.eprendre.tingshu.ts index f97f0d97..c003d57f 100644 --- a/src/apps/com.github.eprendre.tingshu.ts +++ b/src/apps/com.github.eprendre.tingshu.ts @@ -21,7 +21,7 @@ export default defineGkdApp({ fastQuery: true, activityIds: '.ui.play.PlayerActivity', matches: - '@ImageView[childCount=0][visibleToUser=true] < FrameLayout - LinearLayout > [text="立即下载" || text="下载应用"]', + '@ImageView[childCount=0][visibleToUser=true] < FrameLayout[childCount=1] - LinearLayout[childCount=2] > [text="下载应用" || text="立即下载" || text="查看详情" || text="领取优惠" || text="进入小程序"]', exampleUrls: 'https://e.gkd.li/d3d33d4f-4c15-45a0-9e86-0c1ca2ecc7c9', snapshotUrls: [ 'https://i.gkd.li/i/13334850', @@ -48,5 +48,30 @@ export default defineGkdApp({ }, ], }, + { + key: 3, + name: '分段广告-播放页卡片广告', + desc: '点击关闭-点击不感兴趣', + rules: [ + { + key: 1, + fastQuery: true, + activityIds: '.ui.play.PlayerActivity', + matches: + '@[desc="close"][visibleToUser=true] + [desc="ad_logo"] < [text="不感兴趣"]', + exampleUrls: 'https://e.gkd.li/7ce6d9c4-c77a-4655-91c2-97e1987f0914', + snapshotUrls: 'https://i.gkd.li/i/17892449', + }, + ], + }, ], });