WeChat applet - picture insertion interface

1. Picture download

  Can be found from   iconfont-Alibaba vector icon library

2. Set the picture

Convert independent files into strings, settings that need to be added for security in the mini program

 

 3. Unzip the compressed package to obtain the image name

4. Introduce pictures into the project

The mini program does not support csss, so you need to convert it to wxss.

5. Call in code

Pay attention to the correct name of the picture (content in the red box)

Guess you like

Origin blog.csdn.net/weixin_58963766/article/details/131646181