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', + }, ], });