|
@@ -12,6 +12,7 @@ Page({ |
|
|
windowWidth: wx.getSystemInfoSync().windowWidth, |
|
|
windowWidth: wx.getSystemInfoSync().windowWidth, |
|
|
windowHeight: wx.getSystemInfoSync().screenHeight, |
|
|
windowHeight: wx.getSystemInfoSync().screenHeight, |
|
|
totalHeight: 0, |
|
|
totalHeight: 0, |
|
|
|
|
|
isdisable:true, |
|
|
mallname: '', //商场名字 |
|
|
mallname: '', //商场名字 |
|
|
qrCodeL: "", //小程序码 |
|
|
qrCodeL: "", //小程序码 |
|
|
couponList: [], //活动劵列表 |
|
|
couponList: [], //活动劵列表 |
|
@@ -144,8 +145,12 @@ Page({ |
|
|
that.drawAvatarimg(ctx, scale); |
|
|
that.drawAvatarimg(ctx, scale); |
|
|
that.drawqrCode(ctx, scale); |
|
|
that.drawqrCode(ctx, scale); |
|
|
wx.hideLoading(); |
|
|
wx.hideLoading(); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
isdisable:false, |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//绘制微信头像 |
|
|
//绘制微信头像 |
|
|
drawAvatarimg(ctx, scale) { |
|
|
drawAvatarimg(ctx, scale) { |
|
|