Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
376606b5
Commit
376606b5
authored
Apr 10, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userinfo
parent
8a8d928d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
userInfo.vue
pages/basicData/userManagent/userInfo.vue
+13
-5
No files found.
pages/basicData/userManagent/userInfo.vue
View file @
376606b5
<
template
>
<div>
<Card
style=
"width:350px;float:left
"
>
<Card
class=
"img_top01
"
>
<p
slot=
"title"
>
个人头像
</p>
<div
style=
"height:415px;"
>
<p
style=
"text-align:center;padding-top:100px;"
>
<Avatar
:src=
"avatorPath"
size=
"150"
/>
<Avatar
:src=
"avatorPath"
size=
"150"
v-if=
"avatorPath"
/>
<Avatar
size=
"150"
style=
"background-color: #87d068"
v-else-if=
"!avatorPath"
icon=
"ios-person"
/>
</p>
<p
style=
"text-align:center;padding:10px;"
>
<Button
@
click=
"openModalAvatar"
>
修改头像
</Button>
...
...
@@ -92,7 +93,7 @@
</div>
</
template
>
<
script
>
import
Api
from
".
./user
/api"
;
import
Api
from
"./api"
;
import
avatar
from
"@/assets/images/avatar.png"
;
import
inputFiles
from
"@/components/page/inputFile.vue"
;
export
default
{
...
...
@@ -267,8 +268,12 @@ export default {
};
</
script
>
<
style
lang=
"less"
>
.ivu-card-body {
padding: 0px;
.img_top01{
width:350px;
float:left;
.ivu-card-body {
padding: 0px;
}
}
.ivu-tabs-nav-scroll {
background: #f5f6fa;
...
...
@@ -301,5 +306,8 @@ export default {
float: left;
margin-left: 20px;
width: calc(78% - 20px);
.ivu-card-body {
padding: 0px;
}
}
</
style
>
\ No newline at end of file
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