Background image of applet view

The background image of the applet can be converted to base64 by adding a class to the view, using backgroundimage:url('code for converting the image to base64'), and you can go to the webmaster tool .

  background-repeat:no-repeat; /** 不重复*/
  background-size:contain; /**等比例缩放*/

From adaptation.

Guess you like

Origin blog.csdn.net/wsxDream/article/details/110391677