diff --git a/src/App.vue b/src/App.vue index bf2c52e..3dab0a3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ @@ -71,7 +71,8 @@ background-size: cover;*/ background: #1F2D3D; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif; - font-weight: 400; + /*font-weight: 400;*/ + font-size:14px; -webkit-font-smoothing: antialiased; } diff --git a/src/assets/user.png b/src/assets/user.png new file mode 100644 index 0000000..aeaa2f2 Binary files /dev/null and b/src/assets/user.png differ diff --git a/src/main.js b/src/main.js index 2be9bd0..c537e06 100644 --- a/src/main.js +++ b/src/main.js @@ -28,6 +28,8 @@ Vue.use(ElementUI) Vue.use(VueRouter) Vue.use(Vuex) +NProgress.configure({ showSpinner: false }); + const routes = [ { path: '/login', diff --git a/src/mockdata/user.js b/src/mockdata/user.js index 68bdf24..6ef85fb 100644 --- a/src/mockdata/user.js +++ b/src/mockdata/user.js @@ -4,7 +4,8 @@ const LoginUsers = [ id: 1, username: 'admin', password: '123456', - avatar: '' + avatar: '', + name: '张某某' } ]; diff --git a/src/pages/Home.vue b/src/pages/Home.vue index 3926072..6a12bd9 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -2,20 +2,30 @@ - ADMIN - - - - - - - - - - - + + +
+
+ +{{currentPathName}} + +首页 +{{currentPathNameParent}} +{{currentPathName}} + + + + + + + +
+
+ +
+