fix(京东金融): 关闭通知提醒完善 (#1821)

* fix(京东金融): 关闭通知提醒完善

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
xiaowonet 2023-11-05 19:24:16 +08:00 committed by GitHub
parent f90e5ca6f1
commit 4cdded1fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,23 @@ export default defineAppConfig({
name: '通知提醒',
quickFind: true,
actionMaximum: 1,
activityIds: 'com.jd.jrapp.bm.mainbox.main.MainActivity',
rules: 'TextView[text^="打开通知"] +2 [id="com.jd.jrapp:id/iv_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13249998',
activityIds: [
'com.jd.jrapp.bm.mainbox.main.MainActivity',
'com.jd.jrapp.bm.common.web.ui.WebActivity',
],
rules: [
{
activityIds: 'com.jd.jrapp.bm.mainbox.main.MainActivity',
matches:
'TextView[text^="打开通知"] +2 [id="com.jd.jrapp:id/iv_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13249998',
},
{
activityIds: 'com.jd.jrapp.bm.common.web.ui.WebActivity',
matches: 'View[text="开启并订阅通知"] < View + View[clickable=true]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13255656',
},
],
},
],
});