Commit e9d7ff50f5cfe9db5be07d8b9f7a72a04f18566b

Authored by Sergio Crisostomo
1 parent 75cb2998

update examples

Showing 1 changed file with 11 additions and 8 deletions   Show diff stats
examples/routers/date.vue
... ... @@ -249,14 +249,17 @@
249 249  
250 250 <template>
251 251 <div style="width: 500px;margin: 100px;">
252   - <Row>
253   - <Col span="12">
254   - <DatePicker type="date" show-week-numbers placeholder="Select date" style="width: 200px"></DatePicker>
255   - </Col>
256   - <Col span="12">
257   - <DatePicker type="daterange" show-week-numbers placement="bottom-end" placeholder="Select date" style="width: 200px"></DatePicker>
258   - </Col>
259   - </Row>
  252 + <p><input type="text"></p>
  253 +
  254 + <DatePicker type="month" show-week-numbers placeholder="Select date" style="width: 200px"></DatePicker>
  255 + <DatePicker type="year" show-week-numbers placeholder="Select date" style="width: 200px"></DatePicker>
  256 +
  257 + <DatePicker type="date" transfer show-week-numbers placeholder="Select date" style="width: 400px"></DatePicker>
  258 + <DatePicker type="datetime" show-week-numbers confirm placeholder="Select date" style="width: 400px"></DatePicker>
  259 +
  260 + <DatePicker type="daterange" transfer show-week-numbers placeholder="Select date" style="width: 400px"></DatePicker>
  261 + <DatePicker type="datetimerange" transfer show-week-numbers placeholder="Select date" style="width: 400px"></DatePicker>
  262 + <Time-Picker :steps="[1, 1, 15]" :value="new Date()"></Time-Picker>
260 263 </div>
261 264 </template>
262 265 <script>
... ...