当前位置:网站首页>uni-app: The use of uni-icons and how to customize icons
uni-app: The use of uni-icons and how to customize icons
2022-07-30 06:34:00 【Front-end Xiaobai jyj】
Official documentation: https://uniapp.dcloud.io/component/uniui/uni-icons.html
uni-icons
has included icons commonly used in daily development, but due to volume problems, it is impossible to add new icons indefinitely, so uni-icons
also providesextended method.
Use the custom-prefix
and type
attributes to customize the icon.
fontClass
is the icon prefix, you need to pass in the component type
attribute (type attribute prefix), fontFamily
is the icon set name, need to passEnter the custom-prefix
attribute of the component, and the font format can only be checked ttf.
边栏推荐
猜你喜欢
随机推荐
TypeError The view function did not return a valid response. The function either returned None 的解决
2022CISCNmisc
信息安全必备神器之kali
秒杀项目的总结及面试常见问题
卷王的第一篇博客——编程学习的规划
uni-app:uni-icons的使用及如何自定义图标
Application Practice | Application Practice of Apache Doris in Baidu Intelligent Cloud Billing System
封装Cookie API
你怎么看待scanf()中%d的“吃空白”行为?
mysql处理insert冲突的解决方案
DVWA安装教程(懂你的不懂·详细)
P3 元宝第三天的笔记
EOF的用法——while(scanf(“%d“,&num)!=EOF)
CTF misc-audio and video steganography
MySQL-Explain详解
攻防世界easy_web
Connect to Mysql in the cloud server Docker detailed graphic and text operations (full)
Detailed MySQL-Explain
JDBC programming of MySQL database
使用Nodejs搭建Web Server(入门教程)