From b296e19acf85d143d6cd9ab1b902cc6a7ce3c4ee Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 11 Dec 2023 19:42:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8B=BC=E5=A4=9A=E5=A4=9A):=20=E7=BA=A2?= =?UTF-8?q?=E5=8C=85=E5=BC=B9=E7=AA=97=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=89=20(#3005)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update com.xunmeng.pinduoduo.ts * chore(actions): check_format_lint * feat(红包弹窗) 补充规则 --------- Co-authored-by: github-actions[bot] --- src/apps/com.xunmeng.pinduoduo.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/apps/com.xunmeng.pinduoduo.ts b/src/apps/com.xunmeng.pinduoduo.ts index 713b9851..84d96ced 100644 --- a/src/apps/com.xunmeng.pinduoduo.ts +++ b/src/apps/com.xunmeng.pinduoduo.ts @@ -85,11 +85,22 @@ export default defineAppConfig({ enable: false, key: 4, name: '红包弹窗', - activityIds: ['com.xunmeng.pinduoduo.ui.activity.HomeActivity'], + activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity', rules: [ - '@ImageView[id=null][clickable=true] < ViewGroup + ViewGroup > ImageView + ViewGroup > ImageView +(2) FrameLayout > TextView[text="专属现金红包"]', + { + key: 0, + matches: + '@ImageView[id=null][clickable=true] < ViewGroup + ViewGroup > ImageView + ViewGroup > ImageView +(2) FrameLayout > TextView[text="专属现金红包"]', + snapshotUrls: 'https://i.gkd.li/import/12642023', + }, + { + key: 1, + quickFind: true, + matches: + '@ImageView[clickable=true] < ViewGroup + ViewGroup >n [text="送你大额现金"]', + snapshotUrls: 'https://i.gkd.li/import/13625441', + }, ], - snapshotUrls: ['https://i.gkd.li/import/12642023'], }, { enable: false, @@ -167,7 +178,7 @@ export default defineAppConfig({ { activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity', matches: - '@ImageView[desc=\'返回\'] -3 ViewPager >19 TextView[text=\'正在直播\']', + '@ImageView[desc="返回"] -3 ViewPager >19 TextView[text="正在直播"]', snapshotUrls: 'https://i.gkd.li/import/13446291', }, ],