From 774e3a2045c68bd03bb7ae93642de1ad4e82891e Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 17 Sep 2023 22:33:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=99=BE=E5=BA=A6=E5=9C=B0=E5=9B=BE):=20?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=B8=8A=E6=96=B9=E9=BB=84=E9=A1=B5=E6=A8=AA?= =?UTF-8?q?=E5=B9=85,=20=E6=89=93=E8=BD=A6=E7=95=8C=E9=9D=A2-=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E6=82=AC=E6=B5=AE=E7=90=83,=20=E7=BE=8E=E9=A3=9F?= =?UTF-8?q?=E5=A4=A7=E7=A4=BC=E5=8C=85=E5=BC=B9=E7=AA=97,=20=E9=85=92?= =?UTF-8?q?=E5=BA=97=E6=8F=90=E5=89=8D=E8=AE=A2=E5=BC=B9=E7=AA=97=20(#124)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.baidu.BaiduMap.ts | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/src/apps/com.baidu.BaiduMap.ts b/src/apps/com.baidu.BaiduMap.ts index 73bfeff1..4fcf4196 100644 --- a/src/apps/com.baidu.BaiduMap.ts +++ b/src/apps/com.baidu.BaiduMap.ts @@ -10,8 +10,38 @@ export default defineAppConfig({ activityIds: 'com.baidu.baidumaps.MapsActivity', rules: [ '@TextView[text^=`跳过`] + TextView[text=`广告`]', - 'ImageView[clickable=false] + TextView[text^=\'跳过\'][clickable=true]', // 1689423368140 + 'ImageView[clickable=false] + TextView[text^="跳过"][clickable=true]', // 1689423368140 ], }, + { + key: 1, + name: '地图上方黄页横幅', + activityIds: 'com.baidu.baidumaps.MapsActivity', + rules: '[id="com.baidu.BaiduMap:id/yellow_banner_close"][desc="关闭"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12642301', + }, + { + key: 2, + name: '打车界面-右侧悬浮球', + activityIds: 'com.baidu.baidumaps.MapsActivity', + rules: 'RelativeLayout[id="com.baidu.BaiduMap:id/rl_close_content"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12642307', + }, + { + enable: false, + key: 3, + name: '美食大礼包弹窗', + activityIds: 'com.baidu.baidumaps.MapsActivity', + rules: '[text="美食大礼包"] +(6) TextView[id=null][clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12642310', + }, + { + enable: false, + key: 4, + name: '酒店提前订弹窗', + activityIds: 'com.baidu.baidumaps.MapsActivity', + rules: '[id="lottie_box"] + TextView[id=null][clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12642319', + }, ], });