摘要: 发送弹幕 function getRandomColor() { let rgb = [] for (let i = 0; i < 3; ++i) { let color = Math.floor(Math.random() * 256).toString(16) color = color.length == 1 ? '0' ... 阅读全文
posted @ 2018-07-26 10:30 冷空气的清晰 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 拍照 开始录像 结束录像 预览 onLoad() { this.ctx = wx.createCameraContext() }, takePhoto() { this.ctx.takePhoto({ q... 阅读全文
posted @ 2018-07-26 10:11 冷空气的清晰 阅读(683) 评论(0) 推荐(0) 编辑