微信小程序
专注微信开发(微信小程序,微信公众号)
s清晨
这个作者很懒,什么都没留下…
展开
-
微信小程序使用catchtouchstart事件之后,会导致子元素bindtap失效
先看代码案例: <!--components/date/date.wxml--> <view class="dragComponent" id="dragComponentId" style="top:{{buttonTop}}px;left:{{buttonLeft}}px;" catchtouchstart = "_touchstart" catchtouchmove = "_touchmove" catchtouchend = "_touchend"> <view c原创 2020-05-13 10:48:47 · 2780 阅读 · 1 评论 -
微信小程序开发经验
1:点击一个链接,再返回到这个页面,需要重新加载的版块就放到onshow(),不需要从新加载的放到onload() 2: 加载动画放到需要加载的版块中,不要都放到整个页面中。 3:小程序json配置文件的key必须是双引号 ...原创 2020-02-16 21:18:56 · 504 阅读 · 0 评论