From cfe9decc19087fb4408b48b356b45a1f6d69a2b2 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 12 Sep 2025 12:22:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=AB=98=E5=BE=B7=E5=9C=B0=E5=9B=BE-?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A=20#1150?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/appDeprecatedKeys.ts | 2 +- src/apps/com.autonavi.minimap.ts | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index 8365560b..99ffda94 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -170,7 +170,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.autonavi.minimap', name: '高德地图', - deprecatedKeys: [0], + deprecatedKeys: [0, 12], }, { id: 'com.babycloud.hanju', diff --git a/src/apps/com.autonavi.minimap.ts b/src/apps/com.autonavi.minimap.ts index 2e7a2a41..e4fc63c9 100644 --- a/src/apps/com.autonavi.minimap.ts +++ b/src/apps/com.autonavi.minimap.ts @@ -97,14 +97,6 @@ export default defineGkdApp({ 'https://i.gkd.li/i/13764540', // 限定 ImageView[width<90][height<90],避免在此误触 ], }, - { - key: 12, - name: '全屏广告-加油页面优惠券弹窗', - activityIds: 'com.autonavi.map.activity.NewMapActivity', - rules: - '@ImageView < [desc="关闭"][clickable=true] - ViewGroup > ViewGroup > ViewGroup > View[text="立即领取"]', - snapshotUrls: ['https://i.gkd.li/i/12642857'], - }, { key: 13, name: '局部广告-卡片广告', @@ -150,7 +142,7 @@ export default defineGkdApp({ }, { key: 14, - name: '全屏广告-弹窗广告', + name: '全屏广告', desc: '点击关闭', rules: [ { @@ -177,6 +169,15 @@ export default defineGkdApp({ 'https://m.gkd.li/57941037/e059109b-f4bb-4ed6-81a8-6010b51ebfd5', snapshotUrls: 'https://i.gkd.li/i/14809993', }, + { + key: 2, + fastQuery: true, + activityIds: 'com.autonavi.map.activity.NewMapActivity', + matches: + '@ViewGroup[clickable=true] > View[visibleToUser=true][text^="关闭"] <