diff --git a/src/api/index.js b/src/api/index.js index cf64561..488b0ac 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -17,6 +17,7 @@ export default { queryProvince: `cjEnterprise/province/queryProvince`, // 个人中心 + uploadUserAvatars: `http://www.liuwanr.cn/liuwanr/user/uploadUserAvatars`, userinfoUpdate:`management/userInfo/update`, userinfo:`management/userInfo/getUserInfo`, getAccount:`management/userInfo/getAccount`, diff --git a/src/assets/img/account.png b/src/assets/img/account.png new file mode 100644 index 0000000..7130f32 Binary files /dev/null and b/src/assets/img/account.png differ diff --git a/src/assets/img/download.png b/src/assets/img/download.png new file mode 100644 index 0000000..7ed98be Binary files /dev/null and b/src/assets/img/download.png differ diff --git a/src/assets/img/home.png b/src/assets/img/home.png new file mode 100644 index 0000000..27bc761 Binary files /dev/null and b/src/assets/img/home.png differ diff --git a/src/assets/img/login_bg.png b/src/assets/img/login_bg.png index 72ea233..1a8880f 100644 Binary files a/src/assets/img/login_bg.png and b/src/assets/img/login_bg.png differ diff --git a/src/assets/img/logo-full.png b/src/assets/img/logo-full.png new file mode 100644 index 0000000..bd4b966 Binary files /dev/null and b/src/assets/img/logo-full.png differ diff --git a/src/assets/img/password.png b/src/assets/img/password.png new file mode 100644 index 0000000..0999d17 Binary files /dev/null and b/src/assets/img/password.png differ diff --git a/src/assets/img/ques.png b/src/assets/img/ques.png new file mode 100644 index 0000000..279ab00 Binary files /dev/null and b/src/assets/img/ques.png differ diff --git a/src/assets/img/student.png b/src/assets/img/student.png new file mode 100644 index 0000000..4415f83 Binary files /dev/null and b/src/assets/img/student.png differ diff --git a/src/assets/img/system-fullname.png b/src/assets/img/system-fullname.png new file mode 100644 index 0000000..68ce07f Binary files /dev/null and b/src/assets/img/system-fullname.png differ diff --git a/src/assets/img/system-name.png b/src/assets/img/system-name.png new file mode 100644 index 0000000..4228165 Binary files /dev/null and b/src/assets/img/system-name.png differ diff --git a/src/assets/img/system.png b/src/assets/img/system.png new file mode 100644 index 0000000..17ded91 Binary files /dev/null and b/src/assets/img/system.png differ diff --git a/src/assets/img/upload.png b/src/assets/img/upload.png new file mode 100644 index 0000000..6ff9bee Binary files /dev/null and b/src/assets/img/upload.png differ diff --git a/src/components/breadcrumb/index.vue b/src/components/breadcrumb/index.vue new file mode 100644 index 0000000..67c760d --- /dev/null +++ b/src/components/breadcrumb/index.vue @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/src/layouts/footer/index.vue b/src/layouts/footer/index.vue new file mode 100644 index 0000000..0790252 --- /dev/null +++ b/src/layouts/footer/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 3f9c0b6..8956282 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -1,18 +1,17 @@ @@ -42,81 +41,45 @@ export default { ...mapActions('user', [ 'logout' ]), - toPerson(){ - this.$router.push('/setting/person') - }, - loginout() { - this.logout() - }, - back(){ - this.$router.back() + userCommand(command){ + console.log(command) + if(command == 'person'){ + this.$router.push('/setting/person') + }else{ + this.logout() + } } }, }; + \ No newline at end of file diff --git a/src/layouts/home/index.vue b/src/layouts/home/index.vue index 2c63165..0bd44c0 100644 --- a/src/layouts/home/index.vue +++ b/src/layouts/home/index.vue @@ -1,30 +1,27 @@ \ No newline at end of file diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 2e552c8..0241776 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -1,14 +1,16 @@