-
Login Form
+
+
+
+
+
+
+
欢迎登录
+
Welcome to login
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
- Login
+
+
+
+
+
+
-
-
- Username : admin
- Password : any
-
-
- Username : editor
- Password : any
-
+
+ 记住密码
+
-
- Or connect with
-
+
登 录
+
+
+
+
-
-
-
- Can not be simulated on local, so please combine you own business simulation! ! !
-
-
-
-
-
+
@@ -204,18 +189,23 @@ export default {
/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
-$bg:#283443;
+$bg:#F6F6F6;
$light_gray:#fff;
-$cursor: #fff;
+$cursor: #000;
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
.login-container .el-input input {
+ height: 31px !important;
color: $cursor;
}
}
/* reset element-ui css */
.login-container {
+ background-color: #F1F7FC !important;
+ width:100%;
+ height:100%;
+ background-size:100% 100%;
.el-input {
display: inline-block;
height: 47px;
@@ -227,10 +217,8 @@ $cursor: #fff;
-webkit-appearance: none;
border-radius: 0px;
padding: 12px 5px 12px 15px;
- color: $light_gray;
+ color: #000;
height: 47px;
- caret-color: $cursor;
-
&:-webkit-autofill {
box-shadow: 0 0 0px 1000px $bg inset !important;
-webkit-text-fill-color: $cursor !important;
@@ -239,8 +227,8 @@ $cursor: #fff;
}
.el-form-item {
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(0, 0, 0, 0.1);
+ border: 1px solid #c1c1c1;
+ background:#F6F6F6;
border-radius: 5px;
color: #454545;
}
@@ -248,23 +236,53 @@ $cursor: #fff;
diff --git a/vue.config.js b/vue.config.js
index 33a63483..8095e592 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -30,13 +30,33 @@ module.exports = {
lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,
devServer: {
+ hot: true,
port: port,
open: true,
overlay: {
warnings: false,
errors: true
},
- before: require('./mock/mock-server.js')
+ proxy: {
+ '/bwhse': {
+ target: 'http://localhost:8088',
+ ws: false,
+ changeOrigin: true,
+ pathRewrite: { '^/bwhse': '/bwhse' }
+ }
+ }
+ // proxy: {
+ // // change xxx-api/login => mock/login
+ // // detail: https://cli.vuejs.org/config/#devserver-proxy
+ // [process.env.VUE_APP_BASE_API]: {
+ // target: `http://127.0.0.1:${port}/mock`,
+ // changeOrigin: true,
+ // pathRewrite: {
+ // ['^' + process.env.VUE_APP_BASE_API]: ''
+ // }
+ // }
+ // },
+ // before: require('./mock/mock-server.js')
},
configureWebpack: {
// provide the app's title in webpack's name field, so that