-
Go to IconFont and search for the icon you want to use
-
Select icon to add to cart
-
View the shopping cart and add the icon to the project. Those that have not already created a project can create a new one
-
Select Font Class to view the online link and copy the code
-
The browser window pastes access to the link you just copied
-
Copy the link content and paste it into the applet project iconfont. WXSS
-
Some ICONS may have ugly names and can be modified by yourself. After modification, a new link is generated and the style needs to be copied again
-
The applet references iconfont. WXSS, using iconfont class
<text class="iconfont icon-github" /> Copy the code
GitHub
The sample
weapp-mark