Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
4158cdb2
Commit
4158cdb2
authored
Aug 04, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头像样式修改
parent
8a81f945
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
src/components/menu.vue
src/components/menu.vue
+3
-4
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+3
-1
No files found.
src/components/menu.vue
View file @
4158cdb2
...
...
@@ -13,11 +13,10 @@
>
{{
userInfo
.
user_name
}}
</span>
<span
v-else
@
click=
"gotopage('login')"
class=
"user"
>
请登录
</span>
<img
:class=
"userInfo.picture_path ? 'user_pic' : 'user_default'"
:src=
"
userInfo.picture_path || require('../assets/imgs/home_ic_user.png')
"
:class=
"userInfo.picture_path&&false ? 'user_pic' : 'user_default'"
src=
"../assets/imgs/home_ic_user.png"
/>
<!-- 菜单图片不需要动态渲染,只用ui给的图标 -->
<div
v-if=
"userInfo.user_name && userInfo.user_name != ''"
class=
"user_menu"
>
<div
v-for=
"(item, index) in user_arr"
...
...
src/pages/workbench/workPlace.vue
View file @
4158cdb2
...
...
@@ -3,7 +3,7 @@
<div
class=
"person_info"
>
<div
class=
"preson"
>
<div
class=
"person_text"
>
<img
s
rc=
"@/assets/imgs/img_head.png
"
alt
/>
<img
s
tyle=
"width:40px;"
:src=
"picture_path
"
alt
/>
<span>
你好,
{{
person
}}
!
{{
login_time
?
'
最近登录
'
:
''
}}{{
login_time
}}
</span>
</div>
<div
class=
"person_menu"
>
...
...
@@ -357,6 +357,7 @@ export default {
helper
:
helper
,
service_data
:
[],
app_data
:
[],
picture_path
:
''
,
listTotal
:
0
,
currentPage
:
1
,
listTotal1
:
0
,
...
...
@@ -1346,6 +1347,7 @@ export default {
this
.
$router
.
push
(
"
/fwzc/fwcs
"
);
},
getUserData
()
{
this
.
picture_path
=
this
.
userInfo
.
picture_path
;
this
.
person
=
this
.
userInfo
.
user_name
;
this
.
login_time
=
decodeURIComponent
(
getCookie
(
"
lastLogin
"
)).
replace
(
"
+
"
,
...
...
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