微信小程序官网地址如下:(11月3号晚10点之后微信小程序开始公测,但不支持发布)
微信小程序
微信小程序的组件---icon
icon
图标。
属性名类型默认值说明
typeStringicon的类型,有效值:success, success_no_circle, info, warn, waiting, cancel, download, search, clear
sizeNumber23icon的大小,单位px
colorColoricon的颜色,同css的color
示例:
Page({ data: { iconSize: [20,30,40,50,60,70], iconColor: ['red','orange','yellow','green','rgb(0,255,255)','blue','purple'], iconType: ['success','info','warn','waiting','safe_success','safe_warn','success_circle','success_no_circle','waiting_circle','circle','download','info_circle','cancel','search','clear'] }})