Blame view

test/routers/input.vue 959 Bytes
7d5431d8   梁灏   update some style
1
  <template>
fc7ef072   梁灏   support Input
2
3
4
5
6
7
8
9
      <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>-->
0f822c9b   梁灏   add Input component
10
          <br>
fc7ef072   梁灏   support Input
11
12
          <Input type="textarea" v-model="value" placeholder="请输入..."></Input>
          <Input type="textarea" v-model="value" :rows="4" placeholder="请输入..."></Input>
0f822c9b   梁灏   add Input component
13
          <br>
0f822c9b   梁灏   add Input component
14
          <br>
fc7ef072   梁灏   support Input
15
16
          <Input type="textarea" v-model="value" :autosize="true" placeholder="请输入..."></Input>
          <Input type="textarea" v-model="value" :autosize="{minRows: 2,maxRows: 5}" placeholder="请输入..."></Input>
0f822c9b   梁灏   add Input component
17
      </div>
7d5431d8   梁灏   update some style
18
19
  </template>
  <script>
7d5431d8   梁灏   update some style
20
      export default {
7d5431d8   梁灏   update some style
21
22
          data () {
              return {
fc7ef072   梁灏   support Input
23
                  value: ''
0f822c9b   梁灏   add Input component
24
              }
7d5431d8   梁灏   update some style
25
26
          }
      }
fc7ef072   梁灏   support Input
27
  </script>