基于weui的vue-action-liu
npm install vue-action-liu
import css from vue-action-liu/dist/vue-action-liu.min.css
name | type | default |
---|---|---|
menus | Object | {menu1:test} |
value | Boolean | false |
showCancle | Boolean | true |
theme | string | IOS |
onclickMask | Boolean | true |
name | default |
---|---|
on-click-cancel | 点击取消按钮 |
on-click-menu | 点击菜单按钮 |
on-click-mask | 点击遮罩层 |
注意:value必须使用v-model绑定,theme除了ios还有Android
For a detailed explanation on how things work, check out the guide and docs for vue-loader.