1.在app.json中配置 "permission":{ "scope.userLocation":{ "desc":"你的位置信息授权" } } 2.在.wxml中 <map latitude="{ {lat}}" longitude="{ {lon}}"></map> <button type="primary" bindtap<