Commit 9c9cb25f by 前端

Merge branch 'zq_dev_3.0' into 'v3.0'

不调二维码的接口

See merge request !43
2 parents 051cf331 74ab0a09
......@@ -58,12 +58,14 @@ Page({
detail
}) {
if (!detail.code) return
wx.showLoading()
USERAPI.authUserPhone(detail, this.loginToken).then(({
code,
data,
message,
errId
}) => {
wx.hideLoading()
if (code == '0' || errId=='30990103'){
let target = null
if(code == '0' && data.loginUserInfoList?.length){
......@@ -93,6 +95,7 @@ Page({
this.register(regParmas)
}
}else{
wx.hideLoading()
wx.$api.showToast(message || '系统异常')
}
}).catch(({
......
......@@ -91,9 +91,9 @@ Page({
width: imgW,
height: imgH
});
ActivityApi.getActivityVisitorList({
actNum, activeNavIdx
}).then(response => {
// ActivityApi.getActivityVisitorList({
// actNum, activeNavIdx
// }).then(response => {
this.setData({
imgH: (imgH/imgW)*450
})
......@@ -106,13 +106,13 @@ Page({
height: imgH,
url: img,
},
{
x:imgW-64,
y: imgH-arr[actNum]-64,
width: 64,
height: 64,
url: response, //二维码
},
// {
// x:imgW-64,
// y: imgH-arr[actNum]-64,
// width: 64,
// height: 64,
// url: response, //二维码
// },
];
drawFun.begin({
imageList: imgList,
......@@ -123,8 +123,7 @@ Page({
});
wx.hideLoading()
})
console.log(response,'response')
})
// })
}
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!