Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
duanledexianxianxian
ant-design-pro
Commits
897b1f84
Commit
897b1f84
authored
Oct 20, 2017
by
niko
Committed by
GitHub
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed text (#23)
parent
72b393e9
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
89 additions
and
56 deletions
+89
-56
mock/api.js
mock/api.js
+54
-34
src/common/nav.js
src/common/nav.js
+4
-4
src/routes/Dashboard/Analysis.js
src/routes/Dashboard/Analysis.js
+5
-5
src/routes/Dashboard/Workplace.js
src/routes/Dashboard/Workplace.js
+5
-5
src/routes/List/BasicList.js
src/routes/List/BasicList.js
+2
-2
src/routes/List/BasicList.less
src/routes/List/BasicList.less
+14
-1
src/routes/List/CardList.js
src/routes/List/CardList.js
+2
-2
src/routes/List/CoverCardList.js
src/routes/List/CoverCardList.js
+1
-1
src/routes/List/FilterCardList.js
src/routes/List/FilterCardList.js
+1
-1
src/routes/List/TableList.js
src/routes/List/TableList.js
+1
-1
No files found.
mock/api.js
View file @
897b1f84
...
@@ -3,13 +3,13 @@ import { imgMap, getUrlParams } from './utils';
...
@@ -3,13 +3,13 @@ import { imgMap, getUrlParams } from './utils';
export
function
fakeList
(
count
)
{
export
function
fakeList
(
count
)
{
const
titles
=
[
const
titles
=
[
'
Vue
'
,
'
Vue
'
,
'
Ant
Design
Pro
'
,
'
Ant
Design
Pro
'
,
'
DesignLab
'
,
'
Bootstrap
'
,
'
Angular
'
,
'
Angular
'
,
'
AntDesign
'
,
'
Ant
Design
'
,
'
React
'
,
'
React
'
,
'
Alipay
'
,
'
Alipay
'
,
'
Ant
Design
Mobile
'
,
'
Ant
Design
Mobile
'
,
];
];
const
avatars
=
[
const
avatars
=
[
'
https://gw.alipayobjects.com/zos/rmsportal/hYjIZrUoBfNxOAYBVDfc.png
'
,
// 凤蝶
'
https://gw.alipayobjects.com/zos/rmsportal/hYjIZrUoBfNxOAYBVDfc.png
'
,
// 凤蝶
...
@@ -23,22 +23,42 @@ export function fakeList(count) {
...
@@ -23,22 +23,42 @@ export function fakeList(count) {
'
https://gw.alipayobjects.com/zos/rmsportal/RLwlKSYGSXGHuWSojyvp.png
'
,
'
https://gw.alipayobjects.com/zos/rmsportal/RLwlKSYGSXGHuWSojyvp.png
'
,
'
https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png
'
,
'
https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png
'
,
];
];
const
desc
=
[
'
那是一种内在的东西, 他们到达不了,也无法触及的
'
,
'
希望是一个好东西,也许是最好的,好东西是不会消亡的
'
,
'
生命就像一盒巧克力,结果往往出人意料
'
,
'
城镇中有那么多的酒馆,她却偏偏走进了我的酒馆
'
,
'
那时候我只会想自己想要什么,从不想自己拥有什么
'
,
];
const
user
=
[
'
付小小
'
,
'
曲丽丽
'
,
'
林东东
'
,
'
周星星
'
,
'
吴加好
'
,
'
朱偏右
'
,
'
鱼酱
'
,
'
乐哥
'
,
'
谭小仪
'
,
'
仲尼
'
,
];
const
list
=
[];
const
list
=
[];
for
(
let
i
=
0
;
i
<
count
;
i
+=
1
)
{
for
(
let
i
=
0
;
i
<
count
;
i
+=
1
)
{
list
.
push
({
list
.
push
({
id
:
`fake-list-
${
i
}
`
,
id
:
`fake-list-
${
i
}
`
,
owner
:
'
曲丽丽
'
,
owner
:
user
[
i
%
10
]
,
title
:
titles
[
i
%
8
],
title
:
titles
[
i
%
8
],
avatar
:
avatars
[
i
%
4
],
avatar
:
avatars
[
i
%
4
],
cover
:
Math
.
floor
(
i
/
4
)
%
2
===
0
?
covers
[
i
%
4
]
:
covers
[
3
-
(
i
%
4
)],
cover
:
(
i
/
4
)
%
2
===
0
?
covers
[
i
%
4
]
:
covers
[
3
-
(
i
%
4
)],
status
:
[
'
active
'
,
'
exception
'
,
'
normal
'
][
i
%
3
],
status
:
[
'
active
'
,
'
exception
'
,
'
normal
'
][
i
%
3
],
percent
:
Math
.
ceil
(
Math
.
random
()
*
50
)
+
50
,
percent
:
Math
.
ceil
(
Math
.
random
()
*
50
)
+
50
,
logo
:
[
'
https://gw.alipayobjects.com/zos/rmsportal/KoJjkdbuTFxzJmmjuDVR.png
'
,
'
https://gw.alipayobjects.com/zos/rmsportal/UxGORCvEXJEsxOfEKZiA.png
'
][
i
%
2
],
logo
:
[
'
https://gw.alipayobjects.com/zos/rmsportal/KoJjkdbuTFxzJmmjuDVR.png
'
,
'
https://gw.alipayobjects.com/zos/rmsportal/UxGORCvEXJEsxOfEKZiA.png
'
][
i
%
2
],
href
:
'
https://ant.design
'
,
href
:
'
https://ant.design
'
,
updatedAt
:
new
Date
(
new
Date
().
getTime
()
-
(
1000
*
60
*
60
*
2
*
i
)),
updatedAt
:
new
Date
(
new
Date
().
getTime
()
-
(
1000
*
60
*
60
*
2
*
i
)),
createdAt
:
new
Date
(
new
Date
().
getTime
()
-
(
1000
*
60
*
60
*
2
*
i
)),
createdAt
:
new
Date
(
new
Date
().
getTime
()
-
(
1000
*
60
*
60
*
2
*
i
)),
subDescription
:
'
一句话描述一句话描述
'
,
subDescription
:
desc
[
i
%
5
]
,
description
:
'
在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。
'
,
description
:
'
在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。
'
,
activeUser
:
Math
.
ceil
(
Math
.
random
()
*
100000
)
+
100000
,
activeUser
:
Math
.
ceil
(
Math
.
random
()
*
100000
)
+
100000
,
newUser
:
Math
.
ceil
(
Math
.
random
()
*
1000
)
+
1000
,
newUser
:
Math
.
ceil
(
Math
.
random
()
*
1000
)
+
1000
,
...
@@ -88,51 +108,51 @@ export function getFakeList(req, res, u) {
...
@@ -88,51 +108,51 @@ export function getFakeList(req, res, u) {
export
const
getNotice
=
[
export
const
getNotice
=
[
{
{
id
:
'
xxx1
'
,
id
:
'
xxx1
'
,
title
:
'
消息列表体验优化
'
,
title
:
'
Vue
'
,
logo
:
imgMap
.
b
,
logo
:
imgMap
.
b
,
description
:
'
这是一条描述信息这是一条描述信息
'
,
description
:
'
那是一种内在的东西, 他们到达不了,也无法触及的
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
member
:
'
蜂鸟项目
组
'
,
member
:
'
科学搬砖
组
'
,
},
},
{
{
id
:
'
xxx2
'
,
id
:
'
xxx2
'
,
title
:
'
XX 平台
'
,
title
:
'
Angular
'
,
logo
:
imgMap
.
c
,
logo
:
imgMap
.
c
,
description
:
'
这是一条描述信息
'
,
description
:
'
希望是一个好东西,也许是最好的,好东西是不会消亡的
'
,
updatedAt
:
new
Date
(
'
2017-07-24 11:00:00
'
),
updatedAt
:
new
Date
(
'
2017-07-24 11:00:00
'
),
member
:
'
凤蝶精英小分队
'
,
member
:
'
全组都是吴彦祖
'
,
},
},
{
{
id
:
'
xxx3
'
,
id
:
'
xxx3
'
,
title
:
'
消息列表体验优化
'
,
title
:
'
React
'
,
logo
:
imgMap
.
a
,
logo
:
imgMap
.
a
,
description
:
'
这是一条描述信息这是一条描述信息
'
,
description
:
'
城镇中有那么多的酒馆,她却偏偏走进了我的酒馆
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
member
:
'
蜂鸟项目组
'
,
member
:
'
中二少女团
'
,
},
},
{
{
id
:
'
xxx4
'
,
id
:
'
xxx4
'
,
title
:
'
文档中心1
'
,
title
:
'
Ant Design
'
,
logo
:
imgMap
.
a
,
logo
:
imgMap
.
a
,
description
:
'
这是一条描述信息这是一条描述信息
'
,
description
:
'
那时候我只会想自己想要什么,从不想自己拥有什么
'
,
updatedAt
:
new
Date
(
'
2017-07-23 06:23:00
'
),
updatedAt
:
new
Date
(
'
2017-07-23 06:23:00
'
),
member
:
'
成都超级小分队
'
,
member
:
'
程序员日常
'
,
},
},
{
{
id
:
'
xxx5
'
,
id
:
'
xxx5
'
,
title
:
'
文档中心2
'
,
title
:
'
Ant Design Mobile
'
,
logo
:
imgMap
.
b
,
logo
:
imgMap
.
b
,
description
:
'
这是一条描述信息这是一条描述信息
'
,
description
:
'
凛冬将至
'
,
updatedAt
:
new
Date
(
'
2017-07-23 06:23:00
'
),
updatedAt
:
new
Date
(
'
2017-07-23 06:23:00
'
),
member
:
'
成都超级小分队
'
,
member
:
'
高逼格设计天团
'
,
},
},
{
{
id
:
'
xxx6
'
,
id
:
'
xxx6
'
,
title
:
'
智能运营中心
'
,
title
:
'
Ant Motion
'
,
logo
:
imgMap
.
c
,
logo
:
imgMap
.
c
,
description
:
'
这是一条描述信息这是一条描述信息
'
,
description
:
'
生命就像一盒巧克力,结果往往出人意料
'
,
updatedAt
:
new
Date
(
'
2017-07-23 06:23:00
'
),
updatedAt
:
new
Date
(
'
2017-07-23 06:23:00
'
),
member
:
'
成都小分队
'
,
member
:
'
骗你来学计算机
'
,
},
},
];
];
...
@@ -144,31 +164,31 @@ export const getActivities = [
...
@@ -144,31 +164,31 @@ export const getActivities = [
name
:
'
林东东
'
,
name
:
'
林东东
'
,
avatar
:
imgMap
.
a
,
avatar
:
imgMap
.
a
,
},
},
action
:
'
在 [
凤蝶精英小分队
](http://github.com/) 新建项目 [六月迭代](http://github.com/)
'
,
action
:
'
在 [
高逼格设计天团
](http://github.com/) 新建项目 [六月迭代](http://github.com/)
'
,
},
},
{
{
id
:
'
trend-2
'
,
id
:
'
trend-2
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
user
:
{
user
:
{
name
:
'
林嘻嘻
'
,
name
:
'
付小小
'
,
avatar
:
imgMap
.
c
,
avatar
:
imgMap
.
c
,
},
},
action
:
'
在 [
凤蝶精英小分队
](http://github.com/) 新建项目 [六月迭代](http://github.com/)
'
,
action
:
'
在 [
高逼格设计天团
](http://github.com/) 新建项目 [六月迭代](http://github.com/)
'
,
},
},
{
{
id
:
'
trend-3
'
,
id
:
'
trend-3
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
user
:
{
user
:
{
name
:
'
林囡囡
'
,
name
:
'
曲丽丽
'
,
avatar
:
imgMap
.
b
,
avatar
:
imgMap
.
b
,
},
},
action
:
'
在 [
凤蝶精英小分队
](http://github.com/) 新建项目 [六月迭代](http://github.com/)
'
,
action
:
'
在 [
中二少女团
](http://github.com/) 新建项目 [六月迭代](http://github.com/)
'
,
},
},
{
{
id
:
'
trend-4
'
,
id
:
'
trend-4
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
user
:
{
user
:
{
name
:
'
林贝贝
'
,
name
:
'
周星星
'
,
avatar
:
imgMap
.
c
,
avatar
:
imgMap
.
c
,
},
},
action
:
'
在 [5 月日常迭代](http://github.com/) 更新至已发布状态
'
,
action
:
'
在 [5 月日常迭代](http://github.com/) 更新至已发布状态
'
,
...
@@ -177,7 +197,7 @@ export const getActivities = [
...
@@ -177,7 +197,7 @@ export const getActivities = [
id
:
'
trend-5
'
,
id
:
'
trend-5
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
user
:
{
user
:
{
name
:
'
林忠忠
'
,
name
:
'
朱偏右
'
,
avatar
:
imgMap
.
a
,
avatar
:
imgMap
.
a
,
},
},
action
:
'
在 [工程效能](http://github.com/) 发布了 [留言](http://github.com/)
'
,
action
:
'
在 [工程效能](http://github.com/) 发布了 [留言](http://github.com/)
'
,
...
@@ -186,10 +206,10 @@ export const getActivities = [
...
@@ -186,10 +206,10 @@ export const getActivities = [
id
:
'
trend-6
'
,
id
:
'
trend-6
'
,
updatedAt
:
new
Date
(),
updatedAt
:
new
Date
(),
user
:
{
user
:
{
name
:
'
林呜呜
'
,
name
:
'
乐哥
'
,
avatar
:
imgMap
.
d
,
avatar
:
imgMap
.
d
,
},
},
action
:
'
在 [
云雀
](http://github.com/) 新建项目 [品牌迭代](http://github.com/)
'
,
action
:
'
在 [
程序员日常
](http://github.com/) 新建项目 [品牌迭代](http://github.com/)
'
,
},
},
];
];
...
...
src/common/nav.js
View file @
897b1f84
...
@@ -82,7 +82,7 @@ const data = [{
...
@@ -82,7 +82,7 @@ const data = [{
path
:
'
list
'
,
path
:
'
list
'
,
icon
:
'
table
'
,
icon
:
'
table
'
,
children
:
[{
children
:
[{
name
:
'
标准表格(表格查询)
'
,
name
:
'
查询表格
'
,
path
:
'
table-list
'
,
path
:
'
table-list
'
,
component
:
TableList
,
component
:
TableList
,
},
{
},
{
...
@@ -94,15 +94,15 @@ const data = [{
...
@@ -94,15 +94,15 @@ const data = [{
path
:
'
card-list
'
,
path
:
'
card-list
'
,
component
:
CardList
,
component
:
CardList
,
},
{
},
{
name
:
'
卡片列表(封面
)
'
,
name
:
'
搜索列表(项目
)
'
,
path
:
'
cover-card-list
'
,
path
:
'
cover-card-list
'
,
component
:
CoverCardList
,
component
:
CoverCardList
,
},
{
},
{
name
:
'
带筛选卡片列表
'
,
name
:
'
搜索列表(应用)
'
,
path
:
'
filter-card-list
'
,
path
:
'
filter-card-list
'
,
component
:
FilterCardList
,
component
:
FilterCardList
,
},
{
},
{
name
:
'
搜索列表
'
,
name
:
'
搜索列表
(文章)
'
,
path
:
'
search
'
,
path
:
'
search
'
,
component
:
SearchList
,
component
:
SearchList
,
}],
}],
...
...
src/routes/Dashboard/Analysis.js
View file @
897b1f84
...
@@ -187,7 +187,7 @@ export default class Analysis extends Component {
...
@@ -187,7 +187,7 @@ export default class Analysis extends Component {
<
ChartCard
<
ChartCard
bordered
=
{
false
}
bordered
=
{
false
}
title
=
"
总销售额
"
title
=
"
总销售额
"
action
=
{
<
Tooltip
title
=
"
我是一段
说明
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
action
=
{
<
Tooltip
title
=
"
指标
说明
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
total
=
{
yuan
(
126560
)}
total
=
{
yuan
(
126560
)}
footer
=
{
<
Field
label
=
"
日均销售额
"
value
=
{
numeral
(
12423
).
format
(
'
0,0
'
)}
/>
}
footer
=
{
<
Field
label
=
"
日均销售额
"
value
=
{
numeral
(
12423
).
format
(
'
0,0
'
)}
/>
}
contentHeight
=
{
46
}
contentHeight
=
{
46
}
...
@@ -202,7 +202,7 @@ export default class Analysis extends Component {
...
@@ -202,7 +202,7 @@ export default class Analysis extends Component {
<
ChartCard
<
ChartCard
bordered
=
{
false
}
bordered
=
{
false
}
title
=
"
访问量
"
title
=
"
访问量
"
action
=
{
<
Tooltip
title
=
"
访问量是关键指标
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
action
=
{
<
Tooltip
title
=
"
指标说明
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
total
=
{
numeral
(
8846
).
format
(
'
0,0
'
)}
total
=
{
numeral
(
8846
).
format
(
'
0,0
'
)}
footer
=
{
<
Field
label
=
"
日访问量
"
value
=
{
numeral
(
1234
).
format
(
'
0,0
'
)}
/>
}
footer
=
{
<
Field
label
=
"
日访问量
"
value
=
{
numeral
(
1234
).
format
(
'
0,0
'
)}
/>
}
contentHeight
=
{
46
}
contentHeight
=
{
46
}
...
@@ -218,7 +218,7 @@ export default class Analysis extends Component {
...
@@ -218,7 +218,7 @@ export default class Analysis extends Component {
<
ChartCard
<
ChartCard
bordered
=
{
false
}
bordered
=
{
false
}
title
=
"
支付笔数
"
title
=
"
支付笔数
"
action
=
{
<
Tooltip
title
=
"
支付笔数反应交易质量
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
action
=
{
<
Tooltip
title
=
"
指标说明
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
total
=
{
numeral
(
6560
).
format
(
'
0,0
'
)}
total
=
{
numeral
(
6560
).
format
(
'
0,0
'
)}
footer
=
{
<
Field
label
=
"
转化率
"
value
=
"
60%
"
/>
}
footer
=
{
<
Field
label
=
"
转化率
"
value
=
"
60%
"
/>
}
contentHeight
=
{
46
}
contentHeight
=
{
46
}
...
@@ -232,8 +232,8 @@ export default class Analysis extends Component {
...
@@ -232,8 +232,8 @@ export default class Analysis extends Component {
<
Col
{...
topColResponsiveProps
}
>
<
Col
{...
topColResponsiveProps
}
>
<
ChartCard
<
ChartCard
bordered
=
{
false
}
bordered
=
{
false
}
title
=
"
线上购物转化率
"
title
=
"
运营活动效果
"
action
=
{
<
Tooltip
title
=
"
购买效率
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
action
=
{
<
Tooltip
title
=
"
指标说明
"
><
Icon
type
=
"
exclamation-circle-o
"
/><
/Tooltip>
}
total
=
"
78%
"
total
=
"
78%
"
footer
=
{
footer
=
{
<
Trend
mini
=
{[
'
xlg
'
,
'
md
'
]}
>
<
Trend
mini
=
{[
'
xlg
'
,
'
md
'
]}
>
...
...
src/routes/Dashboard/Workplace.js
View file @
897b1f84
...
@@ -40,31 +40,31 @@ const links = [
...
@@ -40,31 +40,31 @@ const links = [
const
members
=
[
const
members
=
[
{
{
id
:
'
members-1
'
,
id
:
'
members-1
'
,
title
:
'
凤蝶精英小分队
'
,
title
:
'
科学搬砖组
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/CRxBvUggxBYzWBTGmkxF.png
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/CRxBvUggxBYzWBTGmkxF.png
'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'
members-2
'
,
id
:
'
members-2
'
,
title
:
'
Ant Design
'
,
title
:
'
程序员日常
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png
'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'
members-3
'
,
id
:
'
members-3
'
,
title
:
'
DesignLab
'
,
title
:
'
设计天团
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png
'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'
members-4
'
,
id
:
'
members-4
'
,
title
:
'
Basement
'
,
title
:
'
中二少女团
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png
'
,
link
:
''
,
link
:
''
,
},
},
{
{
id
:
'
members-5
'
,
id
:
'
members-5
'
,
title
:
'
Github
'
,
title
:
'
骗你学计算机
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png
'
,
logo
:
'
https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png
'
,
link
:
''
,
link
:
''
,
},
},
...
...
src/routes/List/BasicList.js
View file @
897b1f84
...
@@ -98,7 +98,7 @@ export default class BasicList extends PureComponent {
...
@@ -98,7 +98,7 @@ export default class BasicList extends PureComponent {
<
Card
bordered
=
{
false
}
>
<
Card
bordered
=
{
false
}
>
<
Row
>
<
Row
>
<
Col
sm
=
{
8
}
xs
=
{
24
}
>
<
Col
sm
=
{
8
}
xs
=
{
24
}
>
<
Info
title
=
"
我的
代
办
"
value
=
"
8个任务
"
bordered
/>
<
Info
title
=
"
我的
待
办
"
value
=
"
8个任务
"
bordered
/>
<
/Col
>
<
/Col
>
<
Col
sm
=
{
8
}
xs
=
{
24
}
>
<
Col
sm
=
{
8
}
xs
=
{
24
}
>
<
Info
title
=
"
本周任务平均处理时间
"
value
=
"
32分钟
"
bordered
/>
<
Info
title
=
"
本周任务平均处理时间
"
value
=
"
32分钟
"
bordered
/>
...
@@ -112,7 +112,7 @@ export default class BasicList extends PureComponent {
...
@@ -112,7 +112,7 @@ export default class BasicList extends PureComponent {
<
Card
<
Card
className
=
{
styles
.
listCard
}
className
=
{
styles
.
listCard
}
bordered
=
{
false
}
bordered
=
{
false
}
title
=
"
基础
列表
"
title
=
"
标准
列表
"
style
=
{{
marginTop
:
24
}}
style
=
{{
marginTop
:
24
}}
bodyStyle
=
{{
padding
:
'
0 32px 40px 32px
'
}}
bodyStyle
=
{{
padding
:
'
0 32px 40px 32px
'
}}
extra
=
{
extraContent
}
extra
=
{
extraContent
}
...
...
src/routes/List/BasicList.less
View file @
897b1f84
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
}
}
}
}
.listContent {
.listContent {
margin-left: 24px;
font-size: 0;
font-size: 0;
& > div {
& > div {
color: @text-color-secondary;
color: @text-color-secondary;
...
@@ -159,6 +158,20 @@
...
@@ -159,6 +158,20 @@
@media screen and (max-width: @screen-xl) {
@media screen and (max-width: @screen-xl) {
.standardList {
.standardList {
.listContent {
.listContent {
& > div {
margin-left: 24px;
}
& > div:last-child {
top: 0;
}
}
}
}
@media screen and (max-width: 1400px) {
.standardList {
.listContent {
text-align: right;
& > div:last-child {
& > div:last-child {
top: 0;
top: 0;
}
}
...
...
src/routes/List/CardList.js
View file @
897b1f84
...
@@ -25,7 +25,7 @@ export default class CardList extends PureComponent {
...
@@ -25,7 +25,7 @@ export default class CardList extends PureComponent {
const
content
=
(
const
content
=
(
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
p
>
段落示意
:
蚂蚁金服务设计平台
-
design
.
alipay
.
com
,
用最小的工作量
,
无缝接入蚂蚁金服生态
,
<
p
>
段落示意
:
蚂蚁金服务设计平台
design
.
alipay
.
com
,
用最小的工作量
,
无缝接入蚂蚁金服生态
,
提供跨越设计与开发的体验解决方案
。
提供跨越设计与开发的体验解决方案
。
<
/p
>
<
/p
>
<
div
className
=
{
styles
.
contentLink
}
>
<
div
className
=
{
styles
.
contentLink
}
>
...
@@ -50,7 +50,7 @@ export default class CardList extends PureComponent {
...
@@ -50,7 +50,7 @@ export default class CardList extends PureComponent {
return
(
return
(
<
PageHeaderLayout
<
PageHeaderLayout
title
=
"
这是一个标题
"
title
=
"
卡片列表
"
content
=
{
content
}
content
=
{
content
}
extraContent
=
{
extraContent
}
extraContent
=
{
extraContent
}
>
>
...
...
src/routes/List/CoverCardList.js
View file @
897b1f84
...
@@ -147,7 +147,7 @@ export default class CoverCardList extends PureComponent {
...
@@ -147,7 +147,7 @@ export default class CoverCardList extends PureComponent {
return
(
return
(
<
PageHeaderLayout
<
PageHeaderLayout
title
=
"
带封面的卡片
列表
"
title
=
"
搜索
列表
"
content
=
{
pageHeaderContent
}
content
=
{
pageHeaderContent
}
tabList
=
{
tabList
}
tabList
=
{
tabList
}
onTabChange
=
{
this
.
handleTabChange
}
onTabChange
=
{
this
.
handleTabChange
}
...
...
src/routes/List/FilterCardList.js
View file @
897b1f84
...
@@ -145,7 +145,7 @@ export default class FilterCardList extends PureComponent {
...
@@ -145,7 +145,7 @@ export default class FilterCardList extends PureComponent {
return
(
return
(
<
PageHeaderLayout
<
PageHeaderLayout
title
=
"
带筛选卡片
列表
"
title
=
"
搜索
列表
"
content
=
{
pageHeaderContent
}
content
=
{
pageHeaderContent
}
tabList
=
{
tabList
}
tabList
=
{
tabList
}
onTabChange
=
{
this
.
handleTabChange
}
onTabChange
=
{
this
.
handleTabChange
}
...
...
src/routes/List/TableList.js
View file @
897b1f84
...
@@ -169,7 +169,7 @@ export default class TableList extends PureComponent {
...
@@ -169,7 +169,7 @@ export default class TableList extends PureComponent {
);
);
return
(
return
(
<
PageHeaderLayout
title
=
"
标准
表格
"
>
<
PageHeaderLayout
title
=
"
查询
表格
"
>
<
Card
bordered
=
{
false
}
>
<
Card
bordered
=
{
false
}
>
<
div
className
=
{
styles
.
tableList
}
>
<
div
className
=
{
styles
.
tableList
}
>
<
div
className
=
{
styles
.
tableListForm
}
>
<
div
className
=
{
styles
.
tableListForm
}
>
...
...
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