Commit 01abfa11 by 赵雅纹

Merge branch 'fixbug-ZYW' into 'dev_7.1.0'

邀请好友海报优化

See merge request !171
parents d678cf36 cd93901e
......@@ -10,13 +10,12 @@ export default class InviteFriends {
posterImgWidth = options.posterImgWidth ? options.posterImgWidth : 0;
posterImgHeight = options.posterImgHeight ? options.posterImgHeight : 0;
if (posterImgHeight > windowHeight){
posterImgHeight = windowHeight - 90;
posterImgHeight = windowHeight - 200;
}
}
return ({
width: '750rpx',
height: windowHeight + 'px',
height: windowHeight - 100 + 'px',
background: '#fff',
views: [
{
......
......@@ -67,6 +67,7 @@ wxService.page({
//生成海报
generatePoster(){
const { member } = wx.getStorageSync('_baseUserInfo')
const { avatarUrl } = wx.getStorageSync('_userInfo')
let _this = this;
wx.getSystemInfo({
success: function (system) {
......@@ -126,6 +127,8 @@ wxService.page({
// codeImg: "https://hwimagecdn.ihotwind.cn/usr/201908/miniQrCode-f00c5051fef7479395efb193431762c4.jpg"
},()=>{
const { member } = wx.getStorageSync('_baseUserInfo')
const { avatarUrl } = wx.getStorageSync('_userInfo')
console.log('0000', avatarUrl)
wx.getSystemInfo({
success: function (system) {
wx.getImageInfo({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment