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/ache.png b/src/assets/img/ache.png new file mode 100644 index 0000000..01b0d60 Binary files /dev/null and b/src/assets/img/ache.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/exam.png b/src/assets/img/exam.png new file mode 100644 index 0000000..eec9b41 Binary files /dev/null and b/src/assets/img/exam.png differ diff --git a/src/assets/img/false.png b/src/assets/img/false.png index 352a207..dfe4ae9 100644 Binary files a/src/assets/img/false.png and b/src/assets/img/false.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/index/achievement.png b/src/assets/img/index/achievement.png deleted file mode 100644 index 34474e8..0000000 Binary files a/src/assets/img/index/achievement.png and /dev/null differ diff --git a/src/assets/img/index/assesment.png b/src/assets/img/index/assesment.png deleted file mode 100644 index 08bc6ae..0000000 Binary files a/src/assets/img/index/assesment.png and /dev/null differ diff --git a/src/assets/img/index/msg.png b/src/assets/img/index/msg.png deleted file mode 100644 index 87d5dfa..0000000 Binary files a/src/assets/img/index/msg.png and /dev/null differ diff --git a/src/assets/img/index/practice.png b/src/assets/img/index/practice.png deleted file mode 100644 index 8eb169f..0000000 Binary files a/src/assets/img/index/practice.png and /dev/null 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/msg.png b/src/assets/img/msg.png new file mode 100644 index 0000000..8027680 Binary files /dev/null and b/src/assets/img/msg.png differ diff --git a/src/assets/img/none.png b/src/assets/img/none.png new file mode 100644 index 0000000..2e23da1 Binary files /dev/null and b/src/assets/img/none.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/practise.png b/src/assets/img/practise.png new file mode 100644 index 0000000..279ab00 Binary files /dev/null and b/src/assets/img/practise.png differ diff --git a/src/assets/img/system-fullname.png b/src/assets/img/system-fullname.png new file mode 100644 index 0000000..f56d44e 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..68d1d13 Binary files /dev/null and b/src/assets/img/system-name.png differ diff --git a/src/assets/img/true.png b/src/assets/img/true.png index abd335a..df7b17f 100644 Binary files a/src/assets/img/true.png and b/src/assets/img/true.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/assets/img/wrong.png b/src/assets/img/wrong.png new file mode 100644 index 0000000..5cc1804 Binary files /dev/null and b/src/assets/img/wrong.png differ diff --git a/src/components/breadcrumb/index.vue b/src/components/breadcrumb/index.vue new file mode 100644 index 0000000..6313b01 --- /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 c0d572c..0bd44c0 100644 --- a/src/layouts/home/index.vue +++ b/src/layouts/home/index.vue @@ -1,29 +1,27 @@ \ No newline at end of file diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index c0869dc..d3434e0 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -1,70 +1,193 @@ + \ No newline at end of file diff --git a/src/libs/util.js b/src/libs/util.js index 32458d7..79c63f6 100644 --- a/src/libs/util.js +++ b/src/libs/util.js @@ -1,5 +1,6 @@ import cookies from './util.cookies' import {_local,_session} from './util.db' +import { Message } from 'element-ui' const util = { cookies, @@ -103,6 +104,18 @@ const util = { } x.send() }, + // 成功提示 + successMsg(message) { + Message.success({message,showClose: true,offset: (document.documentElement.clientHeight - 40) / 2,duration: 1500}) + }, + // 警告提示 + warningMsg(message) { + Message.warning({message,showClose: true,offset: (document.documentElement.clientHeight - 40) / 2,duration: 1500}) + }, + // 错误提示 + errorMsg(message) { + Message.error({message,showClose: true,offset: (document.documentElement.clientHeight - 40) / 2,duration: 1500}) + }, } export default util \ No newline at end of file diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 85f7cc6..692fbe9 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -1,53 +1,23 @@ \ No newline at end of file diff --git a/src/pages/messageBoard/list/index.vue b/src/pages/messageBoard/list/index.vue index 33381dd..df2fb7f 100644 --- a/src/pages/messageBoard/list/index.vue +++ b/src/pages/messageBoard/list/index.vue @@ -1,85 +1,83 @@ \ No newline at end of file diff --git a/src/pages/wrongBook/do/index.vue b/src/pages/wrongBook/do/index.vue index 1a58160..782f549 100644 --- a/src/pages/wrongBook/do/index.vue +++ b/src/pages/wrongBook/do/index.vue @@ -1,79 +1,77 @@