mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
perf(京东): 通知提示
This commit is contained in:
@@ -51,28 +51,28 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
name: '通知提示-请求打开通知',
|
name: '通知提示-请求打开通知',
|
||||||
matchTime: 10000,
|
desc: '点击关闭',
|
||||||
|
quickFind: true,
|
||||||
|
//matchTime: 10000, 该弹窗可能在多个页面出现
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
|
actionMaximumKey: 0,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: 'TextView[text="开启消息通知"] +n ImageView[clickable=true]',
|
key: 0,
|
||||||
|
matches:
|
||||||
|
'@ImageView[clickable=true][visibleToUser=true] <n * > [text="开启消息通知"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/12839864', //com.jd.lib.message.messagecenter.view.activity.MessageCenterMainActivityNew
|
'https://i.gkd.li/i/13917163',
|
||||||
'https://i.gkd.li/i/13772299', //com.jd.lib.ordercenter.mygoodsorderlist.view.activity.MyOrderListActivity
|
'https://i.gkd.li/i/13463618',
|
||||||
'https://i.gkd.li/i/13917163', //com.jingdong.app.mall.MainFrameActivity
|
'https://i.gkd.li/i/14692570',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
matches:
|
key: 1,
|
||||||
'TextView[text ^="打开系统通知"] - FrameLayout[clickable=true]',
|
matches: '@[clickable=true] + [text^="打开系统通知"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12839865',
|
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',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user