Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dangan_dataV
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4ec6ed16
authored
2025-07-17 13:55:52 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看版
1 parent
808d3b22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
5 deletions
src/viewsPc/vip/centerPage.vue
src/viewsPc/vip/centerPage.vue
View file @
4ec6ed1
...
...
@@ -326,8 +326,20 @@ async function handelGetYS004() {
name
:
v
.
type
==
2
?
"陆地"
:
'海上'
,
type
:
v
.
type
}
))
handelZhu4
(
listX
,
dataList
)
let
arr1
=
[]
let
arr2
=
[]
for
(
const
v
of
arr
)
{
if
(
v
.
type
==
2
)
{
arr2
.
push
(
290
)
arr1
.
push
(
null
)
}
else
{
arr1
.
push
(
150
)
arr2
.
push
(
null
)
}
}
if
(
arr2
.
length
>
0
)
arr2
.
push
(
290
)
if
(
arr1
.
length
>
0
)
arr1
.
unshift
(
150
)
handelZhu4
(
listX
,
dataList
,
arr1
,
arr2
)
}
async
function
handelGetYS005
()
{
...
...
@@ -1071,7 +1083,7 @@ const handelZhu3 = (row1, row2) => {
lineStyle
:
{
color
:
'#fff'
,
width
:
2
,
type
:
'solid'
type
:
'solid'
,
}
}
,
}
...
...
@@ -1161,7 +1173,7 @@ const handelZhu3 = (row1, row2) => {
chart33
.
setOption
(
option
)
// autoHover(chart33, option, 0, 2000)
}
const
handelZhu4
=
(
listX
,
dataList
)
=>
{
const
handelZhu4
=
(
listX
,
dataList
,
arr1
,
arr2
)
=>
{
chart44
=
echarts
.
init
(
zhuRef4
.
value
)
const
option
=
{
tooltip
:
{
...
...
@@ -1290,7 +1302,57 @@ const handelZhu4 = (listX, dataList) => {
}
,
barWidth
:
'30%'
,
}
,
{
type
:
'line'
,
smooth
:
false
,
lineStyle
:
{
width
:
1
}
,
showSymbol
:
false
,
areaStyle
:
{
opacity
:
0.2
,
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
//
{
// offset: 0,
// color: 'rgb(128, 255, 165)'
//
}
,
{
offset
:
0.3
,
color
:
'rgb(1, 191, 236)'
}
])
}
,
emphasis
:
{
focus
:
'series'
}
,
data
:
arr1
}
,
{
type
:
'line'
,
stack
:
'Total'
,
smooth
:
false
,
lineStyle
:
{
width
:
1
}
,
showSymbol
:
false
,
areaStyle
:
{
opacity
:
0.2
,
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[
{
offset
:
0
,
color
:
'rgba(21, 219, 203, 1)'
}
,
//
{
// offset: 0.3,
// color: 'rgb(77, 119, 255)'
//
}
])
}
,
emphasis
:
{
focus
:
'series'
}
,
data
:
arr2
}
,
]
}
chart44
.
setOption
(
option
)
...
...
Write
Preview
Styling with
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