微信小程序 icon组件详细及实例代码
更新时间:2016年10月25日 09:53:32 投稿:lqh
这篇文章主要介绍了微信小程序 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>
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
相关文章
微信小程序 es6-promise.js封装请求与处理异步进程
这篇文章主要介绍了微信小程序 es6-promise.js封装请求与处理异步进程的相关资料,需要的朋友可以参考下2017-06-06详解微信小程序入门从这里出发(登录注册、开发工具、文件及结构介绍)
这篇文章主要介绍了微信小程序入门从这里出发(登录注册、开发工具、文件及结构介绍),本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下2020-07-07
最新评论