From f8923e2a48d8cf51efeb16c6bc15597e899f1530 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 7 Aug 2024 16:36:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/app.scss | 4 ++++ src/style/dark.scss | 25 ++++++++++++++++++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/style/app.scss b/src/style/app.scss index 1599b3d5..7c29fc02 100644 --- a/src/style/app.scss +++ b/src/style/app.scss @@ -114,4 +114,8 @@ a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: bo } #opl__opre>.el-descriptions__body>.el-descriptions__table:not(.is-bordered) .el-descriptions__cell{ padding-bottom: 5px; +} + +.el-select { + width: 10vw; } \ No newline at end of file diff --git a/src/style/dark.scss b/src/style/dark.scss index 91ec2deb..805614cf 100644 --- a/src/style/dark.scss +++ b/src/style/dark.scss @@ -131,6 +131,14 @@ html.dark { margin: 0 5px; } + .el-select__wrapper{ + --el-border-color: #ffffff; + } + + .el-select__placeholder.is-transparent { + color: #d8d8d8; + } + .el-select .el-input .el-select__caret { color: #ffffff; } @@ -157,7 +165,7 @@ html.dark { height: 100%; background: var(--el-bg-color-overlay); border-color: var(--el-border-color-light); - border-radius: 20px; + // border-radius: 4px; background: rgb(4, 50, 83); background-color: rgb(4, 50, 83); box-shadow: inset 0px 0px 30px 15px rgb(7, 79, 109); @@ -174,14 +182,19 @@ html.dark { } .scTable-table { - padding: 1vw; - border-radius: 20px; + padding: 0.2vw; + // border-radius: 4px; background: rgb(4, 50, 83); background-color: rgb(4, 50, 83); box-shadow: inset 0px 0px 30px 15px rgb(7, 79, 109); border: 1px solid #1279c3; } + .scTable-page { + background: rgb(4, 50, 83); + border: 1px solid #1279c3; + } + .el-table { --el-table-border-color: transparent; --el-table-row-hover-bg-color: rgb(15, 59, 94); @@ -212,7 +225,9 @@ html.dark { .el-table th.is-sortable:hover { background: #111; } - + .el-table__header { + --el-table-tr-bg-color: #1e789a + } .el-pagination.is-background .el-pager li.is-active { background-color: #1e789a; } @@ -245,7 +260,7 @@ html.dark { display: flex; justify-content: space-between; line-height: 50px; - border-radius: 5px; + // border-radius: 4px; padding: 0 1vw; margin-top: 0.5vh; align-items: center; From afb4070f2569407ce4ac0099a51c10068e6fbf38 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 7 Aug 2024 17:41:41 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20base=20=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E7=BE=8E=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/components/passwordForm.vue | 4 +- src/views/login/components/phoneForm.vue | 4 +- src/views/login/index.vue | 57 +++++++++++++++++++-- 3 files changed, 56 insertions(+), 9 deletions(-) diff --git a/src/views/login/components/passwordForm.vue b/src/views/login/components/passwordForm.vue index a91258f3..81bcb0d4 100644 --- a/src/views/login/components/passwordForm.vue +++ b/src/views/login/components/passwordForm.vue @@ -14,7 +14,7 @@ - + @@ -23,7 +23,7 @@ - {{ $t("login.signIn") + {{ $t("login.signIn") }} diff --git a/src/views/login/components/phoneForm.vue b/src/views/login/components/phoneForm.vue index de04661d..47483181 100644 --- a/src/views/login/components/phoneForm.vue +++ b/src/views/login/components/phoneForm.vue @@ -6,7 +6,7 @@ - + - {{ $t('login.signIn') + {{ $t('login.signIn') }} - + --> + @@ -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;