From 9a7638b2c58b0947dc038a1da7dde58ebf0f3dc8 Mon Sep 17 00:00:00 2001 From: liting <994745334@qq.com> Date: Sun, 14 Apr 2024 17:02:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- src/styles/index.scss | 28 +++ src/styles/var.css | 4 +- src/views/apply/apply/MainForm.vue | 220 ++++++++++-------- src/views/apply/apply/components/InfoForm.vue | 71 +++--- .../apply/apply/components/UnitsForm.vue | 2 +- src/views/apply/apply/index.vue | 4 +- 7 files changed, 193 insertions(+), 138 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 54be7d8c0..e4ec7cd1e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -86,7 +86,7 @@ "source.fixAll.eslint": "explicit" }, "[vue]": { - "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" + "editor.defaultFormatter": "Vue.volar" }, "i18n-ally.localesPaths": ["src/locales"], "i18n-ally.keystyle": "nested", diff --git a/src/styles/index.scss b/src/styles/index.scss index 0952bd07e..214e80dad 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -33,3 +33,31 @@ border-left-color: var(--el-color-primary); } } +fieldset{ + padding: 5px 20px 5px 5px; + background: #f5f8fe; + margin-bottom: 5px; + position: relative; + border: 1px solid rgba(75, 141, 241, .35); +} +legend { + margin-left: 10px; + background: #fff; + border-radius: 3px; + padding: 2px 5px; + color: #2d8cf0; + border: 1px solid #2d8cf0; +} +.el-table th.el-table__cell, +.el-table .el-table__cell.is-center, +.el-table.is-scrolling-none th.el-table-fixed-column--right{ + background-color: #fafafc; + color:#1f2225; + font-weight: normal; +} +// .el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column::before{ +// box-shadow: none; +// } +.el-form-item__label{ + color:#1f2225; +} \ No newline at end of file diff --git a/src/styles/var.css b/src/styles/var.css index 63459ba63..b8207ff6c 100644 --- a/src/styles/var.css +++ b/src/styles/var.css @@ -1,4 +1,6 @@ :root { + --el-button-text-color:#1f2225; + --login-bg-color: #293146; --left-menu-max-width: 200px; @@ -52,7 +54,7 @@ --app-footer-height: 50px; - --transition-time-02: 0.2s; + --transition-time-02: 0.2s } .dark { diff --git a/src/views/apply/apply/MainForm.vue b/src/views/apply/apply/MainForm.vue index e34084c62..d552ddc52 100644 --- a/src/views/apply/apply/MainForm.vue +++ b/src/views/apply/apply/MainForm.vue @@ -1,104 +1,132 @@