摘要:
简单概述一下效果:第一次点击了取消,之后点击的时候会一直出现获取权限弹框 .wxml文件 .js文件 阅读全文
摘要:
简单说一下遇到的问题,标注点出不来情况,之后是.wxml文件中map标签行内定义longitude="{{map.lng}}" 、latitude="{{map.lat}}"、markers="{{map.markers}}"然后在.js文件中也分别定义。 .wxml文件 .js文件 阅读全文
摘要:
Page({ data: { current_address: "", wc_guide_info:[], current_page:1, //当前页码 sum_page:1 //总页码,后台会返回 }, getwcinfo: function (){ ... 阅读全文
摘要:
wx.getLocation({ altitude: false, success: function (res) { var latitude = res.latitude; var longitude = res.longitude; that.gl... 阅读全文