docs_vue2/one/docs/demo/number-input/size.vue
2021-12-13 18:12:30 +08:00

41 lines
546 B
Vue

<template>
<article>
<section>
<veui-number-input v-model="value"/>
</section>
<section>
<veui-number-input
v-model="value"
ui="s"
/>
</section>
<section>
<veui-number-input
v-model="value"
ui="xs"
/>
</section>
</article>
</template>
<script>
import { NumberInput } from 'veui'
export default {
components: {
'veui-number-input': NumberInput
},
data () {
return {
value: 0
}
}
}
</script>
<style lang="less" scoped>
section {
margin-bottom: 20px;
}
</style>