1、wx.createCanvasContext 创建 canvas 的绘图上下文 2、wx.getSystemInfoSync. windowWidth 可使用窗口宽度 3、wx.getImageInfo 获取图片信息 4、drawImage 绘制图像到画布