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