当前位置:网站首页>Uniapp uses the Ali Icon
Uniapp uses the Ali Icon
2022-06-12 18:45:00 【BackgroundHero】
Select your favorite Icon and click Add to stock in 
Find the shopping pattern in the upper right corner , Click on , Add the selected icon to the project 

Jump to the project after adding
Click download to local 
Find after unzipping iconfont.css file , Copied to the uniapp In the project 

stay App.vue Import public styles in ( That is, the font icon style just imported iconfont.css)

There are many ways to write 
Personal test , These three ways of writing support
Then go back to the Ali icon
Click Copy code 
Then open the iconfont.css
Replace the contents of the first paragraph with the copied code 
Then you can use the Ali icon in the page
The icon can be used as a font to set the size
<text class="iconfont iconfengzheng" style="font-size: 200px;"></text>

The effect is as shown in the picture 
Add :
Still need to be in iconfont.css in , Add... To the front of all the links inside https:
This was discovered later
The icon will not be displayed when the project is packaged and run on the mobile phone
I don't know why
Blind guessing may be due to the restrictions of the Android system, which does not allow access to non https link
边栏推荐
- I was badly hurt by the eight part essay...
- How to break the black screen after cleaning the dust and applying silicone grease on the laptop?
- Leetcode 494. Objectives and
- Start with no place to live
- SCI Writing - Methodology
- Title 54: take 4 ~ 7 bits of an integer a from the right end.
- Gospel of audio and video developers, rapid integration of AI dubbing capability
- The Bean Validation API is on the classpath but no implementation could be found
- Gd32f4xx controls dgus variable display
- Hugo blog building tutorial
猜你喜欢

基于Halcon的螺栓螺丝部分划痕、腐蚀缺陷检测

Review of MySQL (V): Joint table query and sub query

What is SAP support package stack
![leetcode:5270. Minimum path cost in Grid [simple level DP]](/img/c5/37fd1878e92f95340926e0ea75f150.png)
leetcode:5270. Minimum path cost in Grid [simple level DP]

Review of MySQL (3): query operation

Have a meal, dry pot, fat intestines + palm treasure!

Topic 66: input array, exchange the largest element with the first element, exchange the smallest element with the last element, and output array.

C language learning -- data storage in memory

Difference between rxjs of() and of ({})

Gospel of audio and video developers, rapid integration of AI dubbing capability
随机推荐
C language practice (4) -- multiplication and division of large numbers
Review of MySQL (4): sorting operation
Dumi builds a document blog
Hugo blog building tutorial
232-CH579M学习开发-以太网例程-TCP服务器(项目应用封装,局域网或广域网测试)
C language learning -- data storage in memory
leetcode:5270. Minimum path cost in Grid [simple level DP]
Gospel of audio and video developers, rapid integration of AI dubbing capability
The difference between user status and system status in CRM
【历史上的今天】6 月 12 日:美国进入数字化电视时代;Mozilla 的最初开发者出生;3Com 和美国机器人公司合并
配送交付时间轻量级预估实践-笔记
MySQL数据库(28):变量 variables
SCI Writing - Methodology
国内如何下载Vega
yoloe 目标检测使用笔记
Review of MySQL (3): query operation
A story on the cloud of the Centennial Olympic Games belonging to Alibaba cloud video cloud
What is a network proxy
Hugo 博客搭建教程
[0008] unordered list