diff --git a/components/alert/alert.vue b/components/alert/alert.vue new file mode 100644 index 0000000..bc50cbe --- /dev/null +++ b/components/alert/alert.vue @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/alert/index.js b/components/alert/index.js new file mode 100644 index 0000000..fa609b0 --- /dev/null +++ b/components/alert/index.js @@ -0,0 +1,2 @@ +import Alert from './alert.vue'; +export default Alert; \ No newline at end of file diff --git a/index.js b/index.js index ee32656..6b3483f 100644 --- a/index.js +++ b/index.js @@ -17,6 +17,7 @@ import BackTop from './components/back-top'; import Spin from './components/spin'; import Steps from './components/steps'; import Breadcrumb from './components/breadcrumb'; +import Alert from './components/alert'; const iview = { Button, @@ -38,7 +39,8 @@ const iview = { BackTop, Spin, Steps, - Breadcrumb + Breadcrumb, + Alert }; module.exports = iview; \ No newline at end of file diff --git a/local/routers/radio.vue b/local/routers/radio.vue index e11d63d..9463d17 100644 --- a/local/routers/radio.vue +++ b/local/routers/radio.vue @@ -1,27 +1,37 @@ - 梁灏 - {{ radio | json }} - 单项切换 - - - - - - - {{ radioGroup | json }} - 多项切换 + + 成功的提示 + + + 成功的提示 + 这里是成功的内容 + + + 成功的提示 + 这里是成功的内容 + + + 成功的提示 + 这里是成功的内容 + + + 成功的提示 + 这里是成功的内容 +