diff --git a/src/assets/images/user.png b/src/assets/images/user.png new file mode 100644 index 0000000..b0f7a0f Binary files /dev/null and b/src/assets/images/user.png differ diff --git a/src/components/Topbar.vue b/src/components/Topbar.vue index d3f4e6f..78805e9 100644 --- a/src/components/Topbar.vue +++ b/src/components/Topbar.vue @@ -19,7 +19,7 @@ >{{ value.columnName }} - +
登录实验平台
@@ -53,6 +53,9 @@ export default { window.open(href, "_self"); this.$store.state.columnmessage.id = id; }, + toStation() { + window.open('http://www.occupationlab.com/#/login') + } }, computed: {}, mounted() { @@ -64,7 +67,7 @@ export default { } }); }); - }, + } }; @@ -78,6 +81,17 @@ export default { display: flex; position: relative; background: #fff; + .login { + padding: 0 15px; + line-height: 32px; + color: #fff; + background-color: #409eff; + border-radius: 15px; + cursor: pointer; + &:hover { + opacity: .9; + } + } .posit { display: flex; right: 10px; diff --git a/src/views/Home.vue b/src/views/Home.vue index 0905786..7c5c295 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -99,6 +99,7 @@