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
f423c756
Commit
f423c756
authored
Oct 29, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Trend
parent
55b6eef9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
22 deletions
+13
-22
src/components/Trend/index.less
src/components/Trend/index.less
+0
-3
src/routes/Dashboard/Analysis.js
src/routes/Dashboard/Analysis.js
+12
-18
src/routes/Dashboard/Analysis.less
src/routes/Dashboard/Analysis.less
+1
-1
No files found.
src/components/Trend/index.less
View file @
f423c756
...
@@ -6,9 +6,6 @@
...
@@ -6,9 +6,6 @@
font-size: @font-size-base;
font-size: @font-size-base;
line-height: 22px;
line-height: 22px;
& + & {
margin-left: 16px;
}
.up,
.up,
.down {
.down {
margin-left: 4px;
margin-left: 4px;
...
...
src/routes/Dashboard/Analysis.js
View file @
f423c756
...
@@ -228,16 +228,12 @@ export default class Analysis extends Component {
...
@@ -228,16 +228,12 @@ export default class Analysis extends Component {
footer
=
{
<
Field
label
=
"
日均销售额
"
value
=
{
`¥
${
numeral
(
12423
).
format
(
'
0,0
'
)}
`
}
/>
}
footer
=
{
<
Field
label
=
"
日均销售额
"
value
=
{
`¥
${
numeral
(
12423
).
format
(
'
0,0
'
)}
`
}
/>
}
contentHeight
=
{
46
}
contentHeight
=
{
46
}
>
>
<
div
style
=
{{
whiteSpace
:
'
nowrap
'
,
overflow
:
'
hidden
'
}}
>
<
Trend
flag
=
"
up
"
style
=
{{
marginRight
:
16
}}
>
<
span
>
周同比
<
span
className
=
{
styles
.
trendText
}
>
12
%<
/span
>
周同比
<
/Trend
>
<
Trend
flag
=
"
up
"
className
=
{
styles
.
trend
}
>
12
%<
/Trend
>
<
Trend
flag
=
"
down
"
>
<
/span
>
日环比
<
span
className
=
{
styles
.
trendText
}
>
11
%<
/span
>
<
span
style
=
{{
marginLeft
:
16
}}
>
<
/Trend
>
日环比
<
Trend
flag
=
"
down
"
className
=
{
styles
.
trend
}
>
11
%<
/Trend
>
<
/span
>
<
/div
>
<
/ChartCard
>
<
/ChartCard
>
<
/Col
>
<
/Col
>
<
Col
{...
topColResponsiveProps
}
>
<
Col
{...
topColResponsiveProps
}
>
...
@@ -279,14 +275,12 @@ export default class Analysis extends Component {
...
@@ -279,14 +275,12 @@ export default class Analysis extends Component {
total
=
"
78%
"
total
=
"
78%
"
footer
=
{
footer
=
{
<
div
style
=
{{
whiteSpace
:
'
nowrap
'
,
overflow
:
'
hidden
'
}}
>
<
div
style
=
{{
whiteSpace
:
'
nowrap
'
,
overflow
:
'
hidden
'
}}
>
<
span
>
<
Trend
flag
=
"
up
"
style
=
{{
marginRight
:
16
}}
>
周同比
周同比
<
span
className
=
{
styles
.
trendText
}
>
12
%<
/span
>
<
Trend
flag
=
"
up
"
className
=
{
styles
.
trend
}
>
12
%<
/Trend
>
<
/Trend
>
<
/span
>
<
Trend
flag
=
"
down
"
>
<
span
style
=
{{
marginLeft
:
16
}}
>
日环比
<
span
className
=
{
styles
.
trendText
}
>
11
%<
/span
>
日环比
<
/Trend
>
<
Trend
flag
=
"
down
"
className
=
{
styles
.
trend
}
>
11
%<
/Trend
>
<
/span
>
<
/div
>
<
/div
>
}
}
contentHeight
=
{
46
}
contentHeight
=
{
46
}
...
...
src/routes/Dashboard/Analysis.less
View file @
f423c756
...
@@ -134,7 +134,7 @@ th.alignRight {
...
@@ -134,7 +134,7 @@ th.alignRight {
text-align: right!important;
text-align: right!important;
}
}
.trend {
.trend
Text
{
margin-left: 8px;
margin-left: 8px;
color: @heading-color;
color: @heading-color;
}
}
...
...
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