Uniapp itself has icon component, but because there are differences in the performance of each end of icon component, we can use iconfont font icon to make up for these differences.

Step 1: Search the iconfont website for the icon we want to use and add it to our shopping cart

Step 2: Click on the shopping cart to add the icon to the project

Step 3: Click Generate code

Step 4: Download it locally

Step 5: Copy the iconfont. CSS to the project static folder, and copy the code generated by the official iconfont website to iconfont

Step 6: Reference iconfont. CSS

Step 7: Use the iconfont icon

Note: do not use  for the v-for loop. Instead, use the iconfont. CSS content, with u at the end of \. You can also use class instead of Unicode (to make it easier)