這些是提供的所支持的圖標樣式,根據需求在此基礎上去修改大小和顏色。
主要屬性:
使用方式:
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"/><!--改變顏色的success--><icon type="success" size="40" color="red"/>
相關文章:
hello WeApp icon組件
Window text組件 switch組件
tabBar底部導航 progress組件 action-sheet
應用生命周期 button組件 modal組件
頁面生命周期 checkbox組件 toast組件
模塊化詳 form組件詳 loading 組件
數據綁定 input 組件 navigator 組件
View組件 picker組件 audio 組件
scroll-view組件 radio組件 video組件
swiper組件 slider組件 Image組件
新聞熱點
疑難解答