
微信小程序
专注微信开发(微信小程序,微信公众号)
shen清晨
一直在写代码的程序员
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
微信小程序使用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 · 3044 阅读 · 1 评论 -
微信小程序开发经验
1:点击一个链接,再返回到这个页面,需要重新加载的版块就放到onshow(),不需要从新加载的放到onload()2: 加载动画放到需要加载的版块中,不要都放到整个页面中。3:小程序json配置文件的key必须是双引号...原创 2020-02-16 21:18:56 · 578 阅读 · 0 评论