mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.jd.jrapp',
|
|
name: '京东金融',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
matchLauncher: true,
|
|
quickFind: true,
|
|
activityIds: 'com.jd.jrapp.bm.mainbox.main.MainActivity',
|
|
rules: [
|
|
{
|
|
matches: '[id="com.jd.jrapp:id/btn_jump"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13054174',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '通知提醒',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
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://i.gkd.li/import/13249998',
|
|
},
|
|
{
|
|
activityIds: 'com.jd.jrapp.bm.common.web.ui.WebActivity',
|
|
matches: 'View[text="开启并订阅通知"] < View + View[clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13255656',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|