mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
* feat(爱奇艺): 通知弹窗 - 开启推送通知弹窗 - 版本更新弹窗 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
51 lines
1.6 KiB
TypeScript
51 lines
1.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.qiyi.video',
|
|
name: '爱奇艺',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: 'org.qiyi.android.video.MainActivity',
|
|
rules:
|
|
'@FrameLayout[id=`com.qiyi.video:id/unused_res_a`] > LinearLayout[id=null] > TextView[text=`关闭`][id=`com.qiyi.video:id/unused_res_a`]',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '青少年弹窗',
|
|
activityIds: 'org.qiyi.basecore.widget.dialog.AlertDialogBottom1',
|
|
rules: 'Button[id=`com.qiyi.video:id/confirm_btn`][text=`我知道了`]',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '我的-顶部广告',
|
|
activityIds: 'org.qiyi.android.video.MainActivity',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12495050',
|
|
rules: [
|
|
'[id="com.qiyi.video:id/unused_res_a"] > [id="com.qiyi.video:id/close"]',
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '开启推送通知弹窗',
|
|
activityIds: 'org.qiyi.android.video.MainActivity',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12838152',
|
|
rules: [
|
|
'[id="com.qiyi.video:id/title" && text="开启推送通知"]',
|
|
'[id="com.qiyi.video:id/cancel_btn" && text="暂时不要"]',
|
|
],
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '版本更新弹窗',
|
|
activityIds: 'org.qiyi.android.video.MainActivity',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12838158',
|
|
rules: [
|
|
'[id="com.qiyi.video:id/title" && text="有新版本更新啦!"]',
|
|
'[id="com.qiyi.video:id/cancel_btn" && text="暂不升级"]',
|
|
],
|
|
},
|
|
],
|
|
});
|