From 076efeac49f6f0bb9dc313df0ef1b71299348444 Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 1 Feb 2024 18:32:02 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 5f84348028d65758adf25e978913c073ab22fd0e Author: aisouler Date: Fri Jan 26 14:16:31 2024 +0800 feat(支付宝):"下次支付用花呗"弹窗 commit cee3f848059d24edc1422681b1103961a434f365 Author: aisouler Date: Wed Jan 24 21:38:42 2024 +0800 feat:添加误触快照链接 commit 780f22803ea7edeb7b606a4b01ce3263377418e9 Author: aisouler Date: Wed Jan 24 14:56:59 2024 +0800 feat:领新年红包弹窗 commit e9a2605e81d77c84d75d2934604e3490fe3c9400 Author: aisouler Date: Mon Jan 22 18:49:52 2024 +0800 feat(支付宝):支付后自动点击完成 commit 57456edcfe9ca830dc8ebcaa92a7e4f9a6a83c07 Author: aisouler Date: Sun Jan 21 20:35:35 2024 +0800 fix(支付宝):修复误触 --- src/apps/com.eg.android.AlipayGphone.ts | 51 +++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/src/apps/com.eg.android.AlipayGphone.ts b/src/apps/com.eg.android.AlipayGphone.ts index fc0e8b76..574b3675 100644 --- a/src/apps/com.eg.android.AlipayGphone.ts +++ b/src/apps/com.eg.android.AlipayGphone.ts @@ -41,8 +41,11 @@ export default defineAppConfig({ }, { matches: - '[id="com.alipay.android.app:id/flybird_userinfo"] + * >8 FrameLayout[clickable=true][index=1]', - snapshotUrls: 'https://i.gkd.li/import/13857535', + '[text="同意协议并确认交易"] < * <2 FrameLayout[childCount=2] + FrameLayout [text="暂不升级,继续付款"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13857535', + 'https://i.gkd.li/import/14001273', // 误触快照 + ], }, ], }, @@ -136,7 +139,7 @@ export default defineAppConfig({ }, { key: 10, - name: '小程序-12306', + name: '分段广告-小程序-12306', activityIds: 'com.alipay.mobile.nebulax.xriver.activity.XRiverActivity', rules: [ { @@ -170,5 +173,47 @@ export default defineAppConfig({ }, ], }, + { + key: 12, + name: '功能类-支付后自动点击完成', + quickFind: true, + rules: [ + { + activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity', + matches: + '[id="com.alipay.android.app:id/rl_nav_bar"] > [id="com.alipay.android.app:id/nav_right_textview"]', + snapshotUrls: 'https://i.gkd.li/import/14008852', + }, + ], + }, + { + key: 13, + name: '全屏广告-领新年红包弹窗', + desc: '点击X', + rules: [ + { + activityIds: 'com.eg.android.AlipayGphone.AlipayLogin', + matches: + 'RelativeLayout[childCount=2][desc="全屏广告"] ImageView[desc="关闭"]', + snapshotUrls: 'https://i.gkd.li/import/14034152', + }, + ], + }, + { + key: 14, + name: '全屏广告-"下次支付用花呗"弹窗', + desc: '点击"30天不再提醒"', + rules: [ + { + quickFind: true, + activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity', + matches: + '@[text$="不再提醒"] <<2 * <3 * - FrameLayout[childCount=3] [text="下次支付用花呗"]', + exampleUrls: + 'https://m.gkd.li/57941037/8daecaeb-35f0-4f3a-8d5a-a19098a992d5', + snapshotUrls: 'https://i.gkd.li/import/14060628', + }, + ], + }, ], });