图片截取中间部分显示,不会变形
<span className="js_img_icon" src="https://mmbiz.qlogo.cn/mmbiz/BZhpicRGKHEWcYRO0nRYHicdCVGk1C9QFZ3LVibPgic5AcCTkc9FYricibUZxhO3E9OvT8hYpd4PQ11wsb0goB7aPm1Q/0?wx_fmt=jpeg"></span>
.js_img_icon {
display: block; background-repeat: no-repeat; background-position: center center; background-size: cover; background-image: url(https://mmbiz.qlogo.cn/mmbiz/BZhpicRGKHEWcYRO0nRYHicdCVGk1C9QFZ3LVibPgic5AcCTkc9FYricibUZxhO3E9OvT8hYpd4PQ11wsb0goB7aPm1Q/0?wx_fmt=jpeg); width: 169px; height: 169px; text-align: center;}
显示情况:
原图: