方法一:
<img src="img.png" srcset="path/img.png 2x,path/img.png.png 3x"/>
方法二:
background-image: url(img.jpg');
background-image:
image-set( url(img.jpg) 1x, url([email protected]) 2x );
<img src="img.png" srcset="path/img.png 2x,path/img.png.png 3x"/>
方法二: