From feb677ccca1ff1cbdcea2da1c6a02198d7fb61cf Mon Sep 17 00:00:00 2001 From: shjdgwj Date: Thu, 2 Nov 2023 05:58:07 -0700 Subject: [PATCH] =?UTF-8?q?feat(OMOFUN):=20=E8=A7=84=E5=88=99=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20(#1708)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.cyl.musiccy.ou.ts | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/apps/com.cyl.musiccy.ou.ts b/src/apps/com.cyl.musiccy.ou.ts index 6e27fc58..0ed97f67 100644 --- a/src/apps/com.cyl.musiccy.ou.ts +++ b/src/apps/com.cyl.musiccy.ou.ts @@ -92,20 +92,18 @@ export default defineAppConfig({ 'https://gkd-kit.gitee.io/import/12776903', ], }, + // 该规则暂时不会遇到 + // { + // action: 'clickCenter', + // matches: + // 'TextView[text="查看详情"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout > FrameLayout > ImageView', + // snapshotUrls: 'https://gkd-kit.gitee.io/import/12789196', + // }, { action: 'clickCenter', matches: - 'TextView[text="查看详情"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout > FrameLayout > ImageView', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12789196', - }, - { - action: 'clickCenter', - matches: - 'TextView[text="立即下载" || text="查看详情"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout[childCount=1] > ImageView', - snapshotUrls: [ - 'https://gkd-kit.gitee.io/import/12789928', - 'https://gkd-kit.gitee.io/import/13071595', - ], + 'TextView[text="立即下载"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout[childCount=1] > ImageView', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12789928'], }, { action: 'click', @@ -113,6 +111,15 @@ export default defineAppConfig({ 'TextView[text^="摇动"||text^="点击"] <2 LinearLayout < LinearLayout < FrameLayout -n FrameLayout[childCount=1] > ImageView', snapshotUrls: 'https://gkd-kit.gitee.io/import/13063249', }, + { + action: 'click', + matches: + 'TextView[text="查看详情"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout > ImageView', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/13215476', + 'https://gkd-kit.gitee.io/import/13071595', + ], + }, ], }, ],