微信小程序 icon组件详细及实例代码
2019/6/27 21:41:24
本文主要是介绍微信小程序 icon组件详细及实例代码,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
属性:
效果图:
test.wxml
<!--成功图标--> <icon type="success" size="40"/> <!--安全成功标志图标--> <icon type="safe_success" size="40"/> <!--提示信息图标--> <icon type="info" size="40"/> <!--带圆的信息提示图标--> <icon type="info_circle" size="40"/> <!--不带圆的成功图标--> <icon type="success_no_circle" size="40"/> <!--带圆的成功图标--> <icon type="success_circle" size="40"/> <!--警告图标--> <icon type="warn" size="40"/> <!--带圆的等待图标--> <icon type="waiting_circle" size="40"/> <!--等待图标--> <icon type="waiting" size="40"/> <!--下载图标--> <icon type="download" size="40"/> <!--取消图标--> <icon type="cancel" size="40"/> <!--清除图标--> <icon type="clear" size="40"/> <!--成功图标集合--> <View style="margin-top:30px;"> <icon type="success" size="30" color="green"/> <icon type="success" size="40" color="blue"/> <icon type="success" size="50" color="red"/> </View> <!--取消图标集合--> <View style="margin-top:30px;"> <icon type="cancel" size="30" color="green"/> <icon type="cancel" size="40" color="blue"/> <icon type="cancel" size="50" color="red"/> </View>
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
这篇关于微信小程序 icon组件详细及实例代码的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-10-04package.json 文件位置在哪?-icode9专业技术文章分享
- 2024-10-01Craco.js学习:从入门到实践指南
- 2024-10-01Create-React-App学习:入门与实践指南
- 2024-10-01CSS-in-JS学习:从入门到实践指南
- 2024-09-30JSX语法学习:从入门到初步掌握
- 2024-09-30Mock.js学习:入门教程与实战演练
- 2024-09-30React Hooks学习:从入门到实践
- 2024-09-30受控组件学习:React中的基础入门教程
- 2024-09-29JS定时器教程:初学者必看指南
- 2024-09-29JS对象教程:初学者的全面指南