|
@@ -42,8 +42,8 @@
|
|
</span>
|
|
</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
- <el-button :loading="loading" type="primary" style="width:100%;margin-bottom:30px;" @click.native.prevent="handleLogin">登录</el-button>
|
|
|
|
- <!-- <div class="footer"><p>copyrigh © 2019星范商城后台V1.0.0</p></div> -->
|
|
|
|
|
|
+ <el-button :loading="loading" type="primary" style="width:100%;margin:20px 0;" @click.native.prevent="handleLogin">登录</el-button>
|
|
|
|
+ <div class="footer"><p>copyrigh © 2019星范商城后台V1.0.0</p></div>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -145,23 +145,27 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
|
|
|
+<style lang="scss">
|
|
/* 修复input 背景不协调 和光标变色 */
|
|
/* 修复input 背景不协调 和光标变色 */
|
|
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
|
|
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
|
|
|
|
+
|
|
$bg:#283443;
|
|
$bg:#283443;
|
|
-$light_gray: #fff;
|
|
|
|
|
|
+$light_gray:#fff;
|
|
$cursor: #fff;
|
|
$cursor: #fff;
|
|
|
|
+
|
|
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
|
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
|
.login-container .el-input input {
|
|
.login-container .el-input input {
|
|
color: $cursor;
|
|
color: $cursor;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
/* reset element-ui css */
|
|
/* reset element-ui css */
|
|
.login-container {
|
|
.login-container {
|
|
.el-input {
|
|
.el-input {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
height: 47px;
|
|
height: 47px;
|
|
width: 85%;
|
|
width: 85%;
|
|
|
|
+
|
|
input {
|
|
input {
|
|
background: transparent;
|
|
background: transparent;
|
|
border: 0px;
|
|
border: 0px;
|
|
@@ -171,29 +175,34 @@ $cursor: #fff;
|
|
color: $light_gray;
|
|
color: $light_gray;
|
|
height: 47px;
|
|
height: 47px;
|
|
caret-color: $cursor;
|
|
caret-color: $cursor;
|
|
|
|
+
|
|
&:-webkit-autofill {
|
|
&:-webkit-autofill {
|
|
box-shadow: 0 0 0px 1000px $bg inset !important;
|
|
box-shadow: 0 0 0px 1000px $bg inset !important;
|
|
-webkit-text-fill-color: $cursor !important;
|
|
-webkit-text-fill-color: $cursor !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.el-form-item {
|
|
.el-form-item {
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(0, 0, 0, 0.1);
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
- color: #999999;
|
|
|
|
|
|
+ color: #454545;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
|
|
+
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
$bg:#2d3a4b;
|
|
$bg:#2d3a4b;
|
|
$dark_gray:#889aa4;
|
|
$dark_gray:#889aa4;
|
|
-$light_gray:#ffffff;
|
|
|
|
|
|
+$light_gray:#eee;
|
|
|
|
+
|
|
.login-container {
|
|
.login-container {
|
|
min-height: 100%;
|
|
min-height: 100%;
|
|
width: 100%;
|
|
width: 100%;
|
|
background-color: $bg;
|
|
background-color: $bg;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
|
+
|
|
.login-form {
|
|
.login-form {
|
|
position: relative;
|
|
position: relative;
|
|
width: 450px;
|
|
width: 450px;
|
|
@@ -204,6 +213,7 @@ $light_gray:#ffffff;
|
|
background: $bg;
|
|
background: $bg;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.tips {
|
|
.tips {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
color: #fff;
|
|
@@ -215,6 +225,7 @@ $light_gray:#ffffff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.svg-container {
|
|
.svg-container {
|
|
padding: 6px 5px 6px 15px;
|
|
padding: 6px 5px 6px 15px;
|
|
color: $dark_gray;
|
|
color: $dark_gray;
|
|
@@ -222,6 +233,7 @@ $light_gray:#ffffff;
|
|
width: 30px;
|
|
width: 30px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
+
|
|
.title-container {
|
|
.title-container {
|
|
position: relative;
|
|
position: relative;
|
|
.logo{
|
|
.logo{
|
|
@@ -263,5 +275,16 @@ $light_gray:#ffffff;
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .thirdparty-button {
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 0;
|
|
|
|
+ bottom: 6px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @media only screen and (max-width: 470px) {
|
|
|
|
+ .thirdparty-button {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|