Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
ant-design-pro
Commits
3e1ad8fb
Commit
3e1ad8fb
authored
Dec 12, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change avatars
parent
1e315ca3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
.roadhogrc.mock.js
.roadhogrc.mock.js
+1
-1
api.js
mock/api.js
+10
-10
Workplace.js
src/routes/Dashboard/Workplace.js
+6
-6
No files found.
.roadhogrc.mock.js
View file @
3e1ad8fb
...
@@ -24,7 +24,7 @@ const proxy = {
...
@@ -24,7 +24,7 @@ const proxy = {
},
},
$body
:
{
$body
:
{
name
:
'Serati Ma'
,
name
:
'Serati Ma'
,
avatar
:
'https://gw.alipayobjects.com/zos/rmsportal/
keeYtvRpGFVVKOOiOZDS
.png'
,
avatar
:
'https://gw.alipayobjects.com/zos/rmsportal/
BiazfanxmamNRoxxVxka
.png'
,
userid
:
'00000001'
,
userid
:
'00000001'
,
notifyCount
:
12
,
notifyCount
:
12
,
},
},
...
...
mock/api.js
View file @
3e1ad8fb
...
@@ -22,16 +22,16 @@ const avatars = [
...
@@ -22,16 +22,16 @@ const avatars = [
];
];
const
avatars2
=
[
const
avatars2
=
[
'https://gw.alipayobjects.com/zos/rmsportal/
keeYtvRpGFVVKOOiOZDS
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
BiazfanxmamNRoxxVxka
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
HpGtMMahFSHCFrLHoRgp
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
cnrhVkzwxjPwAaCfPbdc
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
vbkXPXkeyhWWEQKpTmy
B.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
gaOngJwsRYRaVAuXXcm
B.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
UXeAaBwlPaPqIVOjMqpK
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
ubnKSIfAJTxIgXOKlciN
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
lPPRIxHBXYiVglbTqzUM
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
WhxKECPNujWoWEFNdnJE
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
gGbnPtZRDoBIzgnviJSd
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
jZUIxmJycoymBprLOUbT
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
uDbwqVZzLhaZeVaTDahw
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
psOgztMplJMGpVEqfcgF
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
HtgZoejyvBLuuRtmMfFh
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
ZpBqSxLxVEXfcUNoPKrz
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
XvQuAhIgggZWZEjWJsuu
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
laiEnJdGHVOhJrUShBaJ
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
RsKCNHXwelfBwCzjYfNb
.png'
,
'https://gw.alipayobjects.com/zos/rmsportal/
UrQsqscbKEpNuJcvBZBu
.png'
,
];
];
const
covers
=
[
const
covers
=
[
...
...
src/routes/Dashboard/Workplace.js
View file @
3e1ad8fb
...
@@ -41,31 +41,31 @@ const members = [
...
@@ -41,31 +41,31 @@ const members = [
{
{
id
:
'members-1'
,
id
:
'members-1'
,
title
:
'科学搬砖组'
,
title
:
'科学搬砖组'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
keeYtvRpGFVVKOOiOZDS
.png'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
BiazfanxmamNRoxxVxka
.png'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'members-2'
,
id
:
'members-2'
,
title
:
'程序员日常'
,
title
:
'程序员日常'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
HpGtMMahFSHCFrLHoRgp
.png'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
cnrhVkzwxjPwAaCfPbdc
.png'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'members-3'
,
id
:
'members-3'
,
title
:
'设计天团'
,
title
:
'设计天团'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
vbkXPXkeyhWWEQKpTmy
B.png'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
gaOngJwsRYRaVAuXXcm
B.png'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'members-4'
,
id
:
'members-4'
,
title
:
'中二少女团'
,
title
:
'中二少女团'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
UXeAaBwlPaPqIVOjMqpK
.png'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
ubnKSIfAJTxIgXOKlciN
.png'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'members-5'
,
id
:
'members-5'
,
title
:
'骗你学计算机'
,
title
:
'骗你学计算机'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
lPPRIxHBXYiVglbTqzUM
.png'
,
logo
:
'https://gw.alipayobjects.com/zos/rmsportal/
WhxKECPNujWoWEFNdnJE
.png'
,
link
:
''
,
link
:
''
,
},
},
];
];
...
@@ -139,7 +139,7 @@ export default class Workplace extends PureComponent {
...
@@ -139,7 +139,7 @@ export default class Workplace extends PureComponent {
const
pageHeaderContent
=
(
const
pageHeaderContent
=
(
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
div
className
=
{
styles
.
avatar
}
>
<
div
className
=
{
styles
.
avatar
}
>
<
Avatar
size
=
"large"
src
=
"https://gw.alipayobjects.com/zos/rmsportal/
keeYtvRpGFVVKOOiOZDS
.png"
/>
<
Avatar
size
=
"large"
src
=
"https://gw.alipayobjects.com/zos/rmsportal/
BiazfanxmamNRoxxVxka
.png"
/>
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
content
}
>
<
div
className
=
{
styles
.
content
}
>
<
div
className
=
{
styles
.
contentTitle
}
>
早安,曲丽丽,祝你开心每一天!
<
/div
>
<
div
className
=
{
styles
.
contentTitle
}
>
早安,曲丽丽,祝你开心每一天!
<
/div
>
...
...
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