diff --git a/src/assets/theme/light.scss b/src/assets/theme/light.scss index 6881084..a489ebe 100644 --- a/src/assets/theme/light.scss +++ b/src/assets/theme/light.scss @@ -52,4 +52,11 @@ } } } + .collection{ + .ivu-table-cell{ + button{ + margin: 0 4px; + } + } + } } \ No newline at end of file diff --git a/src/plugin/iview/index.js b/src/plugin/iview/index.js index 447029f..edeac87 100644 --- a/src/plugin/iview/index.js +++ b/src/plugin/iview/index.js @@ -2,7 +2,8 @@ import Vue from 'vue' import 'view-design/dist/styles/iview.css' import { Layout, Sider, Header, Content, Row, Col, - Icon, Button, Input, Progress, Table + Icon, Button, Input, Progress, Table, + Message, Notice } from 'view-design' Vue.component('Layout', Layout) @@ -16,3 +17,9 @@ Vue.component('Button', Button) Vue.component('Input', Input) Vue.component('Progress', Progress) Vue.component('Table', Table) + +Vue.prototype.$Message = Message +Vue.prototype.$Notice = Notice +Vue.prototype.$Notice.config({ + top: 60 +}) diff --git a/src/views/Collection.vue b/src/views/Collection.vue index f24d050..30ab7e9 100644 --- a/src/views/Collection.vue +++ b/src/views/Collection.vue @@ -1,8 +1,85 @@ + diff --git a/src/views/Search.vue b/src/views/Search.vue index 13be5a5..1b6a6b7 100644 --- a/src/views/Search.vue +++ b/src/views/Search.vue @@ -21,6 +21,7 @@