feat(超级课程表): 开屏广告,首页banner (#762)

* feat(超级课程表): 开屏广告,首页banner

* feat(超级课程表): 开屏广告,首页banner
This commit is contained in:
lliiooll 2023-10-08 21:29:56 +08:00 committed by GitHub
parent 6f45c20ff9
commit d5d066545a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,39 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xtuone.android.syllabus',
name: '超级课程表',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: [
'com.xtuone.android.friday.InitActivity',
'com.xtuone.android.friday.AdvertisementWallActivity',
],
rules: [
{
matches:
'[id="com.byted.pangle:id/tt_splash_skip_btn"||id="com.xtuone.android.syllabus:id/ignore_top"||text^="跳过"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12840730',
'https://gkd-kit.gitee.io/import/12840736',
'https://gkd-kit.gitee.io/import/12840737',
],
},
],
},
{
key: 1,
name: '首页banner广告',
activityIds: ['com.xtuone.android.friday.MainFragmentActivity'],
rules: [
{
matches:
'[id="com.xtuone.android.syllabus:id/treehole_banner_close"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12840733'],
},
],
},
],
});