mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(乐校通): 开屏广告、应用内广告弹窗、应用内广告卡片 (#1268)
* feat: 开屏广告 * feat: 应用内广告弹窗 * feat: 应用内广告卡片
This commit is contained in:
50
src/apps/client.android.yixiaotong.ts
Normal file
50
src/apps/client.android.yixiaotong.ts
Normal file
@@ -0,0 +1,50 @@
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'client.android.yixiaotong',
|
||||
name: '乐校通',
|
||||
groups: [
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
activityIds: 'client.android.yixiaotong.ui.WelcomeActivity',
|
||||
matchLauncher: true,
|
||||
rules:
|
||||
'[id="client.android.yixiaotong:id/rel_advlogo"] - * >n [text^="跳过"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/13055542',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '应用内广告弹窗',
|
||||
activityIds:
|
||||
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
||||
rules: [
|
||||
// 腾讯广告
|
||||
{
|
||||
key: 0,
|
||||
matches:
|
||||
'ImageView - FrameLayout > ImageView +2 FrameLayout > ImageView',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/13055837',
|
||||
},
|
||||
|
||||
// 快手广告
|
||||
{
|
||||
key: 2,
|
||||
activityIds:
|
||||
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
||||
matches:
|
||||
'[id="client.android.yixiaotong:id/ksad_tk_view"] >n ViewGroup + ViewGroup > @ViewGroup > ImageView',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/13060116',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '应用内广告卡片',
|
||||
activityIds:
|
||||
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
||||
rules: 'ImageView - FrameLayout - FrameLayout > ImageView',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/13055542',
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user