From 518cb65473cbe9d5b273b48b2f91c45cc89c6394 Mon Sep 17 00:00:00 2001 From: aisouler Date: Mon, 12 Feb 2024 14:06:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(OmoFun):=20=E5=B9=BF=E5=91=8A=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89?= =?UTF-8?q?=E3=80=81=E9=80=9A=E7=9F=A5=E6=8F=90=E7=A4=BA-=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xifeng.fun.ts | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/apps/com.xifeng.fun.ts b/src/apps/com.xifeng.fun.ts index 7505ed0f..5b8e3c43 100644 --- a/src/apps/com.xifeng.fun.ts +++ b/src/apps/com.xifeng.fun.ts @@ -11,8 +11,28 @@ export default defineAppConfig({ rules: [ { activityIds: 'com.xifeng.fun.MainActivity', - matches: 'FrameLayout[childCount=6] >2 ImageView[visibleToUser=true]', - snapshotUrls: 'https://i.gkd.li/import/14050836', + matches: + '[id="android:id/content"] >2 FrameLayout[childCount>2] >(1,2) FrameLayout[childCount>4] >2 ImageView', + snapshotUrls: [ + 'https://i.gkd.li/import/14050836', + 'https://i.gkd.li/import/14235476', + 'https://i.gkd.li/import/14235478', + 'https://i.gkd.li/import/14235479', + ], + }, + ], + }, + { + key: 2, + name: '通知提示-公告弹窗', + desc: '点击"我知道了"', + rules: [ + { + activityIds: 'com.xifeng.fun.MainActivity', + matches: '[desc="我知道了"][clickable=true]', + exampleUrls: + 'https://m.gkd.li/57941037/971c3631-a9cc-4aec-992e-6cf1166eea1b', + snapshotUrls: 'https://i.gkd.li/import/14235411', }, ], },