|
|
@@ -142,7 +142,7 @@ Page({ |
|
|
|
that.roundRect(ctx,12, 270, 320, 150,10) |
|
|
|
that.drawOtherImage(ctx, scale); |
|
|
|
that.drawOtherContent(ctx, scale,options); |
|
|
|
that.darwAvatarArc(ctx, that.data.avatarUrl, 10, 8, 35, 35); |
|
|
|
that.drawAvatarimg(ctx, scale); |
|
|
|
that.drawqrCode(ctx, scale); |
|
|
|
wx.hideLoading(); |
|
|
|
} |
|
|
@@ -152,7 +152,7 @@ Page({ |
|
|
|
drawAvatarimg(ctx, scale) { |
|
|
|
var that = this; |
|
|
|
//商户详情海报 |
|
|
|
let src1 =that.data.avatarUrl +`?imageView/2/w/${topImageWidth}/h/${topImageHeight}`; |
|
|
|
let src1 =that.data.avatarUrl +`?imageView/2/w/${100}/h/${100}`; |
|
|
|
let src2 = util.getProxyImgUrl(src1); |
|
|
|
wx.getImageInfo({ |
|
|
|
src: src2, |
|
|
|