
小程序分享到朋友圈
onShareTimeline() onShareTimeline: function () { let that = this; return { title: that.data.shopInfo.nam...
onShareTimeline() onShareTimeline: function () { let that = this; return { title: that.data.shopInfo.nam...
MiniProgramError Cannot read property ‘_src’ of undefined TypeError: Cannot read property ‘_src’...
小程序js部分 //str是需要换行的文本,for循环if判断在长度为130时开始绘制,上下两行 for (var i = 0; i < str.length; i++){ if (ctx.measureText(str.substr...