feat(百度地图): 地图上方黄页横幅, 打车界面-右侧悬浮球, 美食大礼包弹窗, 酒店提前订弹窗 (#124)

This commit is contained in:
Kun Jinkao 2023-09-17 22:33:38 +08:00 committed by GitHub
parent 54f5c79dc6
commit 774e3a2045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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