mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
perf: 优化定位提示
This commit is contained in:
@@ -22,6 +22,8 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '定位提示-关闭「系统位置服务未打开」通知条',
|
name: '定位提示-关闭「系统位置服务未打开」通知条',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'cn.samsclub.app.ui.MainActivity',
|
activityIds: 'cn.samsclub.app.ui.MainActivity',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,22 +49,28 @@ export default defineAppConfig({
|
|||||||
key: 5,
|
key: 5,
|
||||||
name: '定位提示-请求定位弹窗',
|
name: '定位提示-请求定位弹窗',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
actionMaximumKey: 0,
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.baidu.mapframework.widget.BMBaseDialog',
|
'com.baidu.mapframework.widget.BMBaseDialog',
|
||||||
'com.baidu.baidumaps.MapsActivity',
|
'com.baidu.baidumaps.MapsActivity',
|
||||||
],
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
key: 0,
|
||||||
matches:
|
matches:
|
||||||
'[text^="开启位置服务"] + RelativeLayout > [id="com.baidu.BaiduMap:id/tv_notip_btn"]',
|
'[text^="开启位置服务"] + RelativeLayout > [id="com.baidu.BaiduMap:id/tv_notip_btn"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12660884',
|
snapshotUrls: 'https://i.gkd.li/i/12660884',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 1,
|
||||||
matches:
|
matches:
|
||||||
'[text="需开启系统定位服务开关"] +2 [id="com.baidu.BaiduMap:id/ll_dialog_btn"] > [id="com.baidu.BaiduMap:id/tv_dialog_cancel"]',
|
'[text="需开启系统定位服务开关"] +2 [id="com.baidu.BaiduMap:id/ll_dialog_btn"] > [id="com.baidu.BaiduMap:id/tv_dialog_cancel"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12660883',
|
snapshotUrls: 'https://i.gkd.li/i/12660883',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 2,
|
||||||
matches:
|
matches:
|
||||||
'ImageView[id="com.baidu.BaiduMap:id/location_dialog_close_iv"]',
|
'ImageView[id="com.baidu.BaiduMap:id/location_dialog_close_iv"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12909299',
|
snapshotUrls: 'https://i.gkd.li/i/12909299',
|
||||||
|
|||||||
@@ -8,19 +8,19 @@ export default defineAppConfig({
|
|||||||
key: 1,
|
key: 1,
|
||||||
name: '定位提示-定位请求',
|
name: '定位提示-定位请求',
|
||||||
desc: '点击取消-点击取消',
|
desc: '点击取消-点击取消',
|
||||||
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
activityIds: 'com.baseus.intelligent.view.home.MainActivity',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
quickFind: true,
|
|
||||||
activityIds: 'com.baseus.intelligent.view.home.MainActivity',
|
|
||||||
matches: '@[text="取消"] + [text="前往设置"]',
|
matches: '@[text="取消"] + [text="前往设置"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13827653',
|
snapshotUrls: 'https://i.gkd.li/i/13827653',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: 0,
|
preKeys: 0,
|
||||||
key: 1,
|
key: 1,
|
||||||
quickFind: true,
|
|
||||||
activityIds: 'com.baseus.intelligent.view.home.MainActivity',
|
|
||||||
matches: '@[text="取消"] + [text="授权"]',
|
matches: '@[text="取消"] + [text="授权"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13827986',
|
snapshotUrls: 'https://i.gkd.li/i/13827986',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 10,
|
key: 10,
|
||||||
name: '定位提示-请求定位权限弹窗',
|
name: '定位提示-请求定位权限弹窗',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'com.dep.biguo.mvp.ui.activity.MainActivity',
|
activityIds: 'com.dep.biguo.mvp.ui.activity.MainActivity',
|
||||||
rules: '[text*="定位权限"] +2 [text="拒绝"]',
|
rules: '[text*="定位权限"] +2 [text="拒绝"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12708770',
|
snapshotUrls: 'https://i.gkd.li/i/12708770',
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ export default defineAppConfig({
|
|||||||
key: 1,
|
key: 1,
|
||||||
name: '定位提示-请求定位权限弹窗',
|
name: '定位提示-请求定位权限弹窗',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'com.eg.android.AlipayGphone.AlipayLogin',
|
activityIds: 'com.eg.android.AlipayGphone.AlipayLogin',
|
||||||
rules:
|
rules:
|
||||||
'@[id="com.alipay.mobile.antui:id/closeButton"] - [id="com.alipay.mobile.antui:id/textAndButtonLayout"] [id="com.alipay.mobile.antui:id/tipTextView"][text^="开启定位权限"]',
|
'@[id="com.alipay.mobile.antui:id/closeButton"] - [id="com.alipay.mobile.antui:id/textAndButtonLayout"] [id="com.alipay.mobile.antui:id/tipTextView"][text^="开启定位权限"]',
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 10,
|
key: 10,
|
||||||
name: '定位提示-请求位置权限提示信息',
|
name: '定位提示-请求位置权限提示信息',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'com.hihonor.phoneservice.main.MainActivity',
|
activityIds: 'com.hihonor.phoneservice.main.MainActivity',
|
||||||
rules:
|
rules:
|
||||||
'[text^="开启定位权限"] + [id="com.hihonor.phoneservice:id/iv_close"]',
|
'[text^="开启定位权限"] + [id="com.hihonor.phoneservice:id/iv_close"]',
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ export default defineAppConfig({
|
|||||||
key: 10,
|
key: 10,
|
||||||
name: '定位提示-请求位置权限弹窗',
|
name: '定位提示-请求位置权限弹窗',
|
||||||
desc: '自动点击取消',
|
desc: '自动点击取消',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'com.ifeng.news2.activity.IfengTabMainActivity',
|
activityIds: 'com.ifeng.news2.activity.IfengTabMainActivity',
|
||||||
rules:
|
rules:
|
||||||
'[text*="请求您的位置"] + [id="com.ifeng.news2:id/permission_cancel"]',
|
'[text*="请求您的位置"] + [id="com.ifeng.news2:id/permission_cancel"]',
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '定位提示-底部申请定位浮窗',
|
name: '定位提示-底部申请定位浮窗',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'com.jd.jdlite.MainFrameActivity',
|
activityIds: 'com.jd.jdlite.MainFrameActivity',
|
||||||
rules: '[text*="开启定位授权"] +2 ImageView',
|
rules: '[text*="开启定位授权"] +2 ImageView',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13804515',
|
snapshotUrls: 'https://i.gkd.li/i/13804515',
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ export default defineAppConfig({
|
|||||||
key: 9,
|
key: 9,
|
||||||
name: '定位提示-请求定位权限弹窗',
|
name: '定位提示-请求定位权限弹窗',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: 'com.hellobike.atlas.business.portal.PortalActivity',
|
activityIds: 'com.hellobike.atlas.business.portal.PortalActivity',
|
||||||
rules:
|
rules:
|
||||||
'[text="系统定位服务已关闭"] < FrameLayout +n FrameLayout >2 [text="取消"]',
|
'[text="系统定位服务已关闭"] < FrameLayout +n FrameLayout >2 [text="取消"]',
|
||||||
|
|||||||
@@ -67,6 +67,8 @@ export default defineAppConfig({
|
|||||||
name: '定位提示-漂流瓶-定位弹窗',
|
name: '定位提示-漂流瓶-定位弹窗',
|
||||||
desc: '自动点击取消',
|
desc: '自动点击取消',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.maxhom.weibu.tool.home.activity.ToolBottleActivity',
|
'com.maxhom.weibu.tool.home.activity.ToolBottleActivity',
|
||||||
'com.maxhom.weibu.tool.msg.MyBottleActivity',
|
'com.maxhom.weibu.tool.msg.MyBottleActivity',
|
||||||
|
|||||||
@@ -105,6 +105,9 @@ export default defineAppConfig({
|
|||||||
key: 7,
|
key: 7,
|
||||||
name: '定位提示',
|
name: '定位提示',
|
||||||
desc: '首页/外卖界面-"打开位置开关弹窗"-点击右侧x关闭',
|
desc: '首页/外卖界面-"打开位置开关弹窗"-点击右侧x关闭',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
actionMaximumKey: 0,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
|
|||||||
@@ -192,10 +192,12 @@ export default defineAppConfig({
|
|||||||
key: 14,
|
key: 14,
|
||||||
name: '定位提示-请求定位权限弹窗',
|
name: '定位提示-请求定位权限弹窗',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
actionMaximumKey: 0,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
actionMaximum: 1,
|
|
||||||
matches: '@[text="以后再说"] + * + [text="去开启"]',
|
matches: '@[text="以后再说"] + * + [text="去开启"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13218093',
|
'https://i.gkd.li/i/13218093',
|
||||||
@@ -204,7 +206,6 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
actionMaximumKey: 0,
|
|
||||||
matches:
|
matches:
|
||||||
'@[id="com.sina.weibo:id/btn_close"] +2 [text="使用您的位置信息"]',
|
'@[id="com.sina.weibo:id/btn_close"] +2 [text="使用您的位置信息"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13255595',
|
snapshotUrls: 'https://i.gkd.li/i/13255595',
|
||||||
|
|||||||
@@ -143,16 +143,18 @@ export default defineAppConfig({
|
|||||||
name: '定位提示',
|
name: '定位提示',
|
||||||
desc: '自动点击X',
|
desc: '自动点击X',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
actionMaximumKey: 0,
|
||||||
|
activityIds: 'me.ele.application.ui.Launcher.LauncherActivity',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
activityIds: 'me.ele.application.ui.Launcher.LauncherActivity',
|
|
||||||
matches: '[text="去开启"] + [id="me.ele:id/close"]',
|
matches: '[text="去开启"] + [id="me.ele:id/close"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13710588',
|
snapshotUrls: 'https://i.gkd.li/i/13710588',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
activityIds: 'me.ele.application.ui.Launcher.LauncherActivity',
|
|
||||||
matches: '[text="去开启"] + [id="me.ele:id/close_tips"]',
|
matches: '[text="去开启"] + [id="me.ele:id/close_tips"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13710585',
|
snapshotUrls: 'https://i.gkd.li/i/13710585',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user