Skip to content

button icon

刘剑 edited this page Oct 21, 2016 · 2 revisions

关于button放入icon

button-color

<view>
	    <view class="title text-center">button-icon</view>
<view><button class="wa-button wa-button-sm"><text class="icon-right ion-chevron-right"></text>wa-button-sm</button></view>
<view><button class="wa-button"><text class="icon-left ion-home"></text>wa-button</button></view>
<view><button class="wa-button wa-button-lg"><text class="icon-left ion-home"></text>wa-button-lg</button></view>
<view><button class="wa-button wa-primary"><text class="icon-left ion-heart"></text>wa-button-lg</button></view>
</view>
Clone this wiki locally