From 49c88e0517bc748fdb653097a42273f6b2f9f69d Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 21 Aug 2025 20:45:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=94=AF=E4=BB=98=E5=AE=9D-=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appDeprecatedKeys.ts | 2 +- src/apps/com.eg.android.AlipayGphone.ts | 25 +++++-------------------- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index f91fad27..08df7b5a 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -400,7 +400,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.eg.android.AlipayGphone', name: '支付宝', - deprecatedKeys: [10, 15, 18], + deprecatedKeys: [10, 15, 18, 20], }, { id: 'com.handsgo.jiakao.android', diff --git a/src/apps/com.eg.android.AlipayGphone.ts b/src/apps/com.eg.android.AlipayGphone.ts index 853b2d4a..f03f902c 100644 --- a/src/apps/com.eg.android.AlipayGphone.ts +++ b/src/apps/com.eg.android.AlipayGphone.ts @@ -244,20 +244,21 @@ export default defineGkdApp({ }, { key: 14, - name: '全屏广告-"下次支付用花呗"弹窗', - desc: '点击"30天不再提醒"', + name: '全屏广告-支付后的推荐弹窗', + desc: '点击关闭', rules: [ { fastQuery: true, activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity', matches: [ - '[text="同意协议并开通" || text*="开通花呗"]', - '[text="30天不再提醒" || text="不感兴趣"]', + '[text$="推荐你"][visibleToUser=true]', + '@[clickable=true] > [text="关闭"]', ], exampleUrls: 'https://m.gkd.li/57941037/8daecaeb-35f0-4f3a-8d5a-a19098a992d5', snapshotUrls: [ 'https://i.gkd.li/i/14060628', + 'https://i.gkd.li/i/14893122', 'https://i.gkd.li/i/15050300', 'https://i.gkd.li/i/20684144', ], @@ -350,22 +351,6 @@ export default defineGkdApp({ }, ], }, - { - key: 20, - name: '全屏广告-[0元下单权益]弹窗', - desc: '支付完成后出现', - rules: [ - { - fastQuery: true, - activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity', - matches: - '[text="关闭"] < @FrameLayout[clickable=true] <3 FrameLayout[childCount=3] < * + FrameLayout[childCount=3] [text*="0元下单"]', - exampleUrls: - 'https://m.gkd.li/57941037/3575bbbc-717b-466d-b863-443a15629ef6', - snapshotUrls: 'https://i.gkd.li/i/14893122', - }, - ], - }, { key: 21, name: '局部广告-卡片广告',