Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mini-wms
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
周海峰
mini-wms
Commits
67fafb93
Commit
67fafb93
authored
Dec 05, 2025
by
ningjihai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页面
parent
c10f606e
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
54 行增加
和
13 行删除
+54
-13
ruoyi-admin-vue/src/assets/images/loginBack.png
+0
-0
ruoyi-admin-vue/src/assets/images/loginLeft.png
+0
-0
ruoyi-admin-vue/src/views/login.vue
+54
-13
没有找到文件。
ruoyi-admin-vue/src/assets/images/loginBack.png
0 → 100644
View file @
67fafb93
差异被折叠。
点击展开。
ruoyi-admin-vue/src/assets/images/loginLeft.png
0 → 100644
View file @
67fafb93
差异被折叠。
点击展开。
ruoyi-admin-vue/src/views/login.vue
View file @
67fafb93
<
template
>
<
template
>
<div
class=
"login"
>
<div
class=
"login"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<h3
class=
"title"
>
{{
title
}}
</h3>
<div
class=
"first-title"
>
欢迎登录
</div>
<el-form-item
prop=
"username"
>
<div
class=
"sec-title"
>
WMS库存管理系统
</div>
<el-form-item
prop=
"username"
style=
"margin-top: 50px;"
>
<el-input
<el-input
v-model=
"loginForm.username"
v-model=
"loginForm.username"
type=
"text"
type=
"text"
...
@@ -37,7 +38,7 @@
...
@@ -37,7 +38,7 @@
<img
:src=
"codeUrl"
@
click=
"getCode"
class=
"login-code-img"
/>
<img
:src=
"codeUrl"
@
click=
"getCode"
class=
"login-code-img"
/>
</div>
</div>
</el-form-item>
</el-form-item>
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:0px 0px 25px 0px;"
>
记住密码
</el-checkbox>
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:0px 0px 25px 0px;"
>
<span
class=
"remember"
>
记住密码
</span>
</el-checkbox>
<el-form-item
style=
"width:100%;"
>
<el-form-item
style=
"width:100%;"
>
<el-button
<el-button
:loading=
"loading"
:loading=
"loading"
...
@@ -54,10 +55,7 @@
...
@@ -54,10 +55,7 @@
</div>
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<!-- 底部 -->
<img
class=
"login-left"
:src=
"loginLeft"
alt=
""
>
<div
class=
"el-login-footer"
>
<span>
Copyright © 2018-2025 ruoyi.vip All Rights Reserved.
</span>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -65,11 +63,12 @@
...
@@ -65,11 +63,12 @@
import
{
getCodeImg
}
from
"@/api/login"
import
{
getCodeImg
}
from
"@/api/login"
import
Cookies
from
"js-cookie"
import
Cookies
from
"js-cookie"
import
{
encrypt
,
decrypt
}
from
'@/utils/jsencrypt'
import
{
encrypt
,
decrypt
}
from
'@/utils/jsencrypt'
import
loginLeft
from
"@/assets/images/loginLeft.png"
export
default
{
export
default
{
name
:
"Login"
,
name
:
"Login"
,
data
()
{
data
()
{
return
{
return
{
loginLeft
,
title
:
process
.
env
.
VUE_APP_TITLE
,
title
:
process
.
env
.
VUE_APP_TITLE
,
codeUrl
:
""
,
codeUrl
:
""
,
loginForm
:
{
loginForm
:
{
...
@@ -162,8 +161,8 @@ export default {
...
@@ -162,8 +161,8 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
height
:
100%
;
height
:
100%
;
background-image
:
url("../assets/images/login
-background.jp
g")
;
background-image
:
url("../assets/images/login
Back.pn
g")
;
background-size
:
cover
;
background-size
:
100%
100%
;
}
}
.title
{
.title
{
margin
:
0px
auto
30px
auto
;
margin
:
0px
auto
30px
auto
;
...
@@ -172,11 +171,40 @@ export default {
...
@@ -172,11 +171,40 @@ export default {
}
}
.login-form
{
.login-form
{
border-radius
:
6
px
;
border-radius
:
15
px
;
background
:
#ffffff
;
background
:
#ffffff
;
width
:
400px
;
//
width
:
400px
;
padding
:
25px
25px
5px
25px
;
padding
:
83px
90px
90px
90px
;
position
:
fixed
;
right
:
200px
;
top
:
188px
;
z-index
:
1
;
z-index
:
1
;
background
:
rgba
(
255
,
255
,
255
,
0.3
);
box-shadow
:
0px
19px
39px
rgba
(
222
,
225
,
255
,
1
);
backdrop-filter
:
blur
(
20px
);
.first-title
{
font-size
:
32px
;
font-weight
:
500
;
letter-spacing
:
2px
;
line-height
:
46.34px
;
//
color
:
rgba
(
51
,
51
,
51
,
1
);
background
:
linear-gradient
(
rgba
(
75
,
123
,
254
,
1
)
0%
,
rgba
(
0
,
100
,
253
,
1
)
100%
);
-webkit-background-clip
:
text
;
background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
text-fill-color
:
transparent
;
}
.sec-title
{
font-size
:
32px
;
font-weight
:
500
;
letter-spacing
:
2px
;
line-height
:
46.34px
;
background
:
linear-gradient
(
rgba
(
75
,
123
,
254
,
1
)
0%
,
rgba
(
0
,
100
,
253
,
1
)
100%
);
-webkit-background-clip
:
text
;
background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
text-fill-color
:
transparent
;
}
.el-input
{
.el-input
{
height
:
38px
;
height
:
38px
;
input
{
input
{
...
@@ -189,6 +217,15 @@ export default {
...
@@ -189,6 +217,15 @@ export default {
margin-left
:
2px
;
margin-left
:
2px
;
}
}
}
}
.login-left
{
width
:
842.5px
;
height
:
842.34px
;
object-fit
:
cover
;
position
:
fixed
;
left
:
212px
;
top
:
184px
;
}
.login-tip
{
.login-tip
{
font-size
:
13px
;
font-size
:
13px
;
text-align
:
center
;
text-align
:
center
;
...
@@ -218,4 +255,8 @@ export default {
...
@@ -218,4 +255,8 @@ export default {
.login-code-img
{
.login-code-img
{
height
:
38px
;
height
:
38px
;
}
}
.remember
{
font-size
:
16px
;
color
:
rgba
(
37
,
37
,
37
,
0.5
);
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论