<img width="333" height="888"/> 当img 的display 属性为:none 时,通过imgTar .width 始终得到0,而display :block时,能正确得到width