feat(掌上生活): 规则优化 (#2098)

close #2093
This commit is contained in:
jiuqianyuan
2023-11-14 20:41:14 +08:00
committed by GitHub
parent 55754ae085
commit 4a3a1565e1

View File

@@ -7,7 +7,10 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: ['com.cmbchina.ccd.pluto.cmbActivity.SplashActivity'], quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: rules:
'[id="com.cmbchina.ccd.pluto.cmbActivity:id/tv_skip_timer"][text^="跳过"]', '[id="com.cmbchina.ccd.pluto.cmbActivity:id/tv_skip_timer"][text^="跳过"]',
snapshotUrls: ['https://i.gkd.li/import/12647186'], snapshotUrls: ['https://i.gkd.li/import/12647186'],
@@ -15,6 +18,11 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '更新弹窗', name: '更新弹窗',
quickFind: true,
matchLauncher: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
activityIds: [ activityIds: [
'com.cmbchina.ccd.pluto.cmbActivity.CMBRootActivityV2', 'com.cmbchina.ccd.pluto.cmbActivity.CMBRootActivityV2',
'com.cmbchina.ccd.pluto.cmbActivity.secplugin.activity.login.fingerprint.cmbR6VH0R', 'com.cmbchina.ccd.pluto.cmbActivity.secplugin.activity.login.fingerprint.cmbR6VH0R',
@@ -24,11 +32,17 @@ export default defineAppConfig({
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/12647025', 'https://i.gkd.li/import/12647025',
'https://i.gkd.li/import/12727203', 'https://i.gkd.li/import/12727203',
'https://i.gkd.li/import/13345771', // matchLauncher: true,
], ],
}, },
{ {
key: 2, key: 2,
name: '首页弹窗', name: '首页弹窗',
quickFind: true,
matchLauncher: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
activityIds: ['com.cmbchina.ccd.pluto.cmbActivity.CMBRootActivityV2'], activityIds: ['com.cmbchina.ccd.pluto.cmbActivity.CMBRootActivityV2'],
rules: rules:
'[id="com.cmbchina.ccd.pluto.cmbActivity:id/lly_cf_view_content"] + [id="com.cmbchina.ccd.pluto.cmbActivity:id/img_cf_view_close"]', '[id="com.cmbchina.ccd.pluto.cmbActivity:id/lly_cf_view_content"] + [id="com.cmbchina.ccd.pluto.cmbActivity:id/img_cf_view_close"]',
@@ -37,6 +51,9 @@ export default defineAppConfig({
{ {
key: 3, key: 3,
name: '右侧悬浮广告', name: '右侧悬浮广告',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
rules: [ rules: [
{ {
name: '信用卡、我的页面-悬浮广告', name: '信用卡、我的页面-悬浮广告',
@@ -68,6 +85,9 @@ export default defineAppConfig({
key: 4, key: 4,
name: '消息页面-通知开关', name: '消息页面-通知开关',
desc: '点击x按钮不开启系统通知', desc: '点击x按钮不开启系统通知',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
activityIds: [ activityIds: [
'com.cmbchina.ccd.pluto.cmbActivity.messagebox.activity.cmbBAP9I2J', 'com.cmbchina.ccd.pluto.cmbActivity.messagebox.activity.cmbBAP9I2J',
], ],