Commit b577d60a3134687f026576cf9db7dc6436531405

Authored by 梁灏
1 parent 70c7b556

update Tag & Select style

examples/routers/select.vue
1 <template> 1 <template>
2 - <Select v-model="model1" style="width:200px"> 2 + <Select v-model="model10" multiple style="width:260px">
3 <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option> 3 <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
4 </Select> 4 </Select>
5 </template> 5 </template>
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 label: 'Canberra' 33 label: 'Canberra'
34 } 34 }
35 ], 35 ],
36 - model1: '' 36 + model10: []
37 } 37 }
38 } 38 }
39 } 39 }
src/styles/components/select.less
@@ -205,9 +205,9 @@ @@ -205,9 +205,9 @@
205 height: 24px; 205 height: 24px;
206 line-height: 22px; 206 line-height: 22px;
207 margin: 3px 4px 3px 0; 207 margin: 3px 4px 3px 0;
208 - i{  
209 - top: 2px;  
210 - } 208 + //i{
  209 + // top: 2px;
  210 + //}
211 } 211 }
212 212
213 &-large&-multiple .@{css-prefix}tag{ 213 &-large&-multiple .@{css-prefix}tag{
src/styles/components/tag.less
@@ -104,7 +104,7 @@ @@ -104,7 +104,7 @@
104 .@{tag-close-prefix-cls} { 104 .@{tag-close-prefix-cls} {
105 margin-left: 18px !important; 105 margin-left: 18px !important;
106 left: 4px; 106 left: 4px;
107 - top: 1px; 107 + top: -1px;
108 } 108 }
109 } 109 }
110 110
@@ -180,7 +180,7 @@ @@ -180,7 +180,7 @@
180 color: #666; 180 color: #666;
181 opacity: 0.66; 181 opacity: 0.66;
182 position: relative; 182 position: relative;
183 - top: 1px; 183 + top: -1px;
184 //transition: all @transition-time @ease-in-out; 184 //transition: all @transition-time @ease-in-out;
185 185
186 &:hover { 186 &:hover {