From 86d0cce15fd26a68cca5f70e1cdfc379fa1b8734 Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 1 Feb 2024 18:38:17 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit f769a26f0dd396e5ab65d45704f7d1cd48b49d6a Author: aisouler Date: Wed Jan 24 14:49:11 2024 +0800 feat:看视频领现金弹窗 commit 54dd9a68e49e48950e0728e150f073e25406b7ba Author: aisouler Date: Wed Jan 24 14:40:47 2024 +0800 feat(美团):视频页签到弹窗、规则分类 --- src/apps/com.sankuai.meituan.ts | 38 ++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/src/apps/com.sankuai.meituan.ts b/src/apps/com.sankuai.meituan.ts index ed2f4998..591c46a1 100644 --- a/src/apps/com.sankuai.meituan.ts +++ b/src/apps/com.sankuai.meituan.ts @@ -7,7 +7,7 @@ export default defineAppConfig({ groups: [ { key: 1, - name: '更新弹窗', + name: '更新提示', matchTime: 10000, actionMaximum: 1, resetMatch: 'app', @@ -27,7 +27,7 @@ export default defineAppConfig({ }, { key: 2, - name: '广告弹窗', + name: '全屏广告-广告弹窗', rules: [ { key: 0, @@ -74,7 +74,7 @@ export default defineAppConfig({ }, { key: 3, - name: '订单调查弹窗', + name: '评价提示-订单调查弹窗', matchTime: 10000, actionMaximum: 1, quickFind: true, @@ -98,7 +98,7 @@ export default defineAppConfig({ }, { key: 4, - name: '首页右侧抽奖小广告', + name: '局部广告-首页右侧抽奖小广告', activityIds: [ 'com.meituan.android.pt.homepage.activity.MainActivity', 'com.miui.home.launcher.Launcher', @@ -112,7 +112,7 @@ export default defineAppConfig({ { enable: false, key: 7, - name: '请求定位弹窗', + name: '定位提示', desc: '首页/外卖界面-【打开位置开关弹窗】-点击右侧x关闭', activityIds: [ 'com.meituan.android.pt.homepage.activity.MainActivity', @@ -131,7 +131,7 @@ export default defineAppConfig({ { enable: false, key: 8, - name: '请求开启通知权限弹窗', + name: '通知提示-请求开启通知权限弹窗', desc: '点击跳过', quickFind: true, actionMaximum: 1, @@ -146,7 +146,7 @@ export default defineAppConfig({ }, { key: 9, - name: '订单完成后的红包弹窗', + name: '全屏广告-订单完成后的红包弹窗', desc: '直接关闭整个模块', quickFind: true, matchTime: 10000, @@ -163,12 +163,34 @@ export default defineAppConfig({ }, { key: 10, - name: '新人返场特惠', + name: '全屏广告-新人返场特惠', desc: '点击右上角返回', activityIds: 'com.meituan.android.base.knb.KNBWebViewActivity', matchTime: 10000, rules: '[id="shareNav"] > [text=""]', snapshotUrls: 'https://i.gkd.li/import/13800691', }, + { + key: 11, + name: '全屏广告-视频页广告弹窗', + desc: '点击X', + rules: [ + { + key: 0, + name: '签到弹窗', + activityIds: 'com.meituan.android.pt.homepage.activity.MainActivity', + matches: 'ViewGroup[childCount=17] > ImageView[index=5]', + snapshotUrls: 'https://i.gkd.li/import/14033982', + }, + { + key: 1, + name: '看视频领现金弹窗', + activityIds: 'com.meituan.android.pt.homepage.activity.MainActivity', + matches: + '@ImageView[visibleToUser=true] - ViewGroup[childCount=3] [text="看视频继续领现金"]', + snapshotUrls: 'https://i.gkd.li/import/14034073', + }, + ], + }, ], });