上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 129 下一页
摘要: https://www.cnblogs.com/chengjian-physique/p/8076356.html(copy) 阅读全文
posted @ 2019-04-28 14:59 ThisCall 阅读(87) 评论(0) 推荐(0)
摘要: 对onPageScroll中的setData赋值次数进行节流 https://www.jianshu.com/p/b835527a792e(没看完) onPageScroll: function (e) { console.log(e); let arrHeight = this.data.arrH 阅读全文
posted @ 2019-04-26 18:01 ThisCall 阅读(203) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/zishang91/p/8507485.html(copy 第一种 <!-- 正常商品列表 --> <view class='goods-list flexw'> <block wx:key="list" wx:for="{{list}}"> <view 阅读全文
posted @ 2019-04-26 17:46 ThisCall 阅读(255) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/rolan1993/article/details/88106343 在做一个小球跟随手指移动的效果时候,由于在touchmove事件中频繁调用setData改变小球的位移实现,在开发工具和IOS平台还算流畅,但在安卓机下手机预览出现极其卡顿的交互,简直是 阅读全文
posted @ 2019-04-25 10:25 ThisCall 阅读(587) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/yiyi17/p/9409249.html(copy https://www.cnblogs.com/loveyaxin/p/8385694.html(copy 问题场景 场景很简单,就是一个正常 axios post 请求: 后台说没有接收到你的传参 阅读全文
posted @ 2019-04-18 16:59 ThisCall 阅读(2456) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-04-18 11:40 ThisCall 阅读(538) 评论(0) 推荐(0)
摘要: cli安装mock模块 npm install mockjs 创建mock文件夹 配置及创建文件 当后端写好真实接口以后,我们只需删掉创建的mock.js文件和在main.js中导入假数据的那行代码即可,其余都不用动,简直不能更方便哈! 阅读全文
posted @ 2019-04-18 11:30 ThisCall 阅读(214) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-04-17 15:59 ThisCall 阅读(375) 评论(0) 推荐(0)
摘要: 要给引入组件加wx:if="",不然会导致传送的[1,2,3]定位失灵 阅读全文
posted @ 2019-04-17 11:45 ThisCall 阅读(243) 评论(0) 推荐(0)
摘要: list.findIndex(target => target.sel 指定元素) ,如果找到返回下标,如果没有返回-1 阅读全文
posted @ 2019-04-16 09:31 ThisCall 阅读(820) 评论(0) 推荐(0)
上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 129 下一页