Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(支付宝):花呗升级弹窗(补充规则) (#3790)
Browse files Browse the repository at this point in the history
close #3788
  • Loading branch information
AIsouler authored Jan 14, 2024
1 parent 4c84a30 commit c065108
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions src/apps/com.eg.android.AlipayGphone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineAppConfig({
{
enable: false,
key: 0,
name: '关闭花呗升级弹窗',
name: '更新提示-关闭花呗升级弹窗',
actionMaximum: 1,
resetMatch: 'app',
activityIds: [
Expand Down Expand Up @@ -39,12 +39,17 @@ export default defineAppConfig({
'[text="花呗服务未升级,将影响后续使用"] <<n FrameLayout @FrameLayout[clickable=true] [text="暂不升级,继续付款"]',
snapshotUrls: 'https://i.gkd.li/import/13631362',
},
{
matches:
'[id="com.alipay.android.app:id/flybird_userinfo"] + * >8 FrameLayout[clickable=true][index=1]',
snapshotUrls: 'https://i.gkd.li/import/13857535',
},
],
},
{
enable: false,
key: 1,
name: '关闭开启定位提示',
name: '定位提示-请求定位权限弹窗',
quickFind: true,
activityIds: 'com.eg.android.AlipayGphone.AlipayLogin',
rules:
Expand All @@ -53,7 +58,7 @@ export default defineAppConfig({
},
{
key: 2,
name: '请求通知权限提示',
name: '通知提示-请求通知弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
Expand All @@ -80,7 +85,7 @@ export default defineAppConfig({
{
enable: false,
key: 3,
name: '版本更新',
name: '更新提示-版本更新弹窗',
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
Expand Down Expand Up @@ -151,5 +156,19 @@ export default defineAppConfig({
},
],
},
{
key: 11,
name: '全屏广告-借呗消费信贷协议',
desc: '点击X',
rules: [
{
activityIds:
'com.alipay.mobile.nebulax.integration.mpaas.activity.NebulaActivity$Main',
matches:
'[text="同意协议并刷脸验证"] < * -4 * >2 Image[visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/import/13915022',
},
],
},
],
});

0 comments on commit c065108

Please sign in to comment.