mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
65 lines
2.1 KiB
TypeScript
65 lines
2.1 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.sankuai.meituan',
|
|
name: '美团',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: 'com.meituan.android.pt.homepage.activity.MainActivity',
|
|
rules: 'TextView[id=`com.sankuai.meituan:id/close_btn`][text^=`跳过`]',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '版本更新弹窗',
|
|
activityIds: [
|
|
'com.meituan.android.upgrade.ui.',
|
|
'com.meituan.android.upgrade.UpgradeDialogActivity',
|
|
],
|
|
rules:
|
|
'TextView[text^=`新版本`] - Button[id=`com.sankuai.meituan:id/btn_close`]',
|
|
snapshotUrls: [
|
|
'https://gkd-kit.gitee.io/import/12614559',
|
|
'https://gkd-kit.gitee.io/import/12673132',
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 2,
|
|
name: '美团买菜活动弹窗',
|
|
activityIds: 'com.meituan.retail.c.android.mrn.mrn.MallMrnModal',
|
|
rules: 'ViewGroup > ViewGroup +(5) ViewGroup > ImageView',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12639717',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '小调查弹窗',
|
|
activityIds: 'com.meituan.retail.c.android.mrn.mrn.MallMrnModal',
|
|
rules: '[text="小调查"] + ViewGroup > ViewGroup > ImageView',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12639723',
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '首页右侧抽奖小广告',
|
|
activityIds: [
|
|
'com.meituan.android.pt.homepage.activity.MainActivity',
|
|
'com.miui.home.launcher.Launcher',
|
|
],
|
|
rules: 'FrameLayout > @ImageView + ImageView[desc="资质与规则"]',
|
|
snapshotUrls: [
|
|
'https://gkd-kit.gitee.io/import/12639815',
|
|
'https://gkd-kit.gitee.io/import/12639734',
|
|
],
|
|
},
|
|
{
|
|
key: 5,
|
|
name: '美团买菜-支付成功后-红包弹窗',
|
|
desc: '美团买菜-支付成功后-关闭红包弹窗',
|
|
activityIds: 'com.meituan.retail.c.android.mrn.mrn.MallMrnModal',
|
|
rules: 'TextView[text="恭喜你获得以下权益"] + ViewGroup > ImageView',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12646768',
|
|
},
|
|
],
|
|
});
|