feat(智谱): 启动页广告和首页今日要闻弹窗 (#3349)

close #3336
This commit is contained in:
MiracleLau
2023-12-24 21:47:15 +08:00
committed by GitHub
parent 372bebc1b2
commit 8b1cca033c

View File

@@ -0,0 +1,51 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.crirp.zhipu',
name: '智谱',
groups: [
{
name: '开屏广告',
key: 1,
enable: true,
matchTime: 10000,
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[text="关闭"]',
snapshotUrls: 'https://i.gkd.li/import/13725305',
},
],
},
{
name: '首页-今日要闻-不再提示',
key: 2,
desc: '【首页-今日要闻-不再提示】和【首页-今日要闻-关闭】只开启一个即可',
enable: false,
quickFind: true,
activityIds: 'com.ruipeng.zipu.ui.main.uniauto.UniautoHomeActivity',
rules: [
{
matches: '[id$="/cancel_tv"]',
snapshotUrls: 'https://i.gkd.li/import/13725337',
},
],
},
{
name: '首页-今日要闻-关闭',
key: 3,
desc: '【首页-今日要闻-不再提示】和【首页-今日要闻-关闭】只开启一个即可',
enable: false,
quickFind: true,
activityIds: 'com.ruipeng.zipu.ui.main.uniauto.UniautoHomeActivity',
rules: [
{
matches: '[id$="/tv_close"]',
snapshotUrls: 'https://i.gkd.li/import/13725337',
},
],
},
],
});