mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 17:52:20 +08:00
feat(掌医课堂): 开屏广告, 退出确认弹窗 (#145)
* feat(掌医课堂): 开屏广告 * fix(掌医课堂): 开屏广告 * feat(掌医课堂): 退出确认弹窗 * fix(掌医课堂): 修改为确认按钮修改为以ID查找,增加准确性。 --------- Co-authored-by: dlh <du__th@163.com>
This commit is contained in:
parent
e2175b3959
commit
6ae7d16d3e
31
src/apps/com.zgnet.eClass.ts
Normal file
31
src/apps/com.zgnet.eClass.ts
Normal file
|
@ -0,0 +1,31 @@
|
|||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.zgnet.eClass',
|
||||
name: '掌医课堂',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '开屏广告',
|
||||
activityIds: ['com.zgnet.eClass.ui.SplashActivity'],
|
||||
rules: [
|
||||
{
|
||||
matches: 'TextView[id$="tv_close_time"&&text^="关闭"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12644260'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
enable: false,
|
||||
name: '退出确认弹窗(默认关闭)',
|
||||
rules: [
|
||||
{
|
||||
matches:
|
||||
'[text*="确定要退出"] < LinearLayout +n LinearLayout > TextView[id$="tv_exit_sure"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12645513'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue
Block a user