Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
Details
Activity
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
wangxuelai
biz.qingxiao.com
Commits
7788907f
Commit
7788907f
authored
Nov 28, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-v1' into wxl-develop
parents
6221e792
e0cffb45
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
35 deletions
+35
-35
StaticBox.js
src/pages/coursegather/detail/StaticBox.js
+1
-1
StaticBox.js
src/pages/onlineclasses/singleclass/StaticBox.js
+27
-34
StaticBox.less
src/pages/onlineclasses/singleclass/StaticBox.less
+7
-0
No files found.
src/pages/coursegather/detail/StaticBox.js
View file @
7788907f
...
...
@@ -152,7 +152,7 @@ class StaticBox extends React.Component {
<
Geom
type
=
"line"
position
=
"month*count"
color
=
{[
'name'
,
[
'
#FFB879
'
]]}
color
=
{[
'name'
,
[
'
rgba(255, 184, 121,0.3)
'
]]}
size
=
{
3
}
shape
=
"smooth"
/>
...
...
src/pages/onlineclasses/singleclass/StaticBox.js
View file @
7788907f
...
...
@@ -67,44 +67,36 @@ class StaticBox extends React.Component {
return
(
<
div
className
=
{
pageStyle
.
container
}
>
<
div
className
=
{
pageStyle
.
StaticBox
}
>
<
Row
>
<
Col
lg
=
{
14
}
md
=
{
24
}
xs
=
{
24
}
sm
=
{
24
}
className
=
{
pageStyle
.
searchBox
}
>
<
span
className
=
{
pageStyle
.
searchname
}
>
日期
<
/span
>
<
RangePicker
onChange
=
{
this
.
onChange
}
ranges
=
{{
' 最近7天'
:
[
moment
().
subtract
(
6
,
'days'
),
moment
()],
' 最近三十天 '
:
[
moment
().
subtract
(
29
,
'days'
),
moment
()],
}}
disabledDate
=
{
this
.
disabledDate
}
allowClear
=
{
false
}
style
=
{{
marginRight
:
'42px'
}}
defaultValue
=
{[
yesterday
,
today
]}
/
>
{
/* <div className={`${pageStyle.chartitem} ${pageStyle.payitem}`}> */
}
{
/* <div className={pageStyle.dot} /> */
}
{
/* <div className={pageStyle.chartitemname}>付费人数</div> */
}
{
/* </div> */
}
{
/* <div className={`${pageStyle.chartitem} ${pageStyle.visititem}`}> */
}
{
/* <div className={pageStyle.dot} /> */
}
{
/* <div className={pageStyle.chartitemname}>访问人数</div> */
}
{
/* </div> */
}
<
/Col
>
<
/Row
>
<
div
className
=
{
pageStyle
.
chartBox
}
>
<
Row
>
<
Col
lg
=
{
14
}
md
=
{
24
}
xs
=
{
24
}
sm
=
{
24
}
className
=
{
pageStyle
.
searchBox
}
>
<
span
className
=
{
pageStyle
.
searchname
}
>
日期
<
/span
>
<
RangePicker
onChange
=
{
this
.
onChange
}
ranges
=
{{
' 最近7天'
:
[
moment
().
subtract
(
6
,
'days'
),
moment
()],
' 最近三十天 '
:
[
moment
().
subtract
(
29
,
'days'
),
moment
()],
}}
disabledDate
=
{
this
.
disabledDate
}
allowClear
=
{
false
}
style
=
{{
marginRight
:
'42px'
}}
defaultValue
=
{[
yesterday
,
today
]}
/
>
<
/Col
>
<
/Row
>
{
dataChart
.
length
>
0
?
<
Chart
height
=
{
350
}
data
=
{
dataChart
}
padding
=
"auto"
scale
=
{
dataCols
}
forceFit
>
<
Legend
textStyle
=
{{
fontSize
:
'15'
,
fill
:
'#5c5c5c'
,
textBaseline
:
'middle'
}}
marker
=
"circle"
offsetY
=
{
-
45
}
position
=
"top-
right
"
position
=
"top-
center
"
items
=
{[
{
value
:
'visitor_count'
,
...
...
@@ -116,6 +108,7 @@ class StaticBox extends React.Component {
]}
/
>
<
Axis
name
=
"month"
/>
<
Axis
name
=
"count"
/>
<
Tooltip
g2
-
tooltip
=
{{
backgroundColor
:
'#000'
,
...
...
@@ -123,15 +116,15 @@ class StaticBox extends React.Component {
color
:
'#FFFFFF'
,
}}
crosshairs
=
{{
type
:
'
y
'
,
type
:
'
area
'
,
fill
:
'#000'
,
stroke
:
'#000'
,
}}
/
>
<
Geom
type
=
"
line
"
type
=
"
area
"
position
=
"month*count"
color
=
{[
'name'
,
[
'
#FFB879
'
]]}
color
=
{[
'name'
,
[
'
rgba(255, 184, 121,0.3)
'
]]}
size
=
{
3
}
shape
=
"smooth"
/>
...
...
src/pages/onlineclasses/singleclass/StaticBox.less
View file @
7788907f
...
...
@@ -4,6 +4,13 @@
.StaticBox {
padding: 27px 20px;
margin-bottom: 10px;
position: relative;
.searchBox {
position: absolute;
z-index: 1;
left: 0;
top: 0;
}
}
.searchname {
color: #000000;
...
...
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