只显示框内的,框外隐藏 给固定尺寸,图片居中 <img src="1.jpg" style="width:100px;height:100px;object-fit: cover;"> object-fit: cover; 图片居中