mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
feat(i茅台): 开屏广告,首页广告弹窗,通知权限弹窗 (#459)
* feat(i茅台) * 修改 action 为 clickCenter * Revert "修改 action 为 clickCenter" This reverts commit 437e3bac24424caa27ddd0c0247350d3f857439c.
This commit is contained in:
38
src/apps/com.moutai.mall.ts
Normal file
38
src/apps/com.moutai.mall.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.moutai.mall',
|
||||
name: 'i茅台',
|
||||
groups: [
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
activityIds: 'com.moutai.mall.module.splash.SplashActivity',
|
||||
rules: '[id="com.moutai.mall:id/tvSkip"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12745150',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '首页广告弹窗',
|
||||
activityIds: [
|
||||
'com.moutai.mall.MainActivity',
|
||||
'com.moutai.mall.module.splash.SplashActivity',
|
||||
],
|
||||
rules:
|
||||
'[id="com.moutai.mall:id/ivPic"] + ViewGroup + [id="com.moutai.mall:id/vClose"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.songe.li/import/12745130', // activityId: 'com.moutai.mall.MainActivity'
|
||||
'https://gkd-kit.songe.li/import/12745153', // activityId: 'com.moutai.mall.module.splash.SplashActivity'
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 10,
|
||||
name: '请求通知权限弹窗',
|
||||
activityIds: 'com.moutai.mall.MainActivity',
|
||||
rules:
|
||||
'@[id="com.moutai.mall:id/vClose"] - LinearLayout > [text*="开通消息通知"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12745142',
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user