Commit b5b7d64d by zhangquan

修改imgH顺序

1 parent cf361224
...@@ -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!