上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: 唐菜也 视频学习地址:https://chuanke.baidu.com/v4702151-193232-1107660.html 阅读全文
posted @ 2018-10-29 14:35 金牛座的女孩 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1、concat()把元素衔接到数组中。 2、every()测试断言函数是否对每个数组元素都为真。 3、filter()返回满足断言函数的数组元素。 4、forEach()为数组的每一个元素调用指定函数。 5、indexOf()在数组中查找指定元素。 6、join()将数组的所有元素转化为字符串。 阅读全文
posted @ 2018-10-28 22:24 金牛座的女孩 阅读(1181) 评论(0) 推荐(0) 编辑
摘要: 学习链接:https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/ 1、创建一个组件文件夹component包括js、json、wxss、wxml 在json文件里配置 {"component": tru 阅读全文
posted @ 2018-10-27 23:04 金牛座的女孩 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 学习地址:https://www.cnblogs.com/gavinjay/p/8582137.html 用到的小程序API:https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasToTempFilePath.htm 阅读全文
posted @ 2018-10-26 17:24 金牛座的女孩 阅读(193) 评论(0) 推荐(0) 编辑
摘要: https://weapp.iviewui.com/docs/guide/start 阅读全文
posted @ 2018-10-25 17:51 金牛座的女孩 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 开发者可以在 onPageNotFound 回调中进行重定向处理,但必须在回调中同步处理,异步处理(例如 setTimeout 异步执行)无效。 App({ onPageNotFound(res) { wx.redirectTo({ url: 'pages/...' }) // 如果是 tabbar 阅读全文
posted @ 2018-10-24 23:10 金牛座的女孩 阅读(304) 评论(0) 推荐(0) 编辑
摘要: e.target 拿的是点击的对象的属性 e.currentTarget 则是拿 bintap/catchtap 所在的对象的属性~,点击里面的元素一样能拿到属性值 <view class='a-child' data-tid='{{child.ID}}' bindtap='selectChild' 阅读全文
posted @ 2018-10-24 13:49 金牛座的女孩 阅读(2028) 评论(0) 推荐(0) 编辑
摘要: 通过data-index="{{index}}"来标记 学习链接:https://www.cnblogs.com/i-douya/p/8253872.html 阅读全文
posted @ 2018-10-23 14:25 金牛座的女孩 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 学习链接:https://www.runoob.com/w3cnote/flex-grammar.html 阅读全文
posted @ 2018-10-23 14:10 金牛座的女孩 阅读(102) 评论(0) 推荐(0) 编辑
摘要: WCML <view bindtap="viewTap">绑定了事件</view> JS viewTap:function(){ wx.showToast({ title: '成功', icon: 'success', duration: 2000 }) } 学习链接:https://develop 阅读全文
posted @ 2018-10-22 17:42 金牛座的女孩 阅读(10225) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页