diff --git a/public/static/videos/login.webm b/public/static/videos/login.webm index 4ac1bdd2..43e188f6 100644 Binary files a/public/static/videos/login.webm and b/public/static/videos/login.webm differ diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 3180e79f..707d79e4 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -6,6 +6,7 @@ @import './btn.scss'; body { + // min-height: 1024px; height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; diff --git a/src/assets/styles/login.scss b/src/assets/styles/login.scss index db9f3a47..55889fcb 100644 --- a/src/assets/styles/login.scss +++ b/src/assets/styles/login.scss @@ -114,40 +114,61 @@ $buttonHeight: $buttonH * 1px; } } .field { - // background: #ccc3; position: relative; - padding-top: 196px; + margin-top: 8%; flex: 1; display: flex; flex-direction: column; - // justify-content: center; align-items: center; + .pc-title { width: 100%; text-align: center; clear: both; position: relative; top: -36px; + height: 128px; - // h3.title { - // position: relative; - - // &::before { - // content: ''; - // background: url($cnbmLogo) 100% / 100% no-repeat; - // height: 48px; - // width: 48px; - // position: absolute; - // left: 0px; - // top: 4px; - // display: inline-block; - // } - // } + .title { + margin: 0; + margin-left: 32px; + font-weight: 400; + user-select: none; + color: #000; + font-size: 36px; + line-height: 54px; + letter-spacing: 2px; + } } + .mobile-title, .mobile-switch { display: none; } + + .form-cont { + // height: 560px; + flex: 1; + overflow: hidden; + } + + .footer { + user-select: none; + // 元素 + margin: 12px 0; + height: 16px; + line-height: 16px; + font-size: 12px; + color: #8c8c8c; + + a, + a:hover, + a:active { + color: inherit; + text-decoration: none; + } + } + .form { margin-top: 32px; box-sizing: border-box; @@ -283,24 +304,6 @@ $buttonHeight: $buttonH * 1px; line-height: 14px; } } - - .footer { - user-select: none; - // 元素 - height: 16px; - line-height: 16px; - font-size: 12px; - color: #8c8c8c; - // 定位 - position: absolute; - bottom: 30px; - a, - a:hover, - a:active { - color: inherit; - text-decoration: none; - } - } } // - - - - - PC 最小尺寸设置 diff --git a/src/views/login.vue b/src/views/login.vue index ae2ff139..2bc0c033 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -44,7 +44,7 @@ border-radius: 100%; background: #26b9de; "> - 产线生产监控系统 + MES