diff --git a/src/assets/background.jpg b/src/assets/background.jpg new file mode 100644 index 0000000..ca0a3c7 Binary files /dev/null and b/src/assets/background.jpg differ diff --git a/src/components/layouts/UserLayout.vue b/src/components/layouts/UserLayout.vue index 31ea96d..0489c5d 100644 --- a/src/components/layouts/UserLayout.vue +++ b/src/components/layouts/UserLayout.vue @@ -4,7 +4,7 @@
- + 计科院ERP系统
@@ -30,121 +30,123 @@ \ No newline at end of file + + .container { + width: 900px; + background-size: cover; + min-height: 100%; + padding: 110px 0 144px; + position: absolute; + background-size: cover; + right: 0%; + a { + text-decoration: none; + } + + .top { + text-align: center; + + .header { + height: 44px; + line-height: 44px; + + .badge { + position: absolute; + display: inline-block; + line-height: 1; + vertical-align: middle; + margin-left: -12px; + margin-top: -10px; + opacity: 0.8; + } + + .logo { + height: 44px; + vertical-align: top; + margin-right: 16px; + border-style: none; + } + + .title { + font-size: 33px; + color: rgba(0, 0, 0, 0.85); + font-family: 'Chinese Quote', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', + 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', + 'Segoe UI Symbol'; + font-weight: 600; + position: relative; + top: 2px; + } + } + .desc { + font-size: 14px; + color: rgba(0, 0, 0, 0.45); + margin-top: 12px; + margin-bottom: 40px; + } + } + + .main { + min-width: 260px; + width: 368px; + margin: 0 auto; + } + + .footer { + position: absolute; + width: 100%; + bottom: 0; + padding: 0 16px; + margin: 48px 0 24px; + text-align: center; + + .links { + margin-bottom: 8px; + font-size: 14px; + a { + color: rgba(0, 0, 0, 0.45); + transition: all 0.3s; + &:not(:last-child) { + margin-right: 40px; + } + } + } + .copyright { + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + } + } + } +} + diff --git a/src/views/user/LoginAccount.vue b/src/views/user/LoginAccount.vue index 1ff9a73..7fe67df 100644 --- a/src/views/user/LoginAccount.vue +++ b/src/views/user/LoginAccount.vue @@ -1,160 +1,147 @@ - \ No newline at end of file +