feat(摩点): 开屏广告,横幅广告 (#2939)

* feat(摩点): 开屏广告,横幅广告

* chore(actions): check_format_lint

* feat(摩点): 开屏广告

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
Lanyuanxiaoyao
2023-12-08 21:47:55 +08:00
committed by GitHub
parent 5cd774e934
commit b176ccc9c9

View File

@@ -0,0 +1,34 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.modian.app',
name: '摩点',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
matchTime: 10000,
rules: [
{
matches: '[id="com.modian.app:id/tv_skip"][text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/13610185',
},
],
},
{
key: 1,
name: '「我的」界面广告条',
activityIds: 'com.modian.app.ui.activity.MainActivity',
rules: [
{
matches:
'[id="com.modian.app:id/banner_view"] + [id="com.modian.app:id/iv_close"]',
snapshotUrls: 'https://i.gkd.li/import/13610188',
},
],
},
],
});