圖標(biāo)
主要屬性:
效果圖:
icon.wxml添加代碼:
<!--成功圖標(biāo)-->
<icon type="success" size="40"/>
<!--安全成功標(biāo)志圖標(biāo)-->
<icon type="safe_success" size="40"/>
<!--提示信息圖標(biāo)-->
<icon type="info" size="40"/>
<!--帶圓的信息提示圖標(biāo)-->
<icon type="info_circle" size="40"/>
<!--不帶圓的成功圖標(biāo)-->
<icon type="success_no_circle" size="40"/>
<!--帶圓的成功圖標(biāo)-->
<icon type="success_circle" size="40"/>
<!--警告圖標(biāo)-->
<icon type="warn" size="40"/>
<!--帶圓的等待圖標(biāo)-->
<icon type="waiting_circle" size="40"/>
<!--等待圖標(biāo)-->
<icon type="waiting" size="40"/>
<!--下載圖標(biāo)-->
<icon type="download" size="40"/>
<!--取消圖標(biāo)-->
<icon type="cancel" size="40"/>
<!--清除圖標(biāo)-->
<icon type="clear" size="40"/>
<!--成功圖標(biāo)集合-->
<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>
<!--取消圖標(biāo)集合-->
<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>
來源:http://bbs.520it.com/forum.php?mod=viewthread&tid=2567&extra=page%3D1