Commit b577d60a3134687f026576cf9db7dc6436531405
1 parent
70c7b556
update Tag & Select style
Showing
3 changed files
with
7 additions
and
7 deletions
Show diff stats
examples/routers/select.vue
| 1 | 1 | <template> |
| 2 | - <Select v-model="model1" style="width:200px"> | |
| 2 | + <Select v-model="model10" multiple style="width:260px"> | |
| 3 | 3 | <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option> |
| 4 | 4 | </Select> |
| 5 | 5 | </template> |
| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | label: 'Canberra' |
| 34 | 34 | } |
| 35 | 35 | ], |
| 36 | - model1: '' | |
| 36 | + model10: [] | |
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | } | ... | ... |
src/styles/components/select.less
src/styles/components/tag.less
| ... | ... | @@ -104,7 +104,7 @@ |
| 104 | 104 | .@{tag-close-prefix-cls} { |
| 105 | 105 | margin-left: 18px !important; |
| 106 | 106 | left: 4px; |
| 107 | - top: 1px; | |
| 107 | + top: -1px; | |
| 108 | 108 | } |
| 109 | 109 | } |
| 110 | 110 | |
| ... | ... | @@ -180,7 +180,7 @@ |
| 180 | 180 | color: #666; |
| 181 | 181 | opacity: 0.66; |
| 182 | 182 | position: relative; |
| 183 | - top: 1px; | |
| 183 | + top: -1px; | |
| 184 | 184 | //transition: all @transition-time @ease-in-out; |
| 185 | 185 | |
| 186 | 186 | &:hover { | ... | ... |