From d9c5a7c8521f5cea2b43a50ae14b8d4f3bb2bcb1 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 29 Oct 2023 01:05:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8B=BC=E5=A4=9A=E5=A4=9A):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=BC=B9=E7=AA=97-=E8=A7=84=E5=88=99=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20(#1515)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xunmeng.pinduoduo.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/apps/com.xunmeng.pinduoduo.ts b/src/apps/com.xunmeng.pinduoduo.ts index 28093a76..f7cac221 100644 --- a/src/apps/com.xunmeng.pinduoduo.ts +++ b/src/apps/com.xunmeng.pinduoduo.ts @@ -14,11 +14,21 @@ export default defineAppConfig({ { key: 1, name: '更新弹窗', - activityIds: ['com.xunmeng.pinduoduo.activity.NewPageActivity'], rules: [ - '[text*="新版本"] - ImageView < LinearLayout < LinearLayout + ImageButton[clickable=true]', + { + key: 0, + activityIds: 'com.xunmeng.pinduoduo.activity.NewPageActivity', + matches: + '[text*="新版本"] - ImageView < LinearLayout < LinearLayout + ImageButton[clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12642017', + }, + { + key: 1, + activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity', + matches: '@Image + Image +n [text="立即升级"]', + snapshotUrls: 'https://i.gkd.li/import/13195645', + }, ], - snapshotUrls: ['https://gkd-kit.gitee.io/import/12642017'], }, { enable: false,