只知道图片地址 获取图片大小 var img = new Image(); img.src = v.avatar; var width = img.width; var height = img.height; var big = (width * height * 24 / 8) / 1024