Skip to content
刘剑 edited this page Oct 21, 2016 · 7 revisions

button 有三种型号 普通、sm和lg

outline是button的一种背景色透明的展示方式

block的button是占据整行的

button

<view>
	<view class="title text-center">button</view>
	<view class="title">button size</view>
	<view><button class="wa-button wa-button-sm">wa-button-sm</button></view>
	<view><button class="wa-button">wa-button</button></view>
	<view><button class="wa-button wa-button-lg">wa-button-lg</button></view>
	<view class="title">button outline</view>
    <view><button class="wa-button wa-button-outline">wa-button-outline</button></view>
    <view class="title">button block</view>
    <view><button class="wa-button wa-button-block">wa-button-block</button></view>
</view>
Clone this wiki locally