From dd25a5399ad6b98f369b2f961c89af5b9a50643a Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sun, 14 Apr 2024 15:01:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B1=B3=E6=B8=B8=E7=A4=BE):=20=E5=8E=9F?= =?UTF-8?q?=E7=A5=9E=E3=80=81=E5=B4=A9=E9=93=81=E8=87=AA=E5=8A=A8=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.mihoyo.hyperion.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/apps/com.mihoyo.hyperion.ts b/src/apps/com.mihoyo.hyperion.ts index 78889910..2dd0fd72 100644 --- a/src/apps/com.mihoyo.hyperion.ts +++ b/src/apps/com.mihoyo.hyperion.ts @@ -49,12 +49,13 @@ export default defineAppConfig({ key: 0, name: '点击签到', matches: - '[text="米游社原神每日签到"] >4 View[childCount=11] > @View[childCount=3][clickable=true] > Image[index=0]', + '[text="米游社原神每日签到"] >4 View[childCount=11] > @View[childCount=3][visibleToUser=true] > Image[index=0]', exampleUrls: 'https://m.gkd.li/57941037/6654679e-58a9-4d6c-85a3-11bd2f82c15e', snapshotUrls: [ 'https://i.gkd.li/i/14369790', // 签到前 'https://i.gkd.li/i/14371469', // 签到后,避免在此页面误触 + 'https://i.gkd.li/i/14967627', // clickable=false ], }, { @@ -62,7 +63,7 @@ export default defineAppConfig({ key: 1, name: '关闭签到后的弹窗', matches: - '[text="米游社原神每日签到"] >3 TextView[index=2][clickable=true]', + '[text="米游社原神每日签到"] >3 TextView[index=2][visibleToUser=true]', exampleUrls: 'https://m.gkd.li/57941037/b02eca70-f7d3-4169-99d6-9906c534392a', snapshotUrls: 'https://i.gkd.li/i/14371439', @@ -102,10 +103,13 @@ export default defineAppConfig({ key: 1, name: '关闭签到后的弹窗', matches: - '[text="《崩坏:星穹铁道》签到福利"] >3 TextView[clickable=true]', + '[text="《崩坏:星穹铁道》签到福利"] >3 TextView[visibleToUser=true]', exampleUrls: 'https://m.gkd.li/57941037/3babb231-30a7-4891-9c4a-c11946838741', - snapshotUrls: 'https://i.gkd.li/i/14371787', + snapshotUrls: [ + 'https://i.gkd.li/i/14371787', + 'https://i.gkd.li/i/14967631', // clickable=false + ], }, { preKeys: 1,