WeUi-Vue使用手册(二)—组件—Button

in WV手册 with 0 comment

基本用法

参考

<wv-button type="primary" @click="click()">主要样式</wv-button>
<wv-button type="primary" disabled="disabled" @click="click()">主要样式(不可选)</wv-button>
<wv-button type="warn">报警样式</wv-button>
<wv-button type="warn" disabled="disabled">报警样式(不可选)</wv-button>
<wv-button type="default">默认样式</wv-button>
<wv-button type="default" disabled="disabled">默认样式(不可选)</wv-button>

参数

参数说明类型必须默认值
type颜色 primary/绿色 warn/红色 default/白色Stringfalseprimary
disabled可选性Booleanfalsefalse
mini小按钮Booleanfalsefalse
plain无填充按钮Booleanfalsefalse
Comments are closed.