Commit d79eaf9b0adb173b6cfcfc1e8ca91d0a5f4b4ebb

Authored by 梁灏
1 parent 3a3dcb0a

update Switch style

examples/routers/switch.vue
... ... @@ -17,8 +17,8 @@
17 17 <span slot="close">关</span>
18 18 </i-switch>
19 19 <i-switch>
20   - <Icon type="android-done" slot="open"></Icon>
21   - <Icon type="android-close" slot="close"></Icon>
  20 + <Icon type="md-checkmark" slot="open"></Icon>
  21 + <Icon type="md-close" slot="close"></Icon>
22 22 </i-switch>
23 23 <br><br>
24 24 <i-switch size="large">
... ...
src/styles/components/switch.less
... ... @@ -28,6 +28,8 @@
28 28 width: 12px;
29 29 height: 12px;
30 30 text-align: center;
  31 + position: relative;
  32 + top: -1px;
31 33 }
32 34 }
33 35  
... ...