docs_vue2/one/docs/demo/number-input/size.vue

41 lines
546 B
Vue
Raw Normal View History

2020-08-13 11:47:56 +08:00
<template>
<article>
2021-12-13 18:12:30 +08:00
<section>
2020-08-13 11:47:56 +08:00
<veui-number-input v-model="value"/>
2021-12-13 18:12:30 +08:00
</section>
<section>
2020-08-13 11:47:56 +08:00
<veui-number-input
v-model="value"
ui="s"
/>
2021-12-13 18:12:30 +08:00
</section>
<section>
2020-08-13 11:47:56 +08:00
<veui-number-input
v-model="value"
ui="xs"
/>
2021-12-13 18:12:30 +08:00
</section>
2020-08-13 11:47:56 +08:00
</article>
</template>
<script>
import { NumberInput } from 'veui'
export default {
components: {
'veui-number-input': NumberInput
},
data () {
return {
value: 0
}
}
}
</script>
2021-09-15 20:03:51 +08:00
<style lang="less" scoped>
2021-12-13 18:12:30 +08:00
section {
margin-bottom: 20px;
2020-08-13 11:47:56 +08:00
}
</style>