diff --git a/src/App.vue b/src/App.vue index ac71d4a..c81f6c3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -117,8 +117,8 @@ } .body { - top: 60px; - bottom: 1px; + top: 65px; + bottom: 5px; width: 100%; position: absolute; diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 879051a..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - diff --git a/src/components/card/base-card.vue b/src/components/card/base-card.vue new file mode 100644 index 0000000..eecf859 --- /dev/null +++ b/src/components/card/base-card.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/src/components/error/style.scss b/src/components/error/style.scss index 03102d3..5754164 100644 --- a/src/components/error/style.scss +++ b/src/components/error/style.scss @@ -1,5 +1,5 @@ .error { - margin-top: 50px; + margin-top: 45px; height: 100%; display: flex; flex-direction: column; @@ -19,7 +19,7 @@ text-align: center; h1 { - color: #409EFF; + color: #1296DB; font-size: 72px; font-weight: 600; line-height: 72px; @@ -28,7 +28,7 @@ .desc { color: black; - font-size: 20px; + font-size: 15px; line-height: 28px; margin-bottom: 16px; } diff --git a/src/main.js b/src/main.js index ab41fae..ba35388 100644 --- a/src/main.js +++ b/src/main.js @@ -1,15 +1,17 @@ import Vue from 'vue' -import App from './App.vue' +import App from './App' import router from './router/router' import store from './store/store' +import baseCard from './components/card/base-card' //Element UI import './plugins/element/element.js' //Axios import axios from 'axios' import VueAxios from 'vue-axios' -Vue.config.productionTip = false Vue.use(VueAxios, axios); +Vue.component('base-card', baseCard); +Vue.config.productionTip = false; new Vue({ router, diff --git a/src/plugins/element/element-variables.scss b/src/plugins/element/element-variables.scss index 0060199..391930b 100644 --- a/src/plugins/element/element-variables.scss +++ b/src/plugins/element/element-variables.scss @@ -3,7 +3,7 @@ Write your variables here. All available variables can be found in element-ui/packages/theme-chalk/src/common/var.scss. For example, to overwrite the theme color: */ -$--color-primary: #409EFF; +$--color-primary: #1296DB; /* icon font path, required */ $--font-path: '~element-ui/lib/theme-chalk/fonts'; diff --git a/src/store/store.js b/src/store/store.js index 5955c89..32e0941 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -1,7 +1,7 @@ import Vue from 'vue' import Vuex from 'vuex' -Vue.use(Vuex) +Vue.use(Vuex); export default new Vuex.Store({ state: {