perf: some rules

This commit is contained in:
AIsouler
2024-12-05 23:25:12 +08:00
parent 1c66e5c486
commit ec8cfa20a2
216 changed files with 2473 additions and 1654 deletions

View File

@@ -6,17 +6,31 @@ export default defineGkdApp({
groups: [
{
key: 0,
name: '局部广告-新用户特惠广告',
desc: '弹窗广告,右下角浮动广告',
activityIds: 'com.shark.jizhang.module.main.MainActivity',
name: '局部广告-悬浮广告',
rules: [
{
activityIds: '.module.main.MainActivity',
matches:
'[id="com.shark.jizhang:id/buy_later_view"||id="com.shark.jizhang:id/tv_count_down"] - [id="com.shark.jizhang:id/close_view"]',
snapshotUrls: [
'https://i.gkd.li/i/12518500',
'https://i.gkd.li/i/12518517',
],
'[id="com.shark.jizhang:id/float_btn"] >2 [id="com.shark.jizhang:id/close_view"]',
exampleUrls: 'https://e.gkd.li/b64da622-2632-4140-930b-89d0f8cbdee1',
snapshotUrls: 'https://i.gkd.li/i/12518517',
},
],
},
{
key: 1,
name: '全屏广告-弹窗广告',
desc: '点击关闭',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: '.module.main.MainActivity',
matches:
'[id="com.shark.jizhang:id/sdv_image"] + [id="com.shark.jizhang:id/close_view"]',
exampleUrls: 'https://e.gkd.li/1cad4c8f-fdb0-4608-8398-2c22d81d435d',
snapshotUrls: 'https://i.gkd.li/i/12518500',
},
],
},