Commit 6e572d4428efe4198cb7070445ebecd1d5528662
1 parent
cbd3591c
fixed #133
fixed #133
Showing
4 changed files
with
20 additions
and
2 deletions
Show diff stats
src/components/loading-bar/index.js
src/styles/components/date-picker.less
... | ... | @@ -192,6 +192,9 @@ |
192 | 192 | padding: @btn-padding-large; |
193 | 193 | transition: all @transition-time @ease-in-out; |
194 | 194 | cursor: pointer; |
195 | + overflow: hidden; | |
196 | + text-overflow: ellipsis; | |
197 | + white-space: nowrap; | |
195 | 198 | |
196 | 199 | &:hover{ |
197 | 200 | background: @border-color-split; | ... | ... |
test/routers/date.vue
test/routers/more.vue
... | ... | @@ -22,9 +22,22 @@ |
22 | 22 | <i-col :xs="{ span: 11, offset: 1 }" :lg="{ span: 6, offset: 2 }"><div class="aaaaa">Col 2</div></i-col> |
23 | 23 | <i-col :xs="{ span: 5, offset: 1 }" :lg="{ span: 6, offset: 2 }"><div class="aaaaa">Col 3</div></i-col> |
24 | 24 | </Row> |
25 | + <i-button @click="start">Start</i-button> | |
26 | + <i-button @click="finish">Finish</i-button> | |
27 | + <i-button @click="error">Error</i-button> | |
25 | 28 | </template> |
26 | 29 | <script> |
27 | 30 | export default { |
28 | - | |
31 | + methods: { | |
32 | + start () { | |
33 | + this.$Loading.start(); | |
34 | + }, | |
35 | + finish () { | |
36 | + this.$Loading.finish(); | |
37 | + }, | |
38 | + error () { | |
39 | + this.$Loading.error(); | |
40 | + } | |
41 | + } | |
29 | 42 | } |
30 | 43 | </script> | ... | ... |