Commit fd8878ee by 前端

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

修改imgH顺序

See merge request !41
2 parents 8c96e6bb b5b7d64d
...@@ -86,17 +86,17 @@ Page({ ...@@ -86,17 +86,17 @@ Page({
wx.getImageInfo({ wx.getImageInfo({
src: img, src: img,
success:(res)=> { success:(res)=> {
let imgW = res.width/5, imgH =res.height/5;
let drawFun = new Draw({
width: imgW,
height: imgH
});
ActivityApi.getActivityVisitorList({ ActivityApi.getActivityVisitorList({
actNum, activeNavIdx actNum, activeNavIdx
}).then(response => { }).then(response => {
let imgW = res.width/5, imgH =res.height/5;
this.setData({ this.setData({
imgH: (imgH/imgW)*450 imgH: (imgH/imgW)*450
}) })
let drawFun = new Draw({
width: imgW,
height: imgH
});
let arr = [456,222,0,496] let arr = [456,222,0,496]
let imgList = [ let imgList = [
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!