From 5667c7ba0b0ccdab5f4bde355eca0482a8c59c7c Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 13 Mar 2024 21:54:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E5=88=86=E6=AE=B5=E5=B9=BF=E5=91=8A-=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=E8=A7=86=E9=A2=91=E5=8D=A1=E7=89=87=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index 1ebd3d5b6..d9a09aeb4 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -128,15 +128,14 @@ export default defineAppConfig({ 'com.bilibili.ship.theseus.detail.UnitedBizDetailsActivity', 'com.bilibili.video.videodetail.VideoDetailsActivity', ], - rules: ['[id="tv.danmaku.bili:id/toast_x"]'], + rules: '[id="tv.danmaku.bili:id/toast_x"]', snapshotUrls: [ 'https://i.gkd.li/i/12892611', 'https://i.gkd.li/i/13308344', 'https://i.gkd.li/i/13538048', // activityIds: 'com.bilibili.video.videodetail.VideoDetailsActivity', ], - exampleUrls: [ + exampleUrls: 'https://github.com/gkd-kit/inspect/assets/38517192/110db806-3f8b-4cd2-a445-06c5f5eb21eb', - ], }, { key: 8, @@ -170,24 +169,21 @@ export default defineAppConfig({ { key: 0, name: '点击广告卡片右下角菜单按钮', + quickFind: true, actionMaximum: 1, - actionCd: 500, - matches: - 'RelativeLayout[desc^="广告"] > ViewGroup[childCount=3] > FrameLayout[index=2]', - snapshotUrls: 'https://i.gkd.li/i/14083540', - }, - { - key: 3, - name: '点击巨幅广告卡片右下角菜单按钮', - actionMaximum: 1, - actionCd: 500, matches: - 'ViewGroup[desc^="广告"] >2 ViewGroup[childCount=3] > FrameLayout[index=2]', - snapshotUrls: 'https://i.gkd.li/i/14059876', + '[desc^="广告"] >(1,2) ViewGroup[childCount=3] > FrameLayout[vid="more"][index=2]', + snapshotUrls: [ + 'https://i.gkd.li/i/14083540', + 'https://i.gkd.li/i/14059876', + 'https://i.gkd.li/i/14588315', + ], }, + + //预留key { preKeys: [0], - key: 1, + key: 50, quickFind: true, name: '点击[不感兴趣]', matches: '@[clickable=true] > [text="不感兴趣"]', @@ -199,8 +195,8 @@ export default defineAppConfig({ ], }, { - preKeys: [0, 3], - key: 4, + preKeys: [0], + key: 51, name: '点击[相似内容过多]', quickFind: true, matches: '@[clickable=true] > [text="相似内容过多"]', @@ -214,7 +210,7 @@ export default defineAppConfig({ }, { preKeys: [0], - key: 5, + key: 52, name: '点击[up主不感兴趣]', quickFind: true, matches: '@[clickable=true] > [text="up主不感兴趣"]',