Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2cfb99cc
authored
Sep 06, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
dffe8594
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
4 deletions
src/assets/css/index.scss
src/views/internal/components/ViewClue.vue
src/assets/css/index.scss
View file @
2cfb99c
...
@@ -151,10 +151,19 @@ img {
...
@@ -151,10 +151,19 @@ img {
background
:
#071735
;
background
:
#071735
;
}
}
.patch-title
{
.patch-title
{
width
:
fit-content
;
position
:
relative
;
height
:
2
.22vh
;
height
:
2
.22vh
;
background-image
:
linear-gradient
(
269deg
,
#5663ff
00
10%
,
#6578ff
d4
49%
,
#079FF1
100%
);
color
:
#fff
;
color
:
#fff
;
line-height
:
2
.22vh
;
line-height
:
2
.22vh
;
padding-left
:
0
.83vw
;
padding-left
:
0
.83vw
;
z-index
:
1
;
&
:
:
before
{
content
:
''
;
position
:
absolute
;
left
:
0
;
width
:
7
.5vw
;
height
:
2
.22vh
;
background-image
:
linear-gradient
(
269deg
,
#5663ff
00
10%
,
#6578ff
d4
49%
,
#079FF1
100%
);
z-index
:
-1
;
}
}
}
\ No newline at end of file
\ No newline at end of file
src/views/internal/components/ViewClue.vue
View file @
2cfb99c
...
@@ -3,14 +3,38 @@
...
@@ -3,14 +3,38 @@
<StatisticsBox
:list=
"digitalMarketingList"
></StatisticsBox>
<StatisticsBox
:list=
"digitalMarketingList"
></StatisticsBox>
<div
class=
"trend-box"
>
<div
class=
"trend-box"
>
<div
class=
"patch-title"
>
注册门店趋势
</div>
<div
class=
"patch-title"
>
注册门店趋势
</div>
<BarChart
ref=
"signChartRef"
domId=
"signChart"
:height=
"chartHeight"
:dataList
.
sync=
"dataList"
:colorList=
"colorList"
:tooltipFormatterObj=
"tooltips"
></BarChart>
</div>
<div
class=
"trend-box"
>
<div
class=
"patch-title"
>
活跃门店趋势
</div>
<BarChart
ref=
"dynamicChartRef"
domId=
"dynamicChart"
:height=
"chartHeight"
:dataList
.
sync=
"dataList"
:colorList=
"colorList"
:tooltipFormatterObj=
"tooltips"
></BarChart>
</div>
<div
class=
"trend-box"
>
<div
class=
"patch-title"
>
月收入趋势
</div>
<BarChart
ref=
"monthIncomeChartRef"
domId=
"monthIncomeChart"
:height=
"chartHeight"
:dataList
.
sync=
"dataList"
:colorList=
"colorList"
:tooltipFormatterObj=
"tooltips"
></BarChart>
</div>
<div
class=
"trend-box"
>
<div
class=
"patch-title"
>
销售渠道趋势
</div>
<BarChart
ref=
"saleChartRef"
domId=
"saleChart"
:height=
"chartHeight"
:dataList
.
sync=
"dataList"
:colorList=
"colorList"
:tooltipFormatterObj=
"tooltips"
></BarChart>
</div>
<div
class=
"trend-box"
>
<div
class=
"patch-title"
>
按年统计客户销售金额的合理性-门店数
</div>
<BarChart
ref=
"rationalityChartRef"
domId=
"rationalityChart"
:height=
"chartHeight"
:dataList
.
sync=
"dataList"
:colorList=
"colorList"
:tooltipFormatterObj=
"tooltips"
></BarChart>
</div>
<div
class=
"trend-box"
>
<div
class=
"patch-title"
>
设备订阅数量和线索相关性分析
</div>
<BarChart
ref=
"correlationChartRef"
domId=
"correlationChart"
:height=
"chartHeight"
:dataList
.
sync=
"dataList"
:colorList=
"colorList"
:tooltipFormatterObj=
"tooltips"
></BarChart>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
BarChart
from
'./BarChart.vue'
export
default
{
export
default
{
name
:
'InternalRight'
,
name
:
'InternalRight'
,
components
:
{
BarChart
},
data
()
{
data
()
{
return
{
return
{
digitalMarketingList
:
[
digitalMarketingList
:
[
...
@@ -70,14 +94,46 @@ export default {
...
@@ -70,14 +94,46 @@ export default {
ratioRightValueName
:
'outputvalueHb'
,
ratioRightValueName
:
'outputvalueHb'
,
ratioRightValue
:
'0'
ratioRightValue
:
'0'
}
}
]
],
chartHeight
:
'19vh'
,
colorList
:
[
'#22D8FF'
,
'#223FA9'
,
'#061422'
],
dataList
:
[
{
statMonth
:
'2021'
,
actiNum
:
400
},
{
statMonth
:
'2022'
,
actiNum
:
400
},
{
statMonth
:
'2023'
,
actiNum
:
400
}
],
tooltips
:
{
label
:
'场次'
,
attrName
:
'actiNum'
}
}
}
},
mounted
()
{
this
.
$refs
.
signChartRef
.
drawBar
()
this
.
$refs
.
dynamicChartRef
.
drawBar
()
this
.
$refs
.
monthIncomeChartRef
.
drawBar
()
this
.
$refs
.
saleChartRef
.
drawBar
()
this
.
$refs
.
rationalityChartRef
.
drawBar
()
this
.
$refs
.
correlationChartRef
.
drawBar
()
},
methods
:
{
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.trend-box
{
.trend-box
{
display
:
inline-block
;
margin-top
:
0.89vh
;
margin-top
:
0.89vh
;
width
:
50%
;
&:nth-child(1),
&:nth-child(1),
&:nth-child(2)
{
&:nth-child(2)
{
margin-top
:
1.78vh
;
margin-top
:
1.78vh
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment