diff --git a/README.md b/README.md index 34f796f5..94328f28 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ - [x] Circle - [x] Affix - [ ] BackTop -- [ ] Spin +- [x] Spin ## Overview diff --git a/examples/app.vue b/examples/app.vue index 6dc68d21..a966f99f 100644 --- a/examples/app.vue +++ b/examples/app.vue @@ -41,6 +41,7 @@ li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; }
  • Dropdown
  • Breadcrumb
  • Menu
  • +
  • Spin
  • diff --git a/examples/main.js b/examples/main.js index dddd09cd..cc2ebdba 100644 --- a/examples/main.js +++ b/examples/main.js @@ -128,6 +128,10 @@ const router = new VueRouter({ { path: '/menu', component: require('./routers/menu.vue') + }, + { + path: '/spin', + component: require('./routers/spin.vue') } ] }); diff --git a/examples/routers/spin.vue b/examples/routers/spin.vue new file mode 100644 index 00000000..32803f24 --- /dev/null +++ b/examples/routers/spin.vue @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/spin/spin.vue b/src/components/spin/spin.vue index 6adb76c4..b4e8cc39 100644 --- a/src/components/spin/spin.vue +++ b/src/components/spin/spin.vue @@ -1,10 +1,12 @@ diff --git a/src/index.js b/src/index.js index f7050ca3..8b9373fb 100644 --- a/src/index.js +++ b/src/index.js @@ -30,7 +30,7 @@ import Progress from './components/progress'; import Radio from './components/radio'; import Rate from './components/rate'; import Slider from './components/slider'; -// import Spin from './components/spin'; +import Spin from './components/spin'; import Steps from './components/steps'; import Switch from './components/switch'; // import Table from './components/table'; @@ -95,7 +95,7 @@ const iview = { Row, // iSelect: Select, Slider, - // Spin, + Spin, Step: Steps.Step, Steps, iSwitch: Switch,