微信小程序常用组件视频课程-基础内容-icon图标的使用
程序员文章站
2022-06-14 13:03:26
...
微信小程序交流群:111733917 | 微信小程序从0基础到就业的课程:https://edu.csdn.net/topic/*hua
wxml代码
<view>有效值:success, success_no_circle, info, warn, waiting, cancel, download, search, clear</view>
<view>
<icon type='success'></icon>
<icon type="success_no_circle" />
<icon type="info" />
<icon type="warn" />
<icon type="waiting" />
<icon type="cancel" />
<icon type="download" />
<icon type="search" />
<icon type="clear" />
</view>
<view>
<icon type='success' size='15px;'></icon>
<icon type='success'></icon>
<icon type='success' size='40px;'></icon>
</view>
<view>
<icon type="success"></icon>
<icon type="success" color="blue"></icon>
<icon type="success" color="red"></icon>
</view>