+
@@ -15,7 +15,7 @@
- {{ $t('login.signIn')
+ {{ $t('login.signIn')
}}
-
+ -->
+ Copyright © 2024 {{ baseConfig.base_right }}
@@ -119,7 +129,12 @@ export default {
showApp: false,
appUrl: 'http://222.222.144.147:6013/media/zc_ehs.apk',
showH5: false,
- h5Url: 'http://222.222.144.147:6013/h5/'
+ h5Url: 'http://222.222.144.147:6013/h5/',
+ loginType:'password',
+ loginTypeOptions: [
+ {label: "账号登录", value: "password"},
+ {label: "手机登录", value: "phone"},
+ ]
}
},
watch: {
@@ -170,6 +185,9 @@ export default {
}
that.$API.system.config.base.req(req).then((res) => {
that.baseConfig = res.base;
+ if (that.baseConfig.base_right == undefined || that.baseConfig.base_right == null) {
+ that.baseConfig.base_right = "中存大数据";
+ }
that.$store.commit("SET_baseName", res.base.base_name);
that.$store.commit("SET_baseLogo", res.base.base_logo);
that.$TOOL.data.set("BASE_INFO", res)
@@ -221,7 +239,7 @@ export default {
}
.login_adv {
- width: 33.33333%;
+ width: 40%;
background-color: #555;
background-size: cover;
background-position: center center;
@@ -379,6 +397,35 @@ export default {
top: 20px;
right: 20px;
}
+.copyright {
+ position: absolute;
+ bottom: 30px;
+ right: 30px;
+ font-size: 16px;
+ color: rgb(36, 93, 116);
+}
+
+.copyright a {
+ color: #fff;
+}
+
+.copyright a:hover {
+ color: #fff;
+}
+
+.login-form:deep(.login-msg) {
+ display: flex;
+ width: 100%;
+}
+
+.login-form:deep(.login-msg) .el-input {
+ flex: 1;
+}
+
+.login-form:deep(.login-msg) .el-button {
+ margin-left: 10px;
+ --el-button-size: 42px;
+}
.login-form:deep(.login-msg-yzm) {
display: flex;