From 69bc4ccbe0e1fedf56a47bc04b779b2f5ff0f334 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 21 Mar 2024 17:27:30 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E4=BA=AC=E4=B8=9C):=20=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.jingdong.app.mall.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/apps/com.jingdong.app.mall.ts b/src/apps/com.jingdong.app.mall.ts index 62dd9cdb..3df97856 100644 --- a/src/apps/com.jingdong.app.mall.ts +++ b/src/apps/com.jingdong.app.mall.ts @@ -51,28 +51,28 @@ export default defineAppConfig({ { key: 4, name: '通知提示-请求打开通知', - matchTime: 10000, + desc: '点击关闭', + quickFind: true, + //matchTime: 10000, 该弹窗可能在多个页面出现 actionMaximum: 1, resetMatch: 'app', + actionMaximumKey: 0, rules: [ { - matches: 'TextView[text="开启消息通知"] +n ImageView[clickable=true]', + key: 0, + matches: + '@ImageView[clickable=true][visibleToUser=true] [text="开启消息通知"]', snapshotUrls: [ - 'https://i.gkd.li/i/12839864', //com.jd.lib.message.messagecenter.view.activity.MessageCenterMainActivityNew - 'https://i.gkd.li/i/13772299', //com.jd.lib.ordercenter.mygoodsorderlist.view.activity.MyOrderListActivity - 'https://i.gkd.li/i/13917163', //com.jingdong.app.mall.MainFrameActivity + 'https://i.gkd.li/i/13917163', + 'https://i.gkd.li/i/13463618', + 'https://i.gkd.li/i/14692570', ], }, { - matches: - 'TextView[text ^="打开系统通知"] - FrameLayout[clickable=true]', + key: 1, + matches: '@[clickable=true] + [text^="打开系统通知"]', snapshotUrls: 'https://i.gkd.li/i/12839865', }, - { - quickFind: true, - matches: '[id="com.jingdong.app.mall:id/btn_close"]', - snapshotUrls: 'https://i.gkd.li/i/13463618', - }, ], }, {