Commit 9ff9db35 by yuwei

项目初始化

parent 95017b9a
...@@ -59,8 +59,7 @@ export default { ...@@ -59,8 +59,7 @@ export default {
.app-wrapper { .app-wrapper {
@include clearfix; @include clearfix;
position: relative; position: relative;
// height: 100%; height: 100%;
height: $contentHeight;
width: 100%; width: 100%;
&.mobile.openSidebar{ &.mobile.openSidebar{
position: fixed; position: fixed;
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
@import './topbar.scss'; @import './topbar.scss';
body { body {
height: $contentHeight;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
...@@ -18,12 +17,11 @@ label { ...@@ -18,12 +17,11 @@ label {
} }
html { html {
height: 100%;
box-sizing: border-box; box-sizing: border-box;
} }
#app { #app {
height: calc(100vh); height: 100%;
} }
*, *,
......
...@@ -6,7 +6,7 @@ import router from '@/router' ...@@ -6,7 +6,7 @@ import router from '@/router'
// create an axios instance // create an axios instance
const service = axios.create({ const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, baseURL: process.env.VUE_APP_BASE_API,
timeout: 5000 timeout: 10000
}) })
let loadingInstance let loadingInstance
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<script> <script>
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
export default { export default {
name: 'Lock', name: 'Lock',
data() { data() {
...@@ -69,7 +70,7 @@ export default { ...@@ -69,7 +70,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.lock-container { .lock-container {
height: 100%; height: calc(100vh);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
......
...@@ -86,30 +86,31 @@ export default { ...@@ -86,30 +86,31 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.login-container { .login-container {
height: calc(100vh);
width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 100%;
background-size: cover; background-size: cover;
} .title-container {
.title-container { margin: 0 auto 30px auto;
margin: 0 auto 30px auto; text-align: center;
text-align: center; color: #707070;
color: #707070; }
} .login-form {
.login-form { border-radius: 6px;
border-radius: 6px; background: #ffffff;
background: #ffffff; width: 385px;
width: 385px; padding: 25px 25px 5px 25px;
padding: 25px 25px 5px 25px; .el-input {
.el-input {
height: 38px;
input {
height: 38px; height: 38px;
input {
height: 38px;
}
}
.input-icon{
height: 39px;width: 14px;margin-left: 2px;
} }
}
.input-icon{
height: 39px;width: 14px;margin-left: 2px;
} }
} }
</style> </style>
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