optimize Input validate icon

This commit is contained in:
梁灏 2017-04-01 12:08:08 +08:00
parent 8fbc8c7191
commit ef0901312b
4 changed files with 82 additions and 346 deletions

View file

@ -1,19 +1,6 @@
<template>
<div>
<Input v-model="value" placeholder="请输入..." style="width: 300px" icon="ios-clock-outline"></Input>
<input type="text" v-model="value">
{{ value }}
<!--<Input v-model="value">-->
<!--<span slot="prepend">http://</span>-->
<!--<span slot="append">.com</span>-->
<!--</Input>-->
<br>
<Input type="textarea" v-model="value" placeholder="请输入..."></Input>
<Input type="textarea" v-model="value" :rows="4" placeholder="请输入..."></Input>
<br>
<br>
<Input type="textarea" v-model="value" :autosize="true" placeholder="请输入..."></Input>
<Input type="textarea" v-model="value" :autosize="{minRows: 2,maxRows: 5}" placeholder="请输入..."></Input>
<Input v-model="value" placeholder="请输入..." style="width: 150px" icon="ios-clock-outline"></Input>
</div>
</template>
<script>