mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(百度地图): 请求定位弹窗 (#141)
This commit is contained in:
@@ -43,5 +43,23 @@ export default defineAppConfig({
|
||||
rules: '[id="lottie_box"] + TextView[id=null][clickable=true]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12642319',
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 5,
|
||||
name: '请求定位弹窗',
|
||||
activityIds: ['com.baidu.mapframework.widget.BMBaseDialog'],
|
||||
rules: [
|
||||
{
|
||||
matches:
|
||||
'[text^="开启位置服务"] + RelativeLayout > [id="com.baidu.BaiduMap:id/tv_notip_btn"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12660884',
|
||||
},
|
||||
{
|
||||
matches:
|
||||
'[text="需开启系统定位服务开关"] +2 [id="com.baidu.BaiduMap:id/ll_dialog_btn"] > [id="com.baidu.BaiduMap:id/tv_dialog_cancel"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12660883',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user