03 2023 档案
摘要:微信小程序提供了 wx.createSelectorQuery 接口,用于获取 WXML 节点信息。其中,boundingClientRect 方法可以获取某个节点的布局位置和尺寸信息。 boundingClientRect 方法接受一个回调函数作为参数,该函数在获取节点信息成功时被调用,并且将节点
阅读全文
摘要:pages.json { "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ { "path": "pages/ios/index", "style": { "navigationStyle": "cus
阅读全文