From 7173fcff2794515d50fbfa8b2c51683525cea6ca Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 27 Sep 2023 20:42:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=8A=E6=97=A5=E5=A4=B4=E6=9D=A1):=20?= =?UTF-8?q?=E7=AB=96=E5=B1=8F=E8=A7=86=E9=A2=91=E5=B9=BF=E5=91=8A-?= =?UTF-8?q?=E9=80=82=E9=85=8D=E4=BC=98=E5=8C=96=20(#228)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ss.android.article.news.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/apps/com.ss.android.article.news.ts b/src/apps/com.ss.android.article.news.ts index eacd0de9..2f2e4537 100644 --- a/src/apps/com.ss.android.article.news.ts +++ b/src/apps/com.ss.android.article.news.ts @@ -50,11 +50,21 @@ export default defineAppConfig({ key: 0, name: '点击右上角[更多]图标按钮', matches: - '@ImageView[clickable=true][desc="更多"] <3 RelativeLayout -2 RelativeLayout >4 FlattenUIText[desc="查看商品"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12679280', + '@ImageView[clickable=true][desc="更多"] <3 RelativeLayout -2 RelativeLayout >4 LynxFlattenUI[text="头条优惠券无门槛全平台通用"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12679280', + 'https://gkd-kit.gitee.io/import/12733282', + ], }, { - preKeys: 0, + key: 1, + name: '点击右上角[更多]图标按钮-抖音直播', + matches: + '@ImageView[clickable=true][desc="更多"] <4 RelativeLayout -2 RelativeLayout >4 LinearLayout[childCount=3] > ScrollView[childCount=1] > TextView[text$="广告"][clickable=true]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12733281'], + }, + { + preKeys: [0, 1], name: '点击不感兴趣', matches: '@LinearLayout[clickable=true] > RelativeLayout + TextView[text="不感兴趣"]',