fix: 微信-自动领取红包 #1630 (#1633)

Co-authored-by: GYF2003 <2941428160@qq.com>
This commit is contained in:
Ad_abandon
2025-12-26 21:24:34 +08:00
committed by GitHub
parent b44998fb82
commit f1c5e2fc4d

View File

@@ -196,10 +196,16 @@ export default defineGkdApp({
{
key: 1,
name: '点击别人发的红包',
activityIds: '.ui.LauncherUI',
activityIds: [
'.ui.LauncherUI',
'.ui.chatting.variants.ChattingMainUI',
],
matches:
'LinearLayout[childCount=1] >2 @FrameLayout[clickable=true] >2 LinearLayout[getChild(1).childCount=1] +2 RelativeLayout > [text="微信红包"]',
snapshotUrls: 'https://i.gkd.li/i/18134826',
snapshotUrls: [
'https://i.gkd.li/i/18134826',
'https://i.gkd.li/i/24347101',
],
excludeSnapshotUrls: [
'https://i.gkd.li/i/18134823', // 自己发的, LinearLayout[childCount=1] 区分
'https://i.gkd.li/i/18134833', // 已领取的, getChild(1).childCount=1 区分