- 微信支付统一下单接口返回公益404
微信支付沙盒测试环境的统一支付接口返回公益404
2020-11-29 - Canvas dosen't work in custom component
自定义组件(Component)中无法绘制图形,但是在页面(Page)中正常,是不是Component中的Canvas存在什么使用规则? [代码]Component({[代码][代码] [代码][代码]/**[代码][代码] [代码][代码]* 组件的属性列表[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]properties: {[代码][代码] [代码][代码] [代码][代码]},[代码][代码] [代码][代码]/**[代码][代码] [代码][代码]* 组件的初始数据[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码] [代码][代码]},[代码][代码] [代码][代码]attached: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]// this.start()[代码][代码] [代码][代码]},[代码][代码] [代码][代码]ready: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]this[代码][代码].canvasContext = wx.createCanvasContext([代码][代码]'sine-wave'[代码][代码])[代码][代码] [代码][代码]this[代码][代码].canvasContext.setFillStyle([代码][代码]'red'[代码][代码])[代码][代码] [代码][代码]this[代码][代码].canvasContext.fillRect(10, 10, 150, 100)[代码][代码] [代码][代码]this[代码][代码].canvasContext.draw()[代码][代码] [代码][代码]console.log([代码][代码]'draw'[代码][代码], [代码][代码]this[代码][代码].canvasContext)[代码][代码] [代码][代码]},[代码] })
2018-05-24 - 小程序语音识别
- 需求的场景描述(希望解决的问题) 需要将英文语音转换成中文文本 - 希望提供的能力 提供开放的语音识别接口
2018-05-17