Blame view

test/routers/date.vue 901 Bytes
2d948738   梁灏   update TimePicker...
1
2
3
4
5
  <style>
      body{
          height: auto !important;
      }
  </style>
0f677893   梁灏   update DatePicker
6
  <template>
d31b0801   梁灏   fixed DatePicker bug
7
8
9
10
11
12
13
      <row>
          <i-col span="12">
              <date-picker type="date" placeholder="选择日期" style="width: 200px"></date-picker>
          </i-col>
          <i-col span="12">
              <date-picker type="daterange" placement="bottom-end" placeholder="选择日期" style="width: 200px"></date-picker>
          </i-col>
9d844d53   梁灏   fixed Layout bug
14
          <i-col span="12">
603e437b   梁灏   update TimePicker
15
16
17
18
              <time-picker
                  :value="value"
                  placeholder="选择时间"
                  format="HH:mm:ss"
d70cad45   梁灏   update TimePicker
19
20
                  :hide-disabled-options="false"
                  :disabled-hours="[1,2,5,10,11]"
603e437b   梁灏   update TimePicker
21
                  style="width: 168px"></time-picker>
9d844d53   梁灏   fixed Layout bug
22
          </i-col>
d31b0801   梁灏   fixed DatePicker bug
23
      </row>
0f677893   梁灏   update DatePicker
24
25
26
  </template>
  <script>
      export default {
2d948738   梁灏   update TimePicker...
27
28
29
30
31
          data () {
              return {
                  value: '2016-12-12 03:03:03'
              }
          }
0f677893   梁灏   update DatePicker
32
      }
d20fe0ee   梁灏   update DatePicker
33
  </script>