- 小程序在IOS上如何禁用“橡皮筋”效果
https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/page.html 小程序在IOS上如何禁用滚动到头部或者底部时的“橡皮筋”效果,在页面配置中以添加 .json {"disableScroll": true } 测试手机 IPHONE 6S/14 正常,无橡皮筋效果。 测试手机IPHONE X/11无效,橡皮筋效果依然存在
2023-04-06 - 微信小程序开发工具问题?
问题描述: 页面切换之后,调试器窗口中点击左上角小箭头,指向任意界面元素,调试器没过三秒回自动刷新自身,对开发有一定影响 开发者工具版本: 版本号:(1.06.2205231) 系统版本:当前已是最新版本(1.06.2205231) 版本:Windows 10 专业版 21H1 操作系统内部版本:19043.1706
2022-05-27 - map组件问题,点击marker时返回的markerid不准确?
设置默认的四个标注,假设我点击index为1的标注时,返回的值是900000001,如图,获取时可能出现锚点对应的下标获取不到的情况,望修复 // html <view class="intro"> <map class="map" id="map" longitude="{{longitude}}" latitude="{{latitude}}" scale="{{scale}}" show-location="true" markers="{{markers}}" bindmarkertap="makertap" bindcallouttap="makertap" enable-zoom="true"></map> </view> // js const app = getApp() let mapContext = null; Page({ data: { scale: 11, latitude: 34.340515, longitude: 108.760382, markers: [ {content: "标注1", id: "12315", display: "ALWAYS", latitude: "34.340515", longitude: "108.760382"}, {content: "标注2", id: "12316", display: "ALWAYS", latitude: "34.344588", longitude: "108.731312"}, {content: "标注2", id: "12316", display: "ALWAYS", latitude: "34.341588", longitude: "108.761312"}, {content: "标注2", id: "12316", display: "ALWAYS", latitude: "34.371588", longitude: "108.711312"} ], }, onLoad() { mapContext = wx.createMapContext("map"); // 获取定位上右上角、左下角的值 mapContext.getRegion({ success: (data) => { this.setData({ ps: 50, nelng: data.northeast.longitude, nelat: data.northeast.latitude, swlng: data.southwest.longitude, swlat: data.southwest.latitude },()=>{ }) } }); }, makertap(sender){ console.log(sender); } }) // css .intro { text-align: center; } .map { width: 100vw; height: 100vh; margin: 0; padding: 0; } [图片]
2021-08-30