fix: 微信-功能类-自动领取微信红包 #1036

This commit is contained in:
AIsouler
2025-07-11 15:01:29 +08:00
parent 9410c9806c
commit de0c795a5b

View File

@@ -189,7 +189,7 @@ export default defineGkdApp({
fastQuery: true, fastQuery: true,
rules: [ rules: [
{ {
key: 3, key: 1,
name: '点击别人发的红包', name: '点击别人发的红包',
activityIds: '.ui.LauncherUI', activityIds: '.ui.LauncherUI',
matches: matches:
@@ -201,16 +201,23 @@ export default defineGkdApp({
], ],
}, },
{ {
preKeys: [3], preKeys: [1],
key: 4, key: 2,
name: '点击红包-开', name: '点击红包-开',
activityIds: '.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI', matchRoot: true,
activityIds: [
'.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI',
'.plugin.luckymoney.ui.LuckyMoneyNewReceiveUI',
],
matches: '@Button[desc="开"] -3 LinearLayout >2 [text$="红包"]', matches: '@Button[desc="开"] -3 LinearLayout >2 [text$="红包"]',
snapshotUrls: 'https://i.gkd.li/i/18134828', snapshotUrls: [
'https://i.gkd.li/i/18134828',
'https://i.gkd.li/i/21177180',
],
excludeSnapshotUrls: 'https://i.gkd.li/i/12567698', // 金币动画的快照 excludeSnapshotUrls: 'https://i.gkd.li/i/12567698', // 金币动画的快照
}, },
{ {
preKeys: [3, 4], preKeys: [1, 2],
name: '从红包结算界面返回', name: '从红包结算界面返回',
activityIds: '.plugin.luckymoney.ui.LuckyMoneyDetailUI', activityIds: '.plugin.luckymoney.ui.LuckyMoneyDetailUI',
matches: '@ImageView[desc="返回"] +2 LinearLayout >8 [text$="红包"]', matches: '@ImageView[desc="返回"] +2 LinearLayout >8 [text$="红包"]',