mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
perf: 支付宝
This commit is contained in:
@@ -3,43 +3,46 @@ import { defineAppConfig } from '../types';
|
|||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
id: 'com.eg.android.AlipayGphone',
|
id: 'com.eg.android.AlipayGphone',
|
||||||
name: '支付宝',
|
name: '支付宝',
|
||||||
|
deprecatedKeys: [10, 15, 18],
|
||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '更新提示-关闭花呗升级弹窗',
|
name: '全屏广告-关闭花呗升级弹窗',
|
||||||
matchTime: 10000,
|
|
||||||
actionMaximum: 1,
|
|
||||||
resetMatch: 'app',
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
|
activityIds:
|
||||||
|
'com.alipay.mobile.nebulax.integration.mpaas.activity.NebulaActivity$Main',
|
||||||
matches: 'View[childCount=3] > @Image - View[text="花呗服务升级"]',
|
matches: 'View[childCount=3] > @Image - View[text="花呗服务升级"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12737055', //com.alipay.mobile.nebulax.integration.mpaas.activity.NebulaActivity$Main
|
snapshotUrls: 'https://i.gkd.li/i/12737055',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 1,
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
|
activityIds: [
|
||||||
|
'com.alipay.android.msp.ui.views.MspContainerActivity',
|
||||||
|
'com.alipay.android.msp.ui.views.MspUniRenderActivity',
|
||||||
|
],
|
||||||
matches: [
|
matches: [
|
||||||
'[text="根据相关法律法规要求,请尽快完成花呗升级"]',
|
'[text="根据相关法律法规要求,请尽快完成花呗升级"]',
|
||||||
'FrameLayout > FrameLayout > FrameLayout > [text="关闭"]',
|
'FrameLayout > FrameLayout > FrameLayout > [text="关闭"]',
|
||||||
],
|
],
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/i/13183946', //com.alipay.android.msp.ui.views.MspContainerActivity
|
'https://i.gkd.li/i/13183946',
|
||||||
'https://i.gkd.li/i/12826077', //com.alipay.android.msp.ui.views.MspUniRenderActivity
|
'https://i.gkd.li/i/12826077',
|
||||||
'https://i.gkd.li/i/12915864',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 2,
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
matches:
|
activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity',
|
||||||
'[text="花呗服务未升级,将影响后续使用"] <<n FrameLayout @FrameLayout[clickable=true] [text="暂不升级,继续付款"]',
|
matches: [
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13631362',
|
'[text*="花呗服务"]',
|
||||||
},
|
'@[clickable=true] >2 [text="暂不升级,继续付款"]',
|
||||||
{
|
],
|
||||||
matches:
|
|
||||||
'[text="同意协议并确认交易"] < * <2 FrameLayout[childCount=2] + FrameLayout [text="暂不升级,继续付款"]',
|
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/13631362',
|
||||||
'https://i.gkd.li/i/13857535',
|
'https://i.gkd.li/i/13857535',
|
||||||
'https://i.gkd.li/i/14001273', // 误触快照
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -51,8 +54,7 @@ export default defineAppConfig({
|
|||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
activityIds: 'com.eg.android.AlipayGphone.AlipayLogin',
|
activityIds: 'com.eg.android.AlipayGphone.AlipayLogin',
|
||||||
rules:
|
rules: '@[desc="关闭"] - * >4 [text*="开启定位权限"]',
|
||||||
'@[id="com.alipay.mobile.antui:id/closeButton"] - [id="com.alipay.mobile.antui:id/textAndButtonLayout"] [id="com.alipay.mobile.antui:id/tipTextView"][text^="开启定位权限"]',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/12792688',
|
snapshotUrls: 'https://i.gkd.li/i/12792688',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -82,19 +84,21 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '更新提示-版本更新弹窗',
|
name: '更新提示-版本更新弹窗',
|
||||||
|
quickFind: true,
|
||||||
matchTime: 10000,
|
matchTime: 10000,
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
quickFind: true,
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
name: '弹窗-"稍后再说"',
|
key: 0,
|
||||||
matches:
|
matches: '[text="立即更新" || text="马上体验"] <n * > [text*="稍后"]',
|
||||||
'TextView[id="com.alipay.mobile.accountauthbiz:id/update_cancel_tv"]',
|
snapshotUrls: [
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13327095',
|
'https://i.gkd.li/i/13327095',
|
||||||
|
'https://i.gkd.li/i/15010554',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '弹窗-"x"',
|
key: 1,
|
||||||
matches:
|
matches:
|
||||||
'[text="版本更新"||text^="Version"] - [id="com.alipay.mobile.antui:id/btn_close"]',
|
'[text="版本更新"||text^="Version"] - [id="com.alipay.mobile.antui:id/btn_close"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
@@ -103,7 +107,7 @@ export default defineAppConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '卡片-"x"',
|
key: 2,
|
||||||
matches:
|
matches:
|
||||||
'[text="立即升级最新版支付宝客户端"] < LinearLayout + [id="com.alipay.mobile.advertisement:id/announcementview_righticon"]',
|
'[text="立即升级最新版支付宝客户端"] < LinearLayout + [id="com.alipay.mobile.advertisement:id/announcementview_righticon"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13490797',
|
snapshotUrls: 'https://i.gkd.li/i/13490797',
|
||||||
@@ -118,32 +122,11 @@ export default defineAppConfig({
|
|||||||
activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity',
|
activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches:
|
matches: [
|
||||||
'@TextView[text="关闭"] < * <3 * < * + * >3 TextView[text="设置支付宝小组件"]',
|
'[text="设置支付宝小组件"]',
|
||||||
action: 'clickCenter',
|
'@[clickable=true] > [text="关闭"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13327349',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
snapshotUrls: 'https://i.gkd.li/i/13327349',
|
||||||
{
|
|
||||||
key: 10,
|
|
||||||
name: '分段广告-小程序-12306',
|
|
||||||
activityIds: 'com.alipay.mobile.nebulax.xriver.activity.XRiverActivity',
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
key: 0,
|
|
||||||
matches:
|
|
||||||
'[desc="推荐广告"] > [desc="展开更多选项"][visibleToUser=true]',
|
|
||||||
action: 'clickCenter',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13763314',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
preKeys: 0,
|
|
||||||
key: 1,
|
|
||||||
quickFind: true,
|
|
||||||
matches: '[text="对该内容不感兴趣"]',
|
|
||||||
action: 'clickCenter',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13763315',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -203,25 +186,6 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 15,
|
|
||||||
name: '全屏广告-小程序-哈啰-专属额度到账弹窗',
|
|
||||||
desc: '点击关闭',
|
|
||||||
activityIds: 'com.alipay.mobile.nebulax.xriver.activity.XRiverActivity',
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
matches:
|
|
||||||
'[id="com.alipay.mobile.nebula:id/h5_pc_container"] View[childCount=1] > View[childCount=2] > View > Image < View + Image[text=""]',
|
|
||||||
exampleUrls:
|
|
||||||
'https://m.gkd.li/57941037/bfc87673-cba3-4a5b-ba77-210de8244604',
|
|
||||||
snapshotUrls: [
|
|
||||||
'https://i.gkd.li/i/14112224',
|
|
||||||
'https://i.gkd.li/i/14176001', //不加text=""误触
|
|
||||||
'https://i.gkd.li/i/14602610', // 使用 View > Image < View 防止误触
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 16,
|
key: 16,
|
||||||
name: '分段广告-扫码乘车后出现的广告',
|
name: '分段广告-扫码乘车后出现的广告',
|
||||||
@@ -268,22 +232,6 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 18,
|
|
||||||
name: '全屏广告-小程序-红包弹窗',
|
|
||||||
desc: '点击关闭',
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
action: 'clickCenter',
|
|
||||||
activityIds:
|
|
||||||
'com.alipay.mobile.nebulax.xriver.activity.XRiverActivity$XRiverLite1',
|
|
||||||
matches: 'View[childCount=2] > View > Image < * + [text="X"]',
|
|
||||||
exampleUrls:
|
|
||||||
'https://m.gkd.li/57941037/19ba92ce-0c57-4559-ab53-89b912fe8506',
|
|
||||||
snapshotUrls: 'https://i.gkd.li/i/14783332',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 19,
|
key: 19,
|
||||||
name: '分段广告-服务消息页面-卡片广告',
|
name: '分段广告-服务消息页面-卡片广告',
|
||||||
|
|||||||
Reference in New Issue
Block a user