Commit 34eb0fbf authored by renhanxue's avatar renhanxue

Merge branch 'dev_rhx' into 'dev'

优化用户管理模块

See merge request !5
parents 4a45fdfe 3788fb1f
<template> <template>
<div> <div>
<div class="title">修改基本信息</div>
<el-form ref="form" :model="form" label-width="100px" :rules="rules"> <el-form ref="form" :model="form" label-width="100px" :rules="rules">
<el-form-item label="用户名:" prop="name"> <el-form-item label="用户名:" prop="name">
<el-input v-model="form.name" /> <el-input v-model="form.name" />
...@@ -55,4 +56,19 @@ export default { ...@@ -55,4 +56,19 @@ export default {
margin-top: 50px; margin-top: 50px;
text-align: center; 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> </style>
<template> <template>
<div> <div>
<div class="title">修改密码</div>
<el-form ref="form" :model="form" label-width="100px" :rules="rules"> <el-form ref="form" :model="form" label-width="100px" :rules="rules">
<el-form-item label="用户名:" prop="name"> <el-form-item label="用户名:" prop="name">
<el-input v-model="form.name" /> <el-input v-model="form.name" />
...@@ -67,4 +68,19 @@ export default { ...@@ -67,4 +68,19 @@ export default {
margin-top: 50px; margin-top: 50px;
text-align: center; 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> </style>
...@@ -43,31 +43,21 @@ export default { ...@@ -43,31 +43,21 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.update-user-container {
width: 500px;
margin: 0 auto;
}
.header { .header {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin: 30px 0 50px 0; margin-bottom: 30px;
.tab { .tab {
background: #f3f3f3;
display: flex; display: flex;
height: 40px;
border-radius: 10px;
cursor: pointer; cursor: pointer;
.tab-item { .tab-item {
width: 130px; margin: 0 50px;
line-height: 40px; padding-bottom: 10px;
text-align: center;
font-size: 14px;
color: #666666;
} }
.tab-active { .tab-active {
color: #fff; color: #038ed7;
background: #409eff; border-bottom: 1px solid #038ed7;
border-radius: 10px;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment