Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
NLT-e-cigarette
Commits
31326375
Commit
31326375
authored
May 16, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页样式布局修改
parent
60ac2267
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
51 deletions
+53
-51
loginBg.png
src/assets/image/loginBg.png
+0
-0
loginLogo.png
src/assets/image/loginLogo.png
+0
-0
login.vue
src/views/login/login.vue
+53
-51
No files found.
src/assets/image/loginBg.png
0 → 100644
View file @
31326375
1020 KB
src/assets/image/loginLogo.png
0 → 100644
View file @
31326375
4.47 KB
src/views/login/login.vue
View file @
31326375
<
template
>
<div
class=
"login"
>
<div
class=
"companyTitle"
>
诺兰特(北京)移动通信设备有限公司
</div>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<div
class=
"companyTitle"
>
诺兰特(北京)移动通信设备有限公司
</div>
<!--
<img
class=
"fy-logo"
src=
"../../assets/image/denglu_logo.png"
>
-->
<h3
class=
"title"
>
电子加热器追溯平台系统
</h3>
<img
class=
"fy-logo"
src=
"../../assets/image/loginLogo.png"
>
<div
class=
"title"
>
电子加热器追溯平台系统
</div>
<div
class=
"login-form-content"
>
<el-form-item
prop=
"username"
>
<el-input
v-model=
"loginForm.username"
type=
"text"
auto-complete=
"off"
placeholder=
"账号"
>
...
...
@@ -21,26 +21,25 @@
<svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
</el-input>
</el-form-item>
<!--
<el-form-item
prop=
"code"
>
-->
<!--
<el-input-->
<!-- v-model="loginForm.code"-->
<!-- auto-complete="off"-->
<!-- placeholder="验证码"-->
<!-- style="width: 63%"-->
<!-- @keyup.enter.native="handleLogin"-->
<!-- >-->
<!--
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
class=
"el-input__icon input-icon"
/>
-->
<!--
</el-input>
-->
<!-- <!–
<div
class=
"login-code"
>
-->
<!--
<img
:src=
"codeUrl"
@
click=
"getCode"
>
-->
<!--
</div>
–>
-->
<!--
</el-form-item>
-->
<el-form-item
style=
"width:
80%;margin-bottom: 20px
"
>
<!--
<el-form-item
prop=
"code"
>
-->
<!--
<el-input-->
<!-- v-model="loginForm.code"-->
<!-- auto-complete="off"-->
<!-- placeholder="验证码"-->
<!-- style="width: 63%"-->
<!-- @keyup.enter.native="handleLogin"-->
<!-- >-->
<!--
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
class=
"el-input__icon input-icon"
/>
-->
<!--
</el-input>
-->
<!-- <!–
<div
class=
"login-code"
>
-->
<!--
<img
:src=
"codeUrl"
@
click=
"getCode"
>
-->
<!--
</div>
–>
-->
<!--
</el-form-item>
-->
<el-form-item
style=
"width:
100%;margin-bottom: 20px;text-align: center
"
>
<el-button
class=
"blue-btn"
:loading=
"loading"
size=
"medium"
type=
"primary"
@
click
.
native
.
prevent=
"handleLogin"
>
<span
v-if=
"!loading"
>
登 录
</span>
...
...
@@ -51,12 +50,12 @@
class=
"buttons-content"
>
<el-checkbox
v-model=
"loginForm.rememberMe"
class=
"rem-code"
>
记住密码
</el-checkbox>
<!--
<el-link-->
<!-- :underline="false"-->
<!-- @click="goDetail('/forgetPwd')"-->
<!-- >-->
<!--
<router-link
to=
"/forgetPwd"
>
忘记密码
</router-link>
-->
<!--
</el-link>
-->
<!--
<el-link-->
<!-- :underline="false"-->
<!-- @click="goDetail('/forgetPwd')"-->
<!-- >-->
<!--
<router-link
to=
"/forgetPwd"
>
忘记密码
</router-link>
-->
<!--
</el-link>
-->
</div>
</div>
</el-form>
...
...
@@ -162,8 +161,16 @@ export default {
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
background-image
:
url("../../assets/image/login
-background.jp
g")
;
background-image
:
url("../../assets/image/login
Bg.pn
g")
;
background-size
:
cover
;
.companyTitle
{
position
:
absolute
;
left
:
30px
;
top
:
30px
;
color
:
white
;
font-size
:
17px
;
font-weight
:
bold
;
}
.el-input__prefix
{
left
:
14px
;
}
...
...
@@ -177,52 +184,48 @@ export default {
}
.fy-logo
{
position
:
fixed
;
top
:
20
px
;
left
:
45
%
;
width
:
8
vw
;
top
:
17
px
;
left
:
29
%
;
width
:
11
vw
;
}
.title
{
margin
:
7
vh
auto
7vh
auto
;
margin
:
10
vh
auto
7vh
auto
;
text-align
:
center
;
color
:
black
;
font-size
:
3
6
px
;
color
:
white
;
font-size
:
3
0
px
;
}
.login-form
{
position
:
absolute
;
background
:
rgba
(
255
,
255
,
255
,.
2
);
backdrop-filter
:
blur
(
4px
);
display
:
flex
;
flex-direction
:
column
;
align-items
:
flex-end
;
border-radius
:
6px
;
background
:
#ffffff
no-repeat
;
//
background: #ffffff no-repeat;
background-size
:
59%
;
background-position-y
:
57px
;
width
:
78
vw
;
height
:
76
vh
;
width
:
29
vw
;
height
:
65
vh
;
padding
:
25px
25px
5px
25px
;
.companyTitle
{
position
:
absolute
;
left
:
30px
;
top
:
30px
;
color
:
white
;
font-size
:
17px
;
font-weight
:
bold
;
}
.login-form-content
{
position
:
absolute
;
top
:
40%
;
right
:
28%
;
width
:
45
%
;
//
position: absolute;
//
top: 40%;
//
right: 28%;
width
:
100
%
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
.el-form-item
{
width
:
8
0%
;
width
:
10
0%
;
.el-input__inner
{
border-radius
:
4px
;
}
}
.blue-btn
{
width
:
36vw
;
background-color
:
#EFB239
;
width
:
100%
;
height
:
40px
;
border-radius
:
4px
;
font-size
:
18px
;
...
...
@@ -268,9 +271,8 @@ export default {
}
.buttons-content
{
display
:
flex
;
width
:
80
%
;
width
:
51
%
;
justify-content
:
space-between
;
padding
:
0
14px
;
.rem-code
span
{
color
:
$font-dark
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment