Skip to content

Commit

Permalink
feat(浦大喜奔): 通知提示-代理提示弹窗、全屏广告-首页弹窗广告、局部广告-悬浮广告 (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Jan 1, 2025
1 parent fc96e79 commit 06278c5
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/apps/com.spdbccc.app.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
import { defineGkdApp } from '@gkd-kit/define';

export default defineGkdApp({
id: 'com.spdbccc.app',
name: '浦大喜奔',
groups: [
{
key: 1,
name: '通知提示-代理提示弹窗',
desc: '点击[确定]',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
fastQuery: true,
activityIds: '.sp.splash.activity.SplashActivity',
matches: [
'[text="提示"][visibleToUser=true]',
'[text="确定"][visibleToUser=true]',
],
exampleUrls: 'https://e.gkd.li/e582c5d4-bce3-46a2-ad69-7d0ac4e2fb52',
snapshotUrls: 'https://i.gkd.li/i/18275651',
},
],
},
{
key: 2,
name: '全屏广告-首页弹窗广告',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
activityIds: '.sp.main.MainActivity',
rules: [
{
key: 1,
matches:
'[vid="ckb_not_show_again"][checked=false][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/bb770917-9fbb-4910-9c9e-8bf58437bb1e',
snapshotUrls: 'https://i.gkd.li/i/18275682',
},
{
preKeys: [1],
matches: '[vid="iv_kfc_image_close"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/bb770917-9fbb-4910-9c9e-8bf58437bb1e',
snapshotUrls: 'https://i.gkd.li/i/18275682',
},
],
},
{
key: 3,
name: '局部广告-悬浮广告',
rules: [
{
fastQuery: true,
activityIds: '.sp.main.MainActivity',
matches: '[vid="ll_quolity_float_close"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/4cb41225-609a-4b7f-8ff4-ecca03d37c38',
snapshotUrls: 'https://i.gkd.li/i/18275729',
},
],
},
],
});

0 comments on commit 06278c5

Please sign in to comment.