Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
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 2d111c87
authored
Feb 13, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
惠州展厅
1 parent
73843273
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1239 additions
and
1211 deletions
src/components/BoxTitle.vue
src/views/home/pages/viewEntireLifecycleOfCar.vue
src/views/lifeSceneDataPage/components/AIMerchant.vue
src/views/lifeSceneDataPage/components/ActivityRate.vue
src/views/lifeSceneDataPage/components/BarLineOptions.js
src/views/lifeSceneDataPage/components/BigModuleMarketing.vue
src/views/lifeSceneDataPage/components/BigModuleTrend.vue
src/views/lifeSceneDataPage/components/HotWords.vue
src/views/lifeSceneDataPage/components/NearThread.vue
src/views/newOperational/components/options.js
src/views/videoPage/index.vue
src/components/BoxTitle.vue
View file @
2d111c8
<!--
<!--
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-06 11:46:13
* @Date: 2023-07-06 11:46:13
* @LastEditors:
huyue
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
4-01-26 17:16:49
* @LastEditTime: 202
5-02-13 14:14:52
-->
-->
<
template
>
<
template
>
<div
class=
"text-box"
:style=
"
{
'font-size': fontSize + 'px', 'text-align': textAlign
}">
{{
title
}}
</div>
<div
class=
"text-box"
:style=
"
{
'font-size': fontSize + 'px', 'text-align': textAlign
}">
{{
title
}}
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -20,7 +20,7 @@ export default {
...
@@ -20,7 +20,7 @@ export default {
},
},
fontSize
:
{
fontSize
:
{
type
:
Number
,
type
:
Number
,
default
:
2
4
default
:
2
0
},
},
textAlign
:
String
textAlign
:
String
},
},
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
font-family
:
SourceHanSansCN-Bold
;
font-family
:
SourceHanSansCN-Bold
;
font-weight
:
700
;
font-weight
:
700
;
letter-spacing
:
0
;
letter-spacing
:
0
;
background
:
linear-gradient
(
to
right
,
#01
A4F9
,
#6DF5F
9
);
/* 从左到右渐变 */
background
:
linear-gradient
(
to
right
,
#01
a4f9
,
#6df5f
9
);
/* 从左到右渐变 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
padding-top
:
5px
;
padding-top
:
5px
;
...
...
src/views/home/pages/viewEntireLifecycleOfCar.vue
View file @
2d111c8
<
template
>
<
template
>
<!-- 汽车全生命周期场景图 -->
<!-- 汽车全生命周期场景图 -->
<div
class=
"view-content"
>
<div
class=
"view-content"
>
<!--
<div></div>
-->
<!--
<div></div>
-->
<Introduce
class=
"left"
></Introduce>
<Introduce
class=
"left"
></Introduce>
<div
class=
"rightCon"
>
<div
class=
"rightCon"
>
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"title"
>
丰富的行业应用
</div>
<div
class=
"title"
>
丰富的行业应用
</div>
<img
class=
"bg"
src=
"../../../assets/images/viewEntireLifecycleOfCar/header_ring.png"
alt=
""
/>
<img
class=
"bg"
src=
"../../../assets/images/viewEntireLifecycleOfCar/header_ring.png"
alt=
""
/>
<div
v-for=
"(item, index) in headerLabelList"
:key=
"index"
:class=
"['item_' + `$
{index + 1}`, item.footer ? '' : 'oneLine']" class="item">
<div
v-for=
"(item, index) in headerLabelList"
:key=
"index"
:class=
"['item_' + `$
{index + 1}`, item.footer ? '' : 'oneLine']" class="item">
{{
item
.
header
}}
{{
item
.
header
}}
<br
v-if=
"item.footer"
/>
<br
v-if=
"item.footer"
/>
{{
item
.
footer
}}
{{
item
.
footer
}}
</div>
</div>
</div>
</div>
<div
class=
"footer"
>
<div
class=
"footer"
>
<!--
<div
>
-->
<!--
<div
>
-->
<ul
class=
"swiper"
>
<ul
class=
"swiper"
>
<li>
<li>
<div
class=
"title"
>
新能源充电场景模型
</div>
<div
class=
"title"
>
新能源充电场景模型
</div>
<span
class=
"introduce"
>
<span
class=
"introduce"
>
动态功率调节
动态功率调节
<br
/>
<br
/>
动态成本定价
动态成本定价
<br
/>
<br
/>
充电站营收预测
充电站营收预测
<br
/>
<br
/>
充电站推荐
充电站推荐
</span>
</span>
</li>
</li>
<li>
<li>
<div
class=
"title"
>
UBI保险场景模型
</div>
<div
class=
"title"
>
UBI保险场景模型
</div>
<span
class=
"introduce"
>
<span
class=
"introduce"
>
驾驶行为评分
驾驶行为评分
<br
/>
<br
/>
个性化定价
个性化定价
<br
/>
<br
/>
自动泊车风险评估
自动泊车风险评估
<br
/>
<br
/>
续保个性化AI外呼
续保个性化AI外呼
</span>
</span>
</li>
</li>
<li>
<li>
<div
class=
"title"
>
金融风控场景模型
</div>
<div
class=
"title"
>
金融风控场景模型
</div>
<span
class=
"introduce"
>
<span
class=
"introduce"
>
车辆风险等级
车辆风险等级
<br
/>
<br
/>
高危用户判定
高危用户判定
<br
/>
<br
/>
警情复核筛查
警情复核筛查
<br
/>
<br
/>
催收策略分析
催收策略分析
</span>
</span>
</li>
</li>
<li>
<li>
<div
class=
"title"
>
数字维保场景模型
</div>
<div
class=
"title"
>
数字维保场景模型
</div>
<span
class=
"introduce"
>
<span
class=
"introduce"
>
智能碰撞识别
智能碰撞识别
<br
/>
<br
/>
上门维修匹配
上门维修匹配
<br
/>
<br
/>
出险概率评估
出险概率评估
<br
/>
<br
/>
保养自动提醒
保养自动提醒
</span>
</span>
</li>
</li>
<li>
<li>
<div
class=
"title"
>
数字化营销场景模型
</div>
<div
class=
"title"
>
数字化营销场景模型
</div>
<span
class=
"introduce"
>
<span
class=
"introduce"
>
精准用户营销
精准用户营销
<br
/>
<br
/>
智能碰撞识别
智能碰撞识别
<br
/>
<br
/>
智能销售辅助
智能销售辅助
<br
/>
<br
/>
千人千面推荐
千人千面推荐
</span>
</span>
</li>
</li>
<li>
<li>
<div
class=
"title"
>
二手车交易场景模型
</div>
<div
class=
"title"
>
二手车交易场景模型
</div>
<span
class=
"introduce"
>
<span
class=
"introduce"
>
车辆车况识别
车辆车况识别
<br
/>
<br
/>
车辆残值估算
车辆残值估算
<br
/>
<br
/>
车辆行情预测
车辆行情预测
<br
/>
<br
/>
竞拍价格匹配
竞拍价格匹配
</span>
</span>
</li>
</li>
</ul>
</ul>
<!--
</div>
-->
<!--
</div>
-->
<div
class=
"titleCon"
>
<div
class=
"titleCon"
>
<div
class=
"title title1"
>
广联新能源
</div>
<div
class=
"title title1"
>
广联新能源
</div>
<div
class=
"title title2"
>
车主服务行业大模型
</div>
<div
class=
"title title2"
>
车主服务行业大模型
</div>
<div
class=
"title3"
>
基于行业数据共建
</div>
<div
class=
"title3"
>
基于行业数据共建
</div>
</div>
</div>
<div
class=
"item item_1"
>
<div
class=
"item item_1"
>
交易数据
交易数据
<br
/>
<br
/>
触达数据
触达数据
<br
/>
<br
/>
转化数据
转化数据
</div>
</div>
<div
class=
"itemIcon icon1"
></div>
<div
class=
"itemIcon icon1"
></div>
<div
class=
"item item_2"
>
<div
class=
"item item_2"
>
风控数据
风控数据
<br
/>
<br
/>
轨迹数据
轨迹数据
<br
/>
<br
/>
设备数据
设备数据
<br
/>
<br
/>
告警数据
告警数据
</div>
</div>
<div
class=
"itemIcon icon2"
></div>
<div
class=
"itemIcon icon2"
></div>
<div
class=
"item item_3"
>
<div
class=
"item item_3"
>
车辆数据
车辆数据
<br
/>
<br
/>
用车数据
用车数据
<br
/>
<br
/>
竞拍数据
竞拍数据
</div>
</div>
<div
class=
"itemIcon icon3"
></div>
<div
class=
"itemIcon icon3"
></div>
<div
class=
"item item_4"
>
<div
class=
"item item_4"
>
轻改产品数据
轻改产品数据
<br
/>
<br
/>
话术数据
话术数据
<br
/>
<br
/>
技能数据
技能数据
</div>
</div>
<div
class=
"itemIcon icon4"
></div>
<div
class=
"itemIcon icon4"
></div>
<img
class=
"bg"
src=
"../../../assets/images/viewEntireLifecycleOfCar/footer_ring.png"
alt=
""
/>
<img
class=
"bg"
src=
"../../../assets/images/viewEntireLifecycleOfCar/footer_ring.png"
alt=
""
/>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Introduce
from
'@/components/Introduce'
import
Introduce
from
'@/components/Introduce'
export
default
{
export
default
{
name
:
'ViewEntireLifecycleOfCar'
,
name
:
'ViewEntireLifecycleOfCar'
,
components
:
{
Introduce
},
components
:
{
Introduce
},
data
()
{
data
()
{
return
{
return
{
headerLabelList
:
[
headerLabelList
:
[
{
{
header
:
'个性化'
,
header
:
'个性化'
,
footer
:
'推荐'
footer
:
'推荐'
},
},
{
{
header
:
'车辆风'
,
header
:
'车辆风'
,
footer
:
'险评级'
footer
:
'险评级'
},
},
{
{
header
:
'个性化'
,
header
:
'个性化'
,
footer
:
'定价'
footer
:
'定价'
},
},
{
{
header
:
'二手车'
,
header
:
'二手车'
,
footer
:
'检测'
footer
:
'检测'
},
},
{
{
header
:
'二手车'
,
header
:
'二手车'
,
footer
:
'拍卖'
footer
:
'拍卖'
},
},
{
{
header
:
'建站'
,
header
:
'建站'
,
footer
:
'选址'
footer
:
'选址'
},
},
{
{
header
:
'充电'
,
header
:
'充电'
,
footer
:
'调节'
footer
:
'调节'
},
},
{
{
header
:
'电池回'
,
header
:
'电池回'
,
footer
:
'收评估'
footer
:
'收评估'
},
},
{
{
header
:
'知识库'
,
header
:
'知识库'
,
footer
:
''
footer
:
''
},
},
{
{
header
:
'销售'
,
header
:
'销售'
,
footer
:
'助手'
footer
:
'助手'
},
},
{
{
header
:
'碰撞'
,
header
:
'碰撞'
,
footer
:
'检查'
footer
:
'检查'
}
}
]
]
}
}
},
},
// created() {
// created() {
// return {}
// return {}
// },
// },
created
()
{},
created
()
{},
methods
:
{}
methods
:
{}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.view-content
{
.view-content
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
padding
:
1.78vh
160px
;
padding
:
7.78vh
160px
;
gap
:
0
16px
;
gap
:
0
16px
;
display
:
flex
;
display
:
flex
;
.top-tab
{
.top-tab
{
margin-bottom
:
1.78vh
;
margin-bottom
:
1.78vh
;
height
:
5vh
;
height
:
5vh
;
}
}
.rightCon
{
.rightCon
{
width
:
1280px
;
width
:
1280px
;
margin-left
:
auto
;
margin-left
:
auto
;
text-align
:
center
;
text-align
:
center
;
.header
{
.header
{
margin
:
24px
auto
0
;
margin
:
24px
auto
0
;
width
:
1040px
;
width
:
1040px
;
text-align
:
center
;
text-align
:
center
;
height
:
194px
;
height
:
194px
;
position
:
relative
;
position
:
relative
;
//
line-height
:
194px
;
//
line-height
:
194px
;
.title
{
.title
{
position
:
absolute
;
position
:
absolute
;
top
:
42%
;
top
:
42%
;
left
:
50%
;
left
:
50%
;
height
:
32px
;
height
:
42px
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
//
width
:
154px
;
//
width
:
154px
;
//
height
:
32px
;
//
height
:
32px
;
text-align
:
center
;
text-align
:
center
;
font-family
:
SourceHanSansCN-Bold
;
font-family
:
SourceHanSansCN-Bold
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
22px
;
font-size
:
22px
;
//
color
:
#FFFFFF
;
//
color
:
#FFFFFF
;
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
background-clip
:
text
;
background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
z-index
:
3
;
z-index
:
3
;
//
letter-spacing
:
0
;
//
letter-spacing
:
0
;
//
text-align
:
center
;
//
text-align
:
center
;
//
line-height
:
32px
;
//
line-height
:
32px
;
}
}
.item
{
.item
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
84px
;
width
:
84px
;
height
:
84px
;
height
:
84px
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/ring.png)
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/ring.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
font-family
:
SourceHanSansCN-Medium
;
font-family
:
SourceHanSansCN-Medium
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#56e3f9
;
color
:
#56e3f9
;
text-align
:
center
;
text-align
:
center
;
padding-top
:
21px
;
padding-top
:
21px
;
//
line-height
:
42px
;
//
line-height
:
42px
;
}
}
.item_1
{
.item_1
{
position
:
absolute
;
position
:
absolute
;
bottom
:
8px
;
bottom
:
8px
;
left
:
478px
;
left
:
478px
;
}
}
.item_2
{
.item_2
{
position
:
absolute
;
position
:
absolute
;
bottom
:
12px
;
bottom
:
12px
;
left
:
618px
;
left
:
618px
;
}
}
.item_3
{
.item_3
{
position
:
absolute
;
position
:
absolute
;
bottom
:
30px
;
bottom
:
30px
;
left
:
758px
;
left
:
758px
;
}
}
.item_4
{
.item_4
{
position
:
absolute
;
position
:
absolute
;
bottom
:
68px
;
bottom
:
68px
;
left
:
876px
;
left
:
876px
;
}
}
.item_5
{
.item_5
{
position
:
absolute
;
position
:
absolute
;
bottom
:
120px
;
bottom
:
120px
;
left
:
696px
;
left
:
696px
;
}
}
.item_6
{
.item_6
{
position
:
absolute
;
position
:
absolute
;
bottom
:
138px
;
bottom
:
138px
;
left
:
550px
;
left
:
550px
;
}
}
.item_7
{
.item_7
{
position
:
absolute
;
position
:
absolute
;
bottom
:
138px
;
bottom
:
138px
;
left
:
406px
;
left
:
406px
;
}
}
.item_8
{
.item_8
{
position
:
absolute
;
position
:
absolute
;
bottom
:
120px
;
bottom
:
120px
;
left
:
264px
;
left
:
264px
;
}
}
.item_9
{
.item_9
{
position
:
absolute
;
position
:
absolute
;
bottom
:
66px
;
bottom
:
66px
;
left
:
82px
;
left
:
82px
;
}
}
.item_10
{
.item_10
{
position
:
absolute
;
position
:
absolute
;
bottom
:
30px
;
bottom
:
30px
;
left
:
198px
;
left
:
198px
;
}
}
.item_11
{
.item_11
{
position
:
absolute
;
position
:
absolute
;
bottom
:
14px
;
bottom
:
14px
;
left
:
340px
;
left
:
340px
;
}
}
.oneLine
{
.oneLine
{
padding-top
:
32px
;
padding-top
:
32px
;
}
}
}
}
.bg
{
.bg
{
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
left
:
50%
;
//
居中
left
:
50%
;
//
居中
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
margin-top
:
auto
;
margin-top
:
auto
;
width
:
1040px
;
width
:
1040px
;
height
:
194px
;
height
:
194px
;
}
}
.footer
{
.footer
{
position
:
relative
;
position
:
relative
;
width
:
1280px
;
width
:
1280px
;
height
:
705px
;
height
:
705px
;
.swiper
{
.swiper
{
li
{
li
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.title
{
.title
{
//
position
:
absolute
;
//
position
:
absolute
;
position
:
relative
;
position
:
relative
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
width
:
180px
;
width
:
180px
;
height
:
24px
;
height
:
24px
;
font-family
:
PingFangSC-Medium
;
font-family
:
PingFangSC-Medium
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
18px
;
font-size
:
18px
;
//
color
:
#56E3F9
;
//
color
:
#56E3F9
;
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
background-clip
:
text
;
background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
//
letter-spacing
:
0
;
//
letter-spacing
:
0
;
text-align
:
center
;
text-align
:
center
;
line-height
:
24px
;
line-height
:
24px
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
bottom
:
-2px
;
bottom
:
-2px
;
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100%
;
height
:
10px
;
height
:
10px
;
opacity
:
0.2
;
opacity
:
0.2
;
background-image
:
linear-gradient
(
90deg
,
#00c8ff
0%
,
#0069f2
100%
);
background-image
:
linear-gradient
(
90deg
,
#00c8ff
0%
,
#0069f2
100%
);
}
}
}
}
.introduce
{
.introduce
{
font-family
:
PingFangSC-Regular
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#dedede
;
color
:
#dedede
;
letter-spacing
:
0
;
letter-spacing
:
0
;
text-align
:
center
;
text-align
:
center
;
line-height
:
28px
;
line-height
:
28px
;
}
}
}
}
.titleCon
{
.titleCon
{
position
:
absolute
;
position
:
absolute
;
bottom
:
191px
;
bottom
:
191px
;
left
:
50%
;
left
:
50%
;
height
:
100px
;
height
:
100px
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
z-index
:
1
;
z-index
:
1
;
.title
{
.title
{
font-family
:
SourceHanSansCN-Bold
;
font-family
:
SourceHanSansCN-Bold
;
font-weight
:
700
;
font-weight
:
700
;
font-size
:
24px
;
font-size
:
24px
;
height
:
32px
;
height
:
42px
;
line-height
:
32px
;
line-height
:
42px
;
text-align
:
center
;
text-align
:
center
;
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
background-clip
:
text
;
background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
.title3
{
.title3
{
margin-top
:
10px
;
margin-top
:
10px
;
opacity
:
0.9
;
opacity
:
0.9
;
font-family
:
PingFangSC-Regular
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
18px
;
font-size
:
18px
;
color
:
#dedede
;
color
:
#dedede
;
}
}
//
line-height
:
32px
;
//
line-height
:
32px
;
}
}
.itemIcon
{
.itemIcon
{
width
:
80px
;
width
:
80px
;
height
:
80px
;
height
:
80px
;
position
:
absolute
;
position
:
absolute
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
z-index
:
1
;
z-index
:
1
;
}
}
.item
{
.item
{
font-family
:
PingFangSC-Regular
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#56e3f9
;
color
:
#56e3f9
;
letter-spacing
:
0
;
letter-spacing
:
0
;
line-height
:
26px
;
line-height
:
26px
;
position
:
absolute
;
position
:
absolute
;
z-index
:
1
;
z-index
:
1
;
text-align
:
left
;
text-align
:
left
;
}
}
.item_1
{
.item_1
{
left
:
190px
;
left
:
190px
;
bottom
:
100px
;
bottom
:
100px
;
}
}
.item_2
{
.item_2
{
left
:
382px
;
left
:
382px
;
bottom
:
111px
;
bottom
:
111px
;
}
}
.item_3
{
.item_3
{
left
:
834px
;
left
:
834px
;
bottom
:
111px
;
bottom
:
111px
;
}
}
.item_4
{
.item_4
{
left
:
1021px
;
left
:
1021px
;
bottom
:
100px
;
bottom
:
100px
;
}
}
.icon1
{
.icon1
{
left
:
268px
;
left
:
268px
;
bottom
:
138px
;
bottom
:
138px
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item01.png)
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item01.png)
;
}
}
.icon2
{
.icon2
{
left
:
450px
;
left
:
450px
;
bottom
:
58px
;
bottom
:
58px
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item02.png)
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item02.png)
;
}
}
.icon3
{
.icon3
{
left
:
750px
;
left
:
750px
;
bottom
:
58px
;
bottom
:
58px
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item03.png)
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item03.png)
;
}
}
.icon4
{
.icon4
{
left
:
932px
;
left
:
932px
;
bottom
:
138px
;
bottom
:
138px
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item04.png)
;
background-image
:
url(../../../assets/images/viewEntireLifecycleOfCar/footer_item04.png)
;
}
}
.bg
{
.bg
{
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
//
left
:
0
;
//
left
:
0
;
left
:
50%
;
//
居中
left
:
50%
;
//
居中
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
z-index
:
0
;
z-index
:
0
;
//
left
:
50%
;
//
居中
//
left
:
50%
;
//
居中
//
transform
:
translateX
(
-50%
);
//
transform
:
translateX
(
-50%
);
//
margin-top
:
auto
;
//
margin-top
:
auto
;
//
width
:
1040px
;
//
width
:
1040px
;
//
height
:
783px
;
//
height
:
783px
;
}
}
}
}
}
}
}
}
ul
{
ul
{
padding
:
0
;
padding
:
0
;
//
list-style
:
none
;
//
list-style
:
none
;
margin-left
:
-30px
;
margin-left
:
-30px
;
list-style
:
none
;
list-style
:
none
;
//
width
:
400px
;
//
width
:
400px
;
//
height
:
400px
;
//
height
:
400px
;
width
:
260px
;
width
:
260px
;
height
:
230px
;
height
:
230px
;
margin
:
0
auto
;
margin
:
0
auto
;
//
margin-top
:
200px
;
//
margin-top
:
200px
;
position
:
relative
;
position
:
relative
;
transform-style
:
preserve-3d
;
transform-style
:
preserve-3d
;
//
transform
:
rotateX
(
-10deg
);
//
transform
:
rotateX
(
-10deg
);
transform
:
rotateX
(
-6deg
);
transform
:
rotateX
(
-6deg
);
z-index
:
1
;
z-index
:
1
;
animation
:
spin
60s
infinite
linear
;
animation
:
spin
60s
infinite
linear
;
}
}
@keyframes
spin
{
@keyframes
spin
{
to
{
to
{
//
transform
:
rotateX
(
0deg
)
rotateY
(
360deg
);
//
transform
:
rotateX
(
0deg
)
rotateY
(
360deg
);
transform
:
rotateX
(
-6deg
)
rotateY
(
360deg
);
transform
:
rotateX
(
-6deg
)
rotateY
(
360deg
);
}
}
}
}
//
ul
:hover
{
//
ul
:hover
{
//
animation-play-state
:
paused
;
//
animation-play-state
:
paused
;
//
}
//
}
li
{
li
{
position
:
absolute
;
position
:
absolute
;
width
:
260px
;
width
:
260px
;
height
:
208px
;
height
:
208px
;
top
:
120px
;
top
:
120px
;
left
:
0
;
left
:
0
;
background
:
url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png)
;
background
:
url(../../../assets/images/viewEntireLifecycleOfCar/horseRaceLampItemBg.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
li
:nth-child
(
1
)
{
li
:nth-child
(
1
)
{
transform
:
translateZ
(
600px
);
transform
:
translateZ
(
600px
);
}
}
li
:nth-child
(
2
)
{
li
:nth-child
(
2
)
{
transform
:
translateZ
(
-600px
)
rotateY
(
180deg
);
transform
:
translateZ
(
-600px
)
rotateY
(
180deg
);
//
transform
:
translateZ
(
-600px
)
rotateY
(
180deg
);
//
transform
:
translateZ
(
-600px
)
rotateY
(
180deg
);
//
transform
:
rotateY
(
51.4deg
)
translateZ
(
600px
);
//
transform
:
rotateY
(
51.4deg
)
translateZ
(
600px
);
}
}
li
:nth-child
(
3
)
{
li
:nth-child
(
3
)
{
transform
:
rotateY
(
60deg
)
scaleX
(
-1
)
translateZ
(
-600px
);
transform
:
rotateY
(
60deg
)
scaleX
(
-1
)
translateZ
(
-600px
);
}
}
li
:nth-child
(
4
)
{
li
:nth-child
(
4
)
{
transform
:
rotateY
(
60deg
)
translateZ
(
600px
);
transform
:
rotateY
(
60deg
)
translateZ
(
600px
);
//
transform
:
rotateY
(
60deg
)
translateZ
(
600px
);
//
transform
:
rotateY
(
60deg
)
translateZ
(
600px
);
//
transform
:
rotateY
(
154.2deg
)
translateZ
(
600px
);
//
transform
:
rotateY
(
154.2deg
)
translateZ
(
600px
);
}
}
li
:nth-child
(
5
)
{
li
:nth-child
(
5
)
{
transform
:
rotateY
(
-60deg
)
translateZ
(
600px
);
transform
:
rotateY
(
-60deg
)
translateZ
(
600px
);
}
}
li
:nth-child
(
6
)
{
li
:nth-child
(
6
)
{
transform
:
rotateY
(
-60deg
)
scaleX
(
-1
)
translateZ
(
-600px
);
transform
:
rotateY
(
-60deg
)
scaleX
(
-1
)
translateZ
(
-600px
);
//
transform
:
rotateY
(
-60deg
)
translateZ
(
600px
);
//
transform
:
rotateY
(
-60deg
)
translateZ
(
600px
);
}
}
</
style
>
</
style
>
src/views/lifeSceneDataPage/components/AIMerchant.vue
View file @
2d111c8
<!--
<!--
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2024-07-09 10:35:58
* @Date: 2024-07-09 10:35:58
* @LastEditors:
huyue
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
4-07-10 14:16:38
* @LastEditTime: 202
5-02-13 14:50:49
-->
-->
<
template
>
<
template
>
<div
class=
"AI-box"
>
<div
class=
"AI-box"
>
<BoxTitle
:title=
"'AI对话调用次数及覆盖门店'"
:fontSize=
"1
8
"
></BoxTitle>
<BoxTitle
:title=
"'AI对话调用次数及覆盖门店'"
:fontSize=
"1
5
"
></BoxTitle>
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
<BarLineChart
ref=
"AITalkRef"
height=
"1
5
.83vh"
domId=
"AITalk"
:dataList
.
sync=
"AIBarLineData"
></BarLineChart>
<BarLineChart
ref=
"AITalkRef"
height=
"1
6
.83vh"
domId=
"AITalk"
:dataList
.
sync=
"AIBarLineData"
></BarLineChart>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/lifeSceneDataPage/components/ActivityRate.vue
View file @
2d111c8
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-01-26 16:23:12
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:10:27
* @FilePath: \glsk-data-view-scene\src\views\lifeSceneDataPage\components\ActivityRate.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<
template
>
<div
class=
"rate-box"
>
<div
class=
"rate-box"
>
<BoxTitle
:title=
"'各活动类型占比'"
:fontSize=
"16"
></BoxTitle>
<BoxTitle
:title=
"'各活动类型占比'"
:fontSize=
"14"
></BoxTitle>
<pie-chart
:id=
"chart.id"
:keys=
"chart.keys"
:list=
"activityListData"
:formatter=
"'total'"
:formatterName=
"'累计营销活动'"
:formtUnit=
"'场'"
:height=
"chart.height"
:colors=
"chart.colors"
></pie-chart>
<pie-chart
:id=
"chart.id"
:keys=
"chart.keys"
:list=
"activityListData"
:formatter=
"'total'"
:formatterName=
"'累计营销活动'"
:formtUnit=
"'场'"
:height=
"chart.height"
:colors=
"chart.colors"
></pie-chart>
<Legend
class=
"legend"
:list=
"activityListData"
:legentList=
"legentList"
:colors=
"chart.colors"
></Legend>
<Legend
class=
"legend"
:list=
"activityListData"
:legentList=
"legentList"
:colors=
"chart.colors"
></Legend>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
activityListData
}
from
"../const/index"
import
{
activityListData
}
from
'../const/index'
export
default
{
export
default
{
name
:
'ActivityRate'
,
name
:
'ActivityRate'
,
...
@@ -51,8 +68,8 @@ export default {
...
@@ -51,8 +68,8 @@ export default {
width
:
15vw
;
width
:
15vw
;
height
:
34.23vh
;
height
:
34.23vh
;
background-image
:
url(../../../assets/images/rate-bg.png)
;
background-image
:
url(../../../assets/images/rate-bg.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding
:
3.61vh
1.59vw
2.69vh
1.04vw
;
padding
:
3.61vh
1.59vw
2.69vh
1.04vw
;
}
}
.legend
{
.legend
{
margin-top
:
2vh
;
margin-top
:
2vh
;
...
...
src/views/lifeSceneDataPage/components/BarLineOptions.js
View file @
2d111c8
...
@@ -39,8 +39,8 @@ function getBarLineOptions(obj) {
...
@@ -39,8 +39,8 @@ function getBarLineOptions(obj) {
],
],
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
right
:
'
2
%'
,
right
:
'
0
%'
,
top
:
'2
0
%'
,
top
:
'2
5
%'
,
bottom
:
'6%'
,
bottom
:
'6%'
,
containLabel
:
true
containLabel
:
true
},
},
...
@@ -53,27 +53,28 @@ function getBarLineOptions(obj) {
...
@@ -53,27 +53,28 @@ function getBarLineOptions(obj) {
show
:
true
,
show
:
true
,
position
:
'top'
,
position
:
'top'
,
color
:
'#fff'
,
color
:
'#fff'
,
formatter
:
(
params
)
=>
{
formatter
:
params
=>
{
return
utils
.
numAddSymbol
(
params
.
value
)
return
utils
.
numAddSymbol
(
params
.
value
)
}
}
},
},
itemStyle
:
{
itemStyle
:
{
barBorderRadius
:
[
2
,
2
,
0
,
0
],
// 柱体圆角
barBorderRadius
:
[
2
,
2
,
0
,
0
],
// 柱体圆角
color
:
function
(
params
)
{
color
:
function
(
params
)
{
return
new
echarts
.
graphic
.
LinearGradient
(
return
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
0
,
0
,
0
,
1
,
[{
// 代表渐变色从正上方开始
{
// 代表渐变色从正上方开始
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
color
:
'#00C8FF'
color
:
'#00C8FF'
},
// 柱图渐变色
},
// 柱图渐变色
// {
// {
// offset: 0.5, // 指100%处的颜色
// offset: 0.5, // 指100%处的颜色
// color: '#223FA9'
// color: '#223FA9'
// },
// },
{
{
offset
:
1
,
// 指100%处的颜色
offset
:
1
,
// 指100%处的颜色
color
:
'#0069F2'
color
:
'#0069F2'
}
]
}
)
]
)
}
}
}
}
},
},
...
...
src/views/lifeSceneDataPage/components/BigModuleMarketing.vue
View file @
2d111c8
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
* @Description: 右下
* @Description: 右下
* @Author: huyue
* @Author: huyue
* @Date: 2024-01-26 21:05:56
* @Date: 2024-01-26 21:05:56
* @LastEditors:
huyue
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
4-07-12 10:47:23
* @LastEditTime: 202
5-02-13 14:12:54
-->
-->
<
template
>
<
template
>
<div
class=
"big-module-marketing-box"
@
click=
"openDia"
>
<div
class=
"big-module-marketing-box"
@
click=
"openDia"
>
<BoxTitle
:title=
"'基于大模型生成营销活动话术'"
:textAlign=
"'center'"
class=
"top-title"
:fontSize=
"
20
"
></BoxTitle>
<BoxTitle
:title=
"'基于大模型生成营销活动话术'"
:textAlign=
"'center'"
class=
"top-title"
:fontSize=
"
12
"
></BoxTitle>
<div>
基于大模型能力,快速生成个性化的活动标题、营销文案和活动海报,提升门店营销效率。
</div>
<div>
基于大模型能力,快速生成个性化的活动标题、营销文案和活动海报,提升门店营销效率。
</div>
<div
v-show=
"isLoading"
class=
"loadding"
>
<div
v-show=
"isLoading"
class=
"loadding"
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
console
.
log
(
111
)
console
.
log
(
111
)
},
},
closeDialog
()
{
closeDialog
()
{
console
.
log
(
7777777
)
;
console
.
log
(
7777777
)
this
.
dialogShow
=
false
this
.
dialogShow
=
false
}
}
},
},
...
@@ -123,6 +123,7 @@ export default {
...
@@ -123,6 +123,7 @@ export default {
margin-top
:
1.4vh
;
margin-top
:
1.4vh
;
.top-title
{
.top-title
{
margin-bottom
:
1.93vh
;
margin-bottom
:
1.93vh
;
padding-top
:
15px
;
}
}
img
{
img
{
width
:
19.33vw
;
width
:
19.33vw
;
...
...
src/views/lifeSceneDataPage/components/BigModuleTrend.vue
View file @
2d111c8
<!--
<!--
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2024-07-09 10:35:58
* @Date: 2024-07-09 10:35:58
* @LastEditors:
huyue
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
4-07-10 15:44:05
* @LastEditTime: 202
5-02-13 14:10:06
-->
-->
<
template
>
<
template
>
<div
class=
"big-module-box"
>
<div
class=
"big-module-box"
>
<BoxTitle
:title=
"'使用大模型创建活动的趋势'"
:fontSize=
"1
6
"
></BoxTitle>
<BoxTitle
:title=
"'使用大模型创建活动的趋势'"
:fontSize=
"1
4
"
></BoxTitle>
<BarChart
class=
"bar-chart"
ref=
"bigModuleChartRef"
:height=
"'25.83vh'"
domId=
"bigModuleChart"
:dataList
.
sync=
"bigModuleChartDataList"
></BarChart>
<BarChart
class=
"bar-chart"
ref=
"bigModuleChartRef"
:height=
"'25.83vh'"
domId=
"bigModuleChart"
:dataList
.
sync=
"bigModuleChartDataList"
></BarChart>
</div>
</div>
</
template
>
</
template
>
...
@@ -25,7 +25,7 @@ export default {
...
@@ -25,7 +25,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
_this
=
this
;
let
_this
=
this
_this
.
$nextTick
(
function
()
{
_this
.
$nextTick
(
function
()
{
_this
.
$refs
.
bigModuleChartRef
.
drawBar
()
_this
.
$refs
.
bigModuleChartRef
.
drawBar
()
})
})
...
@@ -41,7 +41,7 @@ export default {
...
@@ -41,7 +41,7 @@ export default {
width
:
15vw
;
width
:
15vw
;
height
:
34.23vh
;
height
:
34.23vh
;
background-image
:
url(../../../assets/images/big-module-bg.png)
;
background-image
:
url(../../../assets/images/big-module-bg.png)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding
:
3.61vh
1.59vw
5.93vh
0.78vw
;
padding
:
3.61vh
1.59vw
5.93vh
0.78vw
;
}
}
</
style
>
</
style
>
src/views/lifeSceneDataPage/components/HotWords.vue
View file @
2d111c8
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
* @Description: 3D
* @Description: 3D
* @Author: huyue
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @Date: 2024-01-26 11:36:05
* @LastEditors:
huyue
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
4-07-10 10:43:14
* @LastEditTime: 202
5-02-13 14:09:50
-->
-->
<
template
>
<
template
>
<div
class=
"hot-box"
>
<div
class=
"hot-box"
>
<BoxTitle
class=
"hot-title"
:title=
"'提问热词'"
:fontSize=
"1
6
"
></BoxTitle>
<BoxTitle
class=
"hot-title"
:title=
"'提问热词'"
:fontSize=
"1
4
"
></BoxTitle>
<div
class=
"tagcloud"
></div>
<div
class=
"tagcloud"
></div>
</div>
</div>
</
template
>
</
template
>
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
}
}
&
::after
{
&
::after
{
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
width
:
0.73vw
;
width
:
0.73vw
;
height
:
2.04vh
;
height
:
2.04vh
;
position
:
absolute
;
position
:
absolute
;
...
@@ -84,8 +84,8 @@ export default {
...
@@ -84,8 +84,8 @@ export default {
span
{
span
{
font-size
:
10px
;
font-size
:
10px
;
color
:
#5894
FF
;
color
:
#5894
ff
;
background-image
:
-webkit-linear-gradient
(
left
,
#d8ffed
,
#53
FAFF
);
background-image
:
-webkit-linear-gradient
(
left
,
#d8ffed
,
#53
faff
);
-webkit-background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
-webkit-text-fill-color
:
transparent
;
}
}
...
...
src/views/lifeSceneDataPage/components/NearThread.vue
View file @
2d111c8
<!--
<!--
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @Date: 2024-01-26 11:36:05
* @LastEditors:
huyue
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditTime: 202
4-07-10 15:14:45
* @LastEditTime: 202
5-02-13 14:09:11
-->
-->
<
template
>
<
template
>
<div
class=
"near-thread-box"
>
<div
class=
"near-thread-box"
>
<BoxTitle
:title=
"'近12个月的线索推送情况'"
:fontSize=
"1
8
"
></BoxTitle>
<BoxTitle
:title=
"'近12个月的线索推送情况'"
:fontSize=
"1
5
"
></BoxTitle>
<!--
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
-->
<!--
<img
class=
"bottom-line"
src=
"@/assets/images/bottomLine.png"
alt=
""
/>
-->
<BarChart
ref=
"nearThreadChartRef"
:height=
"'28.77vh'"
domId=
"nearThreadChart"
:dataList
.
sync=
"nearThreadDataList"
></BarChart>
<BarChart
ref=
"nearThreadChartRef"
:height=
"'28.77vh'"
domId=
"nearThreadChart"
:dataList
.
sync=
"nearThreadDataList"
></BarChart>
</div>
</div>
...
@@ -26,8 +26,8 @@ export default {
...
@@ -26,8 +26,8 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
_this
=
this
;
let
_this
=
this
_this
.
$nextTick
(
function
()
{
_this
.
$nextTick
(
function
()
{
_this
.
$refs
.
nearThreadChartRef
.
drawBar
()
_this
.
$refs
.
nearThreadChartRef
.
drawBar
()
})
})
},
},
...
...
src/views/newOperational/components/options.js
View file @
2d111c8
/*
/*
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:46:24
* @Date: 2022-10-25 10:46:24
* @LastEditors: huyue
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-09-23 11:37:42
* @LastEditTime: 2025-02-13 14:42:55
* @FilePath: \dj-data-view\src\components\barOptions.js
* @FilePath: \dj-data-view\src\components\barOptions.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
utils
from
'../../../utils/util'
import
utils
from
'../../../utils/util'
function
getBarOptions
(
obj
,
colorList
)
{
function
getBarOptions
(
obj
,
colorList
)
{
const
{
analysisList
,
rotate
}
=
obj
const
{
analysisList
,
rotate
}
=
obj
const
num
=
analysisList
.
map
(
item
=>
item
.
ratio
*
100
)
const
num
=
analysisList
.
map
(
item
=>
item
.
ratio
*
100
)
const
name
=
analysisList
.
map
(
item
=>
item
.
name
)
const
name
=
analysisList
.
map
(
item
=>
item
.
name
)
var
options
=
{
var
options
=
{
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
axisLabel
:
{
axisLabel
:
{
color
:
'#fff'
,
color
:
'#fff'
,
fontSize
:
'0.72em'
fontSize
:
'0.72em'
},
},
splitLine
:
{
splitLine
:
{
show
:
false
show
:
false
},
},
axisTick
:
{
axisTick
:
{
show
:
false
show
:
false
},
},
axisLine
:
{
axisLine
:
{
show
:
false
show
:
false
},
},
data
:
name
data
:
name
},
},
grid
:
{
grid
:
{
left
:
'6%'
,
left
:
'6%'
,
right
:
'6%'
,
right
:
'6%'
,
top
:
'6%'
,
top
:
'6%'
,
bottom
:
'4%'
,
bottom
:
'4%'
,
// bottom: obj.rotate ? '4%' : '12%',
// bottom: obj.rotate ? '4%' : '12%',
containLabel
:
true
containLabel
:
true
},
},
yAxis
:
{
yAxis
:
{
type
:
'value'
,
type
:
'value'
,
splitLine
:
{
splitLine
:
{
lineStyle
:
{
lineStyle
:
{
color
:
'#2F314F'
color
:
'#2F314F'
}
}
},
},
axisLabel
:
{
axisLabel
:
{
color
:
'#fff'
,
color
:
'#fff'
,
fontSize
:
'0.75em'
,
fontSize
:
'0.75em'
,
formatter
:
'{value}%'
formatter
:
'{value}%'
},
},
splitNumber
:
4
splitNumber
:
4
},
},
series
:
[
series
:
[
{
{
type
:
'bar'
,
type
:
'bar'
,
symbol
:
'circle'
,
symbol
:
'circle'
,
backgroundStyle
:
{
backgroundStyle
:
{
color
:
'rgba(36, 74, 243, 0.39)'
color
:
'rgba(36, 74, 243, 0.39)'
},
},
itemStyle
:
{
itemStyle
:
{
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
color
:
function
(
params
)
{
color
:
function
(
params
)
{
// var colorItem = []
// var colorItem = []
return
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
return
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
{
{
// 代表渐变色从正上方开始
// 代表渐变色从正上方开始
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
color
:
colorList
[
0
]
color
:
colorList
[
0
]
},
// 柱图渐变色
},
// 柱图渐变色
{
{
offset
:
0.5
,
// 指100%处的颜色
offset
:
0.5
,
// 指100%处的颜色
color
:
colorList
[
1
]
color
:
colorList
[
1
]
},
},
{
{
offset
:
1
,
// 指100%处的颜色
offset
:
1
,
// 指100%处的颜色
color
:
colorList
[
2
]
color
:
colorList
[
2
]
}
}
])
])
}
}
},
},
barWidth
:
'35%'
,
barWidth
:
'35%'
,
data
:
num
data
:
num
}
}
]
]
}
}
return
options
return
options
}
}
function
getBarReverseOptions
(
obj
,
colorList
)
{
function
getBarReverseOptions
(
obj
,
colorList
)
{
const
{
analysisList
,
ValueAnalysis
}
=
obj
const
{
analysisList
,
ValueAnalysis
}
=
obj
// const value = Object.values(analysisList)
// const value = Object.values(analysisList)
const
entries
=
Object
.
entries
(
analysisList
)
const
entries
=
Object
.
entries
(
analysisList
)
ValueAnalysis
.
forEach
(
sis
=>
{
ValueAnalysis
.
forEach
(
sis
=>
{
entries
.
forEach
(
key
=>
{
entries
.
forEach
(
key
=>
{
if
(
sis
.
name
==
key
[
0
])
{
if
(
sis
.
name
==
key
[
0
])
{
sis
.
value
=
key
[
1
]
sis
.
value
=
key
[
1
]
}
}
})
})
})
})
const
value
=
utils
.
deepClone
(
ValueAnalysis
).
sort
((
a
,
b
)
=>
b
.
order
-
a
.
order
)
const
value
=
utils
.
deepClone
(
ValueAnalysis
).
sort
((
a
,
b
)
=>
b
.
order
-
a
.
order
)
var
options
=
{
var
options
=
{
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
trigger
:
'axis'
,
showContent
:
false
,
showContent
:
false
,
axisPointer
:
{
axisPointer
:
{
type
:
'shadow'
,
type
:
'shadow'
,
shadowStyle
:
{
shadowStyle
:
{
color
:
'rgba(36, 74, 243, 0.4)'
color
:
'rgba(36, 74, 243, 0.4)'
}
}
},
},
borderWidth
:
0
,
borderWidth
:
0
,
backgroundColor
:
'rgba(68,68,68,0.80)'
,
backgroundColor
:
'rgba(68,68,68,0.80)'
,
confine
:
true
,
confine
:
true
,
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
,
color
:
'#ffffff'
,
fontSize
:
8
fontSize
:
6
}
}
},
},
yAxis
:
{
yAxis
:
{
type
:
'category'
,
type
:
'category'
,
axisLabel
:
{
axisLabel
:
{
color
:
'#ccc'
,
color
:
'#ccc'
,
fontSize
:
'0.7em'
fontSize
:
'0.6em'
},
},
splitLine
:
{
splitLine
:
{
show
:
false
show
:
false
},
},
axisTick
:
{
axisTick
:
{
show
:
false
show
:
false
},
},
axisLine
:
{
axisLine
:
{
show
:
false
show
:
false
},
},
data
:
value
.
map
(
item
=>
item
.
label
)
data
:
value
.
map
(
item
=>
item
.
label
)
},
},
grid
:
{
grid
:
{
left
:
'8%'
,
left
:
'8%'
,
right
:
'0%'
,
right
:
'0%'
,
top
:
'0%'
,
top
:
'0%'
,
bottom
:
'0%'
,
bottom
:
'0%'
,
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
{
xAxis
:
{
nameGap
:
30
,
nameGap
:
30
,
type
:
'value'
,
type
:
'value'
,
splitLine
:
{
splitLine
:
{
show
:
false
show
:
false
},
},
axisLabel
:
{
axisLabel
:
{
show
:
false
show
:
false
},
},
splitNumber
:
4
splitNumber
:
4
},
},
series
:
[
series
:
[
{
{
type
:
'bar'
,
type
:
'bar'
,
symbol
:
'circle'
,
symbol
:
'circle'
,
backgroundStyle
:
{
backgroundStyle
:
{
color
:
'#6578FF'
color
:
'#6578FF'
},
},
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
label
:
{
label
:
{
show
:
true
,
show
:
true
,
position
:
'center'
,
position
:
'center'
,
textStyle
:
{
textStyle
:
{
fontSize
:
10
,
fontSize
:
10
,
color
:
'#fff'
,
color
:
'#fff'
,
height
:
16
,
height
:
16
,
padding
:
[
0
,
2
,
2
,
4
],
padding
:
[
0
,
2
,
2
,
4
],
lineHeight
:
16
lineHeight
:
16
}
}
},
},
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
color
:
function
(
params
)
{
color
:
function
(
params
)
{
// var colorItem = []
// var colorItem = []
return
{
return
{
colorStops
:
[{
colorStops
:
[
offset
:
0.3
,
// 颜色的开始位置
{
color
:
colorList
[
0
]
// 0% 处的颜色
offset
:
0.3
,
// 颜色的开始位置
},
color
:
colorList
[
0
]
// 0% 处的颜色
{
},
offset
:
0.6
,
// 颜色的结束位置
{
color
:
colorList
[
1
]
// 100% 处的颜色
offset
:
0.6
,
// 颜色的结束位置
}]
color
:
colorList
[
1
]
// 100% 处的颜色
}
}
}
]
}
}
},
}
data
:
value
.
map
(
item
=>
item
.
value
)
}
}
},
]
data
:
value
.
map
(
item
=>
item
.
value
)
}
}
return
options
]
}
}
function
getBarReverseOptions1
(
obj
,
colorList
)
{
return
options
const
{
analysisList
}
=
obj
}
const
value
=
utils
.
deepClone
(
analysisList
)
function
getBarReverseOptions1
(
obj
,
colorList
)
{
var
options
=
{
const
{
analysisList
}
=
obj
tooltip
:
{
const
value
=
utils
.
deepClone
(
analysisList
)
trigger
:
'axis'
,
var
options
=
{
showContent
:
false
,
tooltip
:
{
axisPointer
:
{
trigger
:
'axis'
,
type
:
'shadow'
,
showContent
:
false
,
shadowStyle
:
{
axisPointer
:
{
color
:
'rgba(36, 74, 243, 0.4)'
type
:
'shadow'
,
}
shadowStyle
:
{
},
color
:
'rgba(36, 74, 243, 0.4)'
borderWidth
:
0
,
}
backgroundColor
:
'rgba(68,68,68,0.80)'
,
},
confine
:
true
,
borderWidth
:
0
,
textStyle
:
{
backgroundColor
:
'rgba(68,68,68,0.80)'
,
color
:
'#ffffff'
,
confine
:
true
,
fontSize
:
8
textStyle
:
{
}
color
:
'#ffffff'
,
},
fontSize
:
6
yAxis
:
{
}
type
:
'category'
,
},
axisLabel
:
{
yAxis
:
{
color
:
'#ccc'
,
type
:
'category'
,
fontSize
:
'0.7em'
axisLabel
:
{
},
color
:
'#ccc'
,
splitLine
:
{
fontSize
:
'0.7em'
show
:
false
},
},
splitLine
:
{
axisTick
:
{
show
:
false
show
:
false
},
},
axisTick
:
{
axisLine
:
{
show
:
false
show
:
false
},
},
axisLine
:
{
data
:
value
.
map
(
item
=>
item
.
label
)
show
:
false
},
},
grid
:
{
data
:
value
.
map
(
item
=>
item
.
label
)
left
:
'10%'
,
},
right
:
'0%'
,
grid
:
{
top
:
'0%'
,
left
:
'10%'
,
bottom
:
'0%'
,
right
:
'0%'
,
containLabel
:
true
top
:
'0%'
,
},
bottom
:
'0%'
,
xAxis
:
{
containLabel
:
true
nameGap
:
30
,
},
type
:
'value'
,
xAxis
:
{
splitLine
:
{
nameGap
:
30
,
show
:
false
type
:
'value'
,
},
splitLine
:
{
axisLabel
:
{
show
:
false
show
:
false
},
},
axisLabel
:
{
splitNumber
:
4
show
:
false
},
},
series
:
[
splitNumber
:
4
{
},
type
:
'bar'
,
series
:
[
symbol
:
'circle'
,
{
backgroundStyle
:
{
type
:
'bar'
,
color
:
'#6578FF'
symbol
:
'circle'
,
},
backgroundStyle
:
{
itemStyle
:
{
color
:
'#6578FF'
normal
:
{
},
label
:
{
itemStyle
:
{
show
:
true
,
normal
:
{
position
:
'center'
,
label
:
{
textStyle
:
{
show
:
true
,
fontSize
:
10
,
position
:
'center'
,
color
:
'#fff'
,
textStyle
:
{
height
:
16
,
fontSize
:
10
,
padding
:
[
0
,
2
,
2
,
4
],
color
:
'#fff'
,
lineHeight
:
16
height
:
16
,
},
padding
:
[
0
,
2
,
2
,
4
],
formatter
:
function
(
params
)
{
lineHeight
:
16
return
params
.
value
+
' '
+
params
.
data
.
ratio
+
'%'
},
}
formatter
:
function
(
params
)
{
},
return
params
.
value
+
' '
+
params
.
data
.
ratio
+
'%'
// barBorderRadius: [0, 2, 2, 0], // 柱体圆角
}
color
:
function
(
params
)
{
},
// var colorItem = []
// barBorderRadius: [0, 2, 2, 0], // 柱体圆角
return
{
color
:
function
(
params
)
{
colorStops
:
[{
// var colorItem = []
offset
:
0.3
,
// 颜色的开始位置
return
{
color
:
colorList
[
0
]
// 0% 处的颜色
colorStops
:
[
},
{
{
offset
:
0.3
,
// 颜色的开始位置
offset
:
0.6
,
// 颜色的结束位置
color
:
colorList
[
0
]
// 0% 处的颜色
color
:
colorList
[
1
]
// 100% 处的颜色
},
}]
{
}
offset
:
0.6
,
// 颜色的结束位置
}
color
:
colorList
[
1
]
// 100% 处的颜色
}
}
},
]
data
:
value
}
}
}
]
}
}
},
return
options
data
:
value
}
}
function
getLineOptions
(
obj
)
{
]
const
{
dataList
,
name
}
=
obj
}
const
statDate
=
dataList
.
map
(
item
=>
item
.
statDate
)
return
options
const
num
=
dataList
.
map
(
item
=>
item
.
num
)
}
var
options
=
{
function
getLineOptions
(
obj
)
{
tooltip
:
{
const
{
dataList
,
name
}
=
obj
trigger
:
'axis'
,
const
statDate
=
dataList
.
map
(
item
=>
item
.
statDate
)
// axisPointer: {
const
num
=
dataList
.
map
(
item
=>
item
.
num
)
// lineStyle: {
var
options
=
{
// type: 'solid'
tooltip
:
{
// }
trigger
:
'axis'
,
// },
// axisPointer: {
// padding: 5,
// lineStyle: {
// borderWidth: 0.5,
// type: 'solid'
// backgroundColor: '#161C60',
// }
// borderRadius: 4,
// },
// borderColor: '#089FF1',
// padding: 5,
// textStyle: {
// borderWidth: 0.5,
// color: 'color: #FFFFFF',
// backgroundColor: '#161C60',
// fontSize: 10
// borderRadius: 4,
// },
// borderColor: '#089FF1',
borderWidth
:
0
,
// textStyle: {
padding
:
0
,
// color: 'color: #FFFFFF',
formatter
:
function
(
item
)
{
// fontSize: 10
return
`<div style="backdrop-filter: blur(4px);background-color: #051526;border: 2px solid;border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;padding: 10px;"><div style="color: #FFFFFF">
${
name
}
:
${
utils
.
numAddSymbol
(
item
[
0
].
value
)}
</div></div>`
// },
}
borderWidth
:
0
,
},
padding
:
0
,
xAxis
:
{
formatter
:
function
(
item
)
{
type
:
'category'
,
return
`<div style="backdrop-filter: blur(4px);background-color: #051526;border: 2px solid;border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;padding: 10px;"><div style="color: #FFFFFF">
${
name
}
:
${
utils
.
numAddSymbol
(
axisLabel
:
{
item
[
0
].
value
color
:
'#fff'
,
)}
</div></div>`
fontSize
:
'0.7em'
,
}
rotate
:
30
},
},
xAxis
:
{
splitLine
:
{
type
:
'category'
,
show
:
false
axisLabel
:
{
},
color
:
'#fff'
,
axisTick
:
{
fontSize
:
'0.7em'
,
show
:
false
rotate
:
30
},
},
axisLine
:
{
splitLine
:
{
show
:
false
show
:
false
},
},
data
:
statDate
axisTick
:
{
},
show
:
false
grid
:
{
},
left
:
'6%'
,
axisLine
:
{
right
:
'6%'
,
show
:
false
top
:
'14%'
,
},
bottom
:
'3%'
,
data
:
statDate
containLabel
:
true
},
},
grid
:
{
yAxis
:
{
left
:
'6%'
,
nameGap
:
30
,
right
:
'6%'
,
type
:
'value'
,
top
:
'14%'
,
splitLine
:
{
bottom
:
'3%'
,
lineStyle
:
{
containLabel
:
true
color
:
'#2F314F'
},
}
yAxis
:
{
},
nameGap
:
30
,
axisLabel
:
{
type
:
'value'
,
color
:
'#ccc'
,
splitLine
:
{
fontSize
:
'0.7em'
lineStyle
:
{
},
color
:
'#2F314F'
splitNumber
:
4
}
},
},
series
:
[
axisLabel
:
{
{
color
:
'#ccc'
,
type
:
'line'
,
fontSize
:
'0.7em'
symbol
:
'circle'
,
},
itemStyle
:
{
splitNumber
:
4
color
:
'#56FEFE'
},
},
series
:
[
// 平滑曲线
{
smooth
:
true
,
type
:
'line'
,
showSymbol
:
false
,
symbol
:
'circle'
,
// 折线背景色
itemStyle
:
{
areaStyle
:
{
color
:
'#56FEFE'
color
:
{
},
type
:
'linear'
,
// 平滑曲线
x
:
0
,
smooth
:
true
,
y
:
0
,
showSymbol
:
false
,
x2
:
0
,
// 折线背景色
y2
:
1
,
areaStyle
:
{
colorStops
:
[
color
:
{
{
type
:
'linear'
,
offset
:
0
,
x
:
0
,
color
:
'rgba(86, 254, 254, .24)'
y
:
0
,
},
x2
:
0
,
{
y2
:
1
,
offset
:
1
,
colorStops
:
[
color
:
'rgba(86, 254, 254, 0.01)'
{
}
offset
:
0
,
]
color
:
'rgba(86, 254, 254, .24)'
}
},
},
{
data
:
num
offset
:
1
,
}
color
:
'rgba(86, 254, 254, 0.01)'
]
}
}
]
return
options
}
}
},
function
lineAndBarOptions
(
list
)
{
data
:
num
const
statDate
=
list
.
map
(
item
=>
item
.
statDate
)
}
const
totalNum
=
list
.
map
(
item
=>
item
.
totalNum
)
]
const
increNum
=
list
.
map
(
item
=>
item
.
increNum
)
}
var
options
=
{
return
options
tooltip
:
{
}
trigger
:
'axis'
,
function
lineAndBarOptions
(
list
)
{
borderWidth
:
0
,
const
statDate
=
list
.
map
(
item
=>
item
.
statDate
)
padding
:
0
,
const
totalNum
=
list
.
map
(
item
=>
item
.
totalNum
)
// axisPointer: {
const
increNum
=
list
.
map
(
item
=>
item
.
increNum
)
// lineStyle: {
var
options
=
{
// type: 'solid'
tooltip
:
{
// }
trigger
:
'axis'
,
// },
borderWidth
:
0
,
// padding: 5,
padding
:
0
,
// borderWidth: 1,
// axisPointer: {
backgroundColor
:
'transparent'
,
// lineStyle: {
// borderRadius: 4,
// type: 'solid'
// textStyle: {
// }
// color: 'rgba(255,255,255,1)',
// },
// fontSize: 10
// padding: 5,
// },
// borderWidth: 1,
formatter
:
function
(
item
)
{
backgroundColor
:
'transparent'
,
const
items
=
list
[
item
[
0
].
dataIndex
]
// borderRadius: 4,
return
`<div style="background-color: rgba(0, 0, 3, 0.8);font-size: 9px;border: 2px solid;border-image: linear-gradient(90deg, #01A4F9, #6DF5F9) 1;padding: 10px;border-radius: 4px;"><div style="display:flex;"><div style="color: #fff">当月总门店数:
${
utils
.
numAddSymbol
(
item
[
0
].
value
)}
<br>
// textStyle: {
当月新增:
${
utils
.
numAddSymbol
(
item
[
1
].
value
)}
<br>
// color: 'rgba(255,255,255,1)',
${
items
.
tongbi
?
`同比增长:
${
items
.
tongbi
}
%`
:
''
}
// fontSize: 10
</div>
// },
</div>`
formatter
:
function
(
item
)
{
}
const
items
=
list
[
item
[
0
].
dataIndex
]
},
return
`<div style="background-color: rgba(0, 0, 3, 0.8);font-size: 9px;border: 2px solid;border-image: linear-gradient(90deg, #01A4F9, #6DF5F9) 1;padding: 10px;border-radius: 4px;"><div style="display:flex;"><div style="color: #fff">当月总门店数:
${
utils
.
numAddSymbol
(
xAxis
:
[
item
[
0
].
value
{
)}
<br>
type
:
'category'
,
当月新增:
${
utils
.
numAddSymbol
(
item
[
1
].
value
)}
<br>
axisLabel
:
{
${
items
.
tongbi
?
`同比增长:
${
items
.
tongbi
}
%`
:
''
}
color
:
'#fff'
,
</div>
fontSize
:
'11px'
,
</div>`
margin
:
20
}
},
},
splitLine
:
{
xAxis
:
[
show
:
false
{
},
type
:
'category'
,
axisTick
:
{
axisLabel
:
{
show
:
false
color
:
'#fff'
,
},
fontSize
:
'11px'
,
axisLine
:
{
margin
:
20
show
:
false
},
},
splitLine
:
{
data
:
statDate
show
:
false
}
},
],
axisTick
:
{
grid
:
{
show
:
false
left
:
'3%'
,
},
right
:
'6%'
,
axisLine
:
{
top
:
'8%'
,
show
:
false
bottom
:
'5%'
,
},
containLabel
:
true
data
:
statDate
},
}
yAxis
:
[
],
{
grid
:
{
name
:
'bar'
,
left
:
'3%'
,
nameGap
:
30
,
right
:
'6%'
,
type
:
'value'
,
top
:
'8%'
,
splitLine
:
{
bottom
:
'5%'
,
lineStyle
:
{
containLabel
:
true
color
:
'#2F314F'
},
}
yAxis
:
[
},
{
axisLabel
:
{
name
:
'bar'
,
color
:
'#FFF'
nameGap
:
30
,
},
type
:
'value'
,
max
:
5000
,
splitLine
:
{
interval
:
1000
,
lineStyle
:
{
splitNumber
:
5
color
:
'#2F314F'
},
}
{
},
name
:
'line'
,
axisLabel
:
{
nameGap
:
30
,
color
:
'#FFF'
type
:
'value'
,
},
splitLine
:
{
max
:
5000
,
show
:
true
,
interval
:
1000
,
lineStyle
:
{
splitNumber
:
5
type
:
'dashed'
,
},
color
:
'#2F314F'
{
}
name
:
'line'
,
},
nameGap
:
30
,
axisLabel
:
{
type
:
'value'
,
color
:
'#FFF'
splitLine
:
{
},
show
:
true
,
max
:
200
,
lineStyle
:
{
interval
:
40
,
type
:
'dashed'
,
splitNumber
:
5
color
:
'#2F314F'
}
}
],
},
series
:
[
axisLabel
:
{
{
color
:
'#FFF'
name
:
'line'
,
},
type
:
'line'
,
max
:
200
,
symbol
:
'circle'
,
interval
:
40
,
// 平滑曲线
splitNumber
:
5
smooth
:
true
,
}
showSymbol
:
false
,
],
data
:
totalNum
,
series
:
[
itemStyle
:
{
{
color
:
'#56FEFE'
name
:
'line'
,
},
type
:
'line'
,
lineStyle
:
{
symbol
:
'circle'
,
width
:
1
// 平滑曲线
},
smooth
:
true
,
// 折线背景色
showSymbol
:
false
,
areaStyle
:
{
data
:
totalNum
,
color
:
{
itemStyle
:
{
type
:
'linear'
,
color
:
'#56FEFE'
x
:
0
,
},
y
:
0
,
lineStyle
:
{
x2
:
0
,
width
:
1
y2
:
1
,
},
colorStops
:
[
// 折线背景色
{
areaStyle
:
{
offset
:
0
,
color
:
{
color
:
'rgba(86, 254, 254, .24)'
type
:
'linear'
,
},
x
:
0
,
{
y
:
0
,
offset
:
1
,
x2
:
0
,
color
:
'rgba(86, 254, 254, 0.01)'
y2
:
1
,
}
colorStops
:
[
]
{
}
offset
:
0
,
}
color
:
'rgba(86, 254, 254, .24)'
},
},
{
{
name
:
'bar'
,
offset
:
1
,
type
:
'bar'
,
color
:
'rgba(86, 254, 254, 0.01)'
symbol
:
'circle'
,
}
backgroundStyle
:
{
]
color
:
'#6578FF'
}
},
}
yAxisIndex
:
1
,
},
barWidth
:
'24%'
,
{
data
:
increNum
,
name
:
'bar'
,
itemStyle
:
{
type
:
'bar'
,
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
symbol
:
'circle'
,
color
:
function
(
params
)
{
backgroundStyle
:
{
const
colorList
=
[
color
:
'#6578FF'
// ['#2AD191', '#00A89E', '#061422'],
},
[
'#00c7ff'
,
'#009cf8'
,
'#006af2'
],
yAxisIndex
:
1
,
[
'#00c7ff'
,
'#009cf8'
,
'#006af2'
]
barWidth
:
'24%'
,
]
data
:
increNum
,
var
colorItem
=
[]
itemStyle
:
{
colorItem
=
params
.
dataIndex
%
2
===
0
?
colorList
[
0
]
:
colorList
[
1
]
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
return
new
echarts
.
graphic
.
LinearGradient
(
color
:
function
(
params
)
{
0
,
0
,
0
,
1
,
[{
// 代表渐变色从正上方开始
const
colorList
=
[
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
// ['#2AD191', '#00A89E', '#061422'],
color
:
colorItem
[
0
]
[
'#00c7ff'
,
'#009cf8'
,
'#006af2'
],
},
// 柱图渐变色
[
'#00c7ff'
,
'#009cf8'
,
'#006af2'
]
{
]
offset
:
0.5
,
// 指100%处的颜色
var
colorItem
=
[]
color
:
colorItem
[
1
]
colorItem
=
params
.
dataIndex
%
2
===
0
?
colorList
[
0
]
:
colorList
[
1
]
},
return
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
{
{
offset
:
1
,
// 指100%处的颜色
// 代表渐变色从正上方开始
color
:
colorItem
[
2
]
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
}]
color
:
colorItem
[
0
]
)
},
// 柱图渐变色
}
{
}
offset
:
0.5
,
// 指100%处的颜色
}
color
:
colorItem
[
1
]
]
},
}
{
return
options
offset
:
1
,
// 指100%处的颜色
}
color
:
colorItem
[
2
]
export
{
getBarReverseOptions
,
getBarOptions
,
lineAndBarOptions
,
getLineOptions
,
getBarReverseOptions1
}
}
])
}
}
}
]
}
return
options
}
export
{
getBarReverseOptions
,
getBarOptions
,
lineAndBarOptions
,
getLineOptions
,
getBarReverseOptions1
}
src/views/videoPage/index.vue
View file @
2d111c8
...
@@ -93,7 +93,7 @@ export default {
...
@@ -93,7 +93,7 @@ export default {
//
border
:
4px
solid
rgba
(
18
,
117
,
248
,
0.5
);
//
border
:
4px
solid
rgba
(
18
,
117
,
248
,
0.5
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
//
margin
:
20px
calc
((
100vw
-
1560px
)
/
2
);
//
margin
:
20px
calc
((
100vw
-
1560px
)
/
2
);
margin
:
20px
auto
;
margin
:
20
0
px
auto
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
...
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