Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
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
Administrator
web-monitor
Commits
3788fb1f
Commit
3788fb1f
authored
Jan 29, 2022
by
renhanxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化用户管理模块
parent
4a45fdfe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
16 deletions
+38
-16
baseInfo.vue
src/views/user/updateUser/components/baseInfo.vue
+16
-0
password.vue
src/views/user/updateUser/components/password.vue
+16
-0
index.vue
src/views/user/updateUser/index.vue
+6
-16
No files found.
src/views/user/updateUser/components/baseInfo.vue
View file @
3788fb1f
<
template
>
<div>
<div
class=
"title"
>
修改基本信息
</div>
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-form-item
label=
"用户名:"
prop=
"name"
>
<el-input
v-model=
"form.name"
/>
...
...
@@ -55,4 +56,19 @@ export default {
margin-top
:
50px
;
text-align
:
center
;
}
.title
{
width
:
100%
;
height
:
60px
;
background
:
rgba
(
226
,
235
,
255
,
0
.39
);
line-height
:
60px
;
font-size
:
18px
;
color
:
#333
;
font-weight
:
500
;
text-align
:
center
;
margin-bottom
:
30px
;
}
.el-form
{
width
:
500px
;
margin
:
0
auto
;
}
</
style
>
src/views/user/updateUser/components/password.vue
View file @
3788fb1f
<
template
>
<div>
<div
class=
"title"
>
修改密码
</div>
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-form-item
label=
"用户名:"
prop=
"name"
>
<el-input
v-model=
"form.name"
/>
...
...
@@ -67,4 +68,19 @@ export default {
margin-top
:
50px
;
text-align
:
center
;
}
.el-form
{
width
:
500px
;
margin
:
0
auto
;
}
.title
{
width
:
100%
;
height
:
60px
;
background
:
rgba
(
226
,
235
,
255
,
0
.39
);
line-height
:
60px
;
font-size
:
18px
;
color
:
#333
;
font-weight
:
500
;
text-align
:
center
;
margin-bottom
:
30px
;
}
</
style
>
src/views/user/updateUser/index.vue
View file @
3788fb1f
...
...
@@ -43,31 +43,21 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.update-user-container
{
width
:
500px
;
margin
:
0
auto
;
}
.header
{
display
:
flex
;
justify-content
:
center
;
margin
:
30px
0
50px
0
;
margin
-bottom
:
30px
;
.tab
{
background
:
#f3f3f3
;
display
:
flex
;
height
:
40px
;
border-radius
:
10px
;
cursor
:
pointer
;
.tab-item
{
width
:
130px
;
line-height
:
40px
;
text-align
:
center
;
font-size
:
14px
;
color
:
#666666
;
margin
:
0
50px
;
padding-bottom
:
10px
;
}
.tab-active
{
color
:
#fff
;
background
:
#409eff
;
border-radius
:
10px
;
color
:
#038ed7
;
border-bottom
:
1px
solid
#038ed7
;
}
}
}
...
...
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