Commit 1ca216b5 authored by zhanglw's avatar zhanglw

登录页面样式和跳转

parent 75cbac32
...@@ -289,7 +289,7 @@ export default { ...@@ -289,7 +289,7 @@ export default {
} }
this.$store.dispatch('Login', user).then(() => { this.$store.dispatch('Login', user).then(() => {
this.loading = false this.loading = false
this.$router.push({ path: this.redirect || '/home' }) this.$router.push({ path: '/console' })
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
this.getCode() this.getCode()
...@@ -317,6 +317,10 @@ export default { ...@@ -317,6 +317,10 @@ export default {
</script> </script>
<style rel="stylesheet/scss" lang="scss"> <style rel="stylesheet/scss" lang="scss">
::-webkit-scrollbar {
width : 0;
height: 0;
}
.touch { .touch {
cursor:pointer; cursor:pointer;
} }
...@@ -328,6 +332,7 @@ export default { ...@@ -328,6 +332,7 @@ export default {
width: 100vw; width: 100vw;
background: #1961C5; background: #1961C5;
position: fixed; position: fixed;
z-index: 999;
.head-box-top { .head-box-top {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
...@@ -353,7 +358,7 @@ export default { ...@@ -353,7 +358,7 @@ export default {
font-weight: 400; font-weight: 400;
user-select: none; user-select: none;
.login-panel { .login-panel {
height: calc(100vh - 165px); height: 100vh;
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment