diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 58605b3f..02c1f320 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -382,17 +382,15 @@ export default defineAppConfig({ { key: 0, matches: [ - 'RelativeLayout[childCount=1][clickable=true] > [text="提瓦特小助手"]', - 'FrameLayout[childCount=5] + FrameLayout[childCount=2] >2 FrameLayout[childCount=1]', + 'ImageView[childCount=0][visibleToUser=true] < FrameLayout < @FrameLayout[visibleToUser=true] <2 * - * >5 [text="查看详情"]', ], snapshotUrls: 'https://i.gkd.li/i/12926021', }, { key: 1, - matches: [ - 'FrameLayout > FrameLayout > FrameLayout > TextView[text="广告"]', - 'FrameLayout[childCount=6] + FrameLayout[childCount=2] > FrameLayout > FrameLayout > ImageView', - ], + quickFind: true, + matches: + 'ImageView[childCount=0][visibleToUser=true] < FrameLayout < @FrameLayout[visibleToUser=true] <2 * - * >4 [text="广告"]', snapshotUrls: 'https://i.gkd.li/i/13459614', }, ], diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index dae4194b..9899f25f 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -52,8 +52,9 @@ export default defineAppConfig({ { key: 1, name: '消息页面-顶部惊喜礼包', + quickFind: true, matches: - '[text*="惊喜礼包"] + FrameLayout + ImageView[clickable=true]', + '@ImageView[childCount=0][visibleToUser=true] - FrameLayout - [text*="惊喜礼包"]', snapshotUrls: 'https://i.gkd.li/i/13426912', }, { diff --git a/src/apps/com.xunmeng.pinduoduo.ts b/src/apps/com.xunmeng.pinduoduo.ts index 0c490a0b..13b13779 100644 --- a/src/apps/com.xunmeng.pinduoduo.ts +++ b/src/apps/com.xunmeng.pinduoduo.ts @@ -49,7 +49,7 @@ export default defineAppConfig({ name: '首页优惠弹窗3', activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity', matches: - '@ImageView < ViewGroup[clickable=true][visibleToUser=true] < ViewGroup + ViewGroup >n [text="开心收下"]', + 'ImageView < @ViewGroup[clickable=true][visibleToUser=true] < ViewGroup + ViewGroup >7 [text="开心收下"]', snapshotUrls: 'https://i.gkd.li/i/13761182', }, ],