docs_vue2/one/docs/demo/input/disabled.vue

61 lines
932 B
Vue
Raw Normal View History

2020-08-13 11:47:56 +08:00
<template>
<article>
<section>
<veui-checkbox v-model="disabled">
Disabled
</veui-checkbox>
</section>
<section>
<section>
2020-08-13 11:47:56 +08:00
<veui-input
:disabled="disabled"
ui="l"
value="Large"
/>
</section>
<section>
2020-08-13 11:47:56 +08:00
<veui-input
:disabled="disabled"
value="Normal"
/>
</section>
<section>
2020-08-13 11:47:56 +08:00
<veui-input
:disabled="disabled"
ui="s"
value="Small"
/>
</section>
<section>
2020-08-13 11:47:56 +08:00
<veui-input
:disabled="disabled"
ui="xs"
value="Extra small"
/>
</section>
2020-08-13 11:47:56 +08:00
</section>
</article>
</template>
<script>
import { Input, Checkbox } from 'veui'
export default {
components: {
'veui-input': Input,
'veui-checkbox': Checkbox
},
data () {
return {
disabled: true
}
}
}
</script>
2021-09-15 20:03:51 +08:00
<style lang="less" scoped>
section {
2020-08-13 11:47:56 +08:00
margin-bottom: 1em;
}
</style>