diff --git a/.env b/.env index c7205d0..7e33b17 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # port -VITE_PORT = 3100 +VITE_PORT = 8080 # 网站标题 VITE_GLOB_APP_TITLE ='' diff --git a/.env.development b/.env.development index 30b3ca9..1f1cd28 100644 --- a/.env.development +++ b/.env.development @@ -6,10 +6,10 @@ VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/cpte-wms","http://localhost:8080/cpte-wms"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/cpte-wms","http://localhost:8000/cpte-wms"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://localhost:8080/cpte-wms +VITE_GLOB_DOMAIN_URL=http://localhost:8000/cpte-wms #后台接口父地址(必填) VITE_GLOB_API_URL=/cpte-wms diff --git a/src/assets/loginmini/icon/cpte._ad.png b/src/assets/loginmini/icon/cpte._ad.png new file mode 100644 index 0000000..9cc3970 Binary files /dev/null and b/src/assets/loginmini/icon/cpte._ad.png differ diff --git a/src/assets/loginmini/style/home.less b/src/assets/loginmini/style/home.less index 908dc7a..2a4361f 100644 --- a/src/assets/loginmini/style/home.less +++ b/src/assets/loginmini/style/home.less @@ -10,8 +10,8 @@ position: fixed; top: 50%; left: 50%; - width: 92%; - height: auto; + width: 100%; + height: 80vh; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); @@ -21,6 +21,7 @@ .aui-form { width: 100%; + height: 80vh; background: #eee; display: -webkit-box; display: -moz-box; @@ -30,14 +31,17 @@ } .aui-image { - padding: 180px 80px; flex-basis: 60%; -webkit-flex-basis: 60%; - background-color: #0198cd; - background-image: url(../icon/jeecg_ad.png); - background-size: cover; + background-color: #f5f7fa; + background-image: url(../icon/cpte._ad.png); + background-size: contain; // 完整显示图片,不裁剪 + background-position: center center; // 水平垂直居中 + background-repeat: no-repeat; // 防止重复 } + + .aui-image-text { top: 50%; left: 50%; @@ -48,7 +52,7 @@ flex-basis: 40%; -webkit-flex-basis: 40%; box-sizing: border-box; - padding: 30px 20px; + padding: 100px 20px; background: #fff; box-shadow: 2px 9px 49px -17px rgba(0, 0, 0, 0.1); } @@ -91,7 +95,7 @@ background: #f5f5f9; border-radius: 2px; position: relative; - margin: 12px 0; + margin: 20px 0; } .aui-input-line input { @@ -405,7 +409,7 @@ } .aui-formButton { - padding-top: 10px; + padding-top: 12px; } .aui-formButton a { diff --git a/src/locales/lang/zh-CN/sys.ts b/src/locales/lang/zh-CN/sys.ts index b0c1dc6..1a373ea 100644 --- a/src/locales/lang/zh-CN/sys.ts +++ b/src/locales/lang/zh-CN/sys.ts @@ -67,9 +67,9 @@ export default { signUpFormTitle: '注册', forgetFormTitle: '重置密码', - signInTitle: 'Jeecg Boot', - signInDesc: '是中国最具影响力的 企业级低代码平台!在线开发,可视化拖拽设计,零代码实现80%的基础功能~', - policy: '我同意敲敲云隐私政策', + signInTitle: 'Cpte Wms', + signInDesc: '', + policy: '', scanSign: `扫码后,即可完成登录`, scanSuccess: `扫码成功,登录中`, diff --git a/src/views/system/loginmini/MiniLogin.vue b/src/views/system/loginmini/MiniLogin.vue index 7aa9337..b0dcb0e 100644 --- a/src/views/system/loginmini/MiniLogin.vue +++ b/src/views/system/loginmini/MiniLogin.vue @@ -27,9 +27,9 @@