1. Go to IconFont and search for the icon you want to use

  2. Select icon to add to cart

  3. View the shopping cart and add the icon to the project. Those that have not already created a project can create a new one

  4. Select Font Class to view the online link and copy the code

  5. The browser window pastes access to the link you just copied

  6. Copy the link content and paste it into the applet project iconfont. WXSS

  7. 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

  8. The applet references iconfont. WXSS, using iconfont class

    <text class="iconfont icon-github" />
    Copy the code

GitHub

The sample

weapp-mark