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
feb56f72
authored
2025-04-29 09:39:54 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看板
1 parent
980e109f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
src/viewsPc/vip/rightPage.vue
src/viewsPc/vip/rightPage.vue
View file @
feb56f7
...
...
@@ -219,8 +219,8 @@ let color1 = {
type
:
'linear'
,
x
:
0
,
y
:
0
,
x2
:
1
,
y2
:
1
,
// 垂直渐变
colorStops
:
[
{
offset
:
0
,
color
:
'rgba(0, 162, 255, .
3
)'
},
// 顶部颜色
{
offset
:
1
,
color
:
'rgba(34, 117, 255, .
3
)'
}
// 底部颜色
{
offset
:
0
,
color
:
'rgba(0, 162, 255, .
4
)'
},
// 顶部颜色
{
offset
:
1
,
color
:
'rgba(34, 117, 255, .
4
)'
}
// 底部颜色
],
},
}
...
...
@@ -240,7 +240,7 @@ let color3 = {
x
:
0
,
y
:
0
,
x2
:
1
,
y2
:
1
,
// 垂直渐变
colorStops
:
[
{
offset
:
0
,
color
:
'rgba(0, 255, 190, .5)'
},
// 顶部颜色
{
offset
:
1
,
color
:
'rgba(8, 130, 160, .
3
)'
}
// 底部颜色
{
offset
:
1
,
color
:
'rgba(8, 130, 160, .
4
)'
}
// 底部颜色
],
},
}
...
...
@@ -301,7 +301,10 @@ async function handelGetYS007() {
})
arr3
.
push
(
val
.
EXERATIO
)
}
setA
(
list7Y
.
value
,
arr1
,
arr2
,
arr3
)
const
firstAbove
=
list7Y
.
value
.
find
(
v
=>
v
.
name
>=
90
);
setA
(
list7Y
.
value
,
arr1
,
arr2
,
arr3
,
firstAbove
.
value
)
}
...
...
@@ -330,7 +333,10 @@ function handelSelect7() {
})
arr3
.
push
(
val
.
EXERATIO
)
}
setA
(
list7Y
.
value
,
arr1
,
arr2
,
arr3
)
const
firstAbove
=
list7Y
.
value
.
find
(
v
=>
v
.
name
>=
90
);
setA
(
list7Y
.
value
,
arr1
,
arr2
,
arr3
,
firstAbove
.
value
)
}
async
function
handelGetYS008
()
{
...
...
@@ -415,8 +421,8 @@ const getA = () => {
}
const
setA
=
(
arrY
,
arr1
,
arr2
,
arr3
)
=>
{
console
.
log
(
arr1
,
arr2
)
const
setA
=
(
arrY
,
arr1
,
arr2
,
arr3
,
markLineName
)
=>
{
//
console.log(arr1, arr2)
chartA
=
echarts
.
init
(
zhuRef
.
value
)
const
option
=
{
...
...
@@ -573,7 +579,7 @@ const setA = (arrY, arr1, arr2, arr3) => {
data
:
[
{
name
:
''
,
yAxis
:
4
,
// 在Y轴150的位置画垂直线
yAxis
:
markLineName
,
// 在Y轴150的位置画垂直线
lineStyle
:
{
color
:
'rgba(255, 252, 40, 1)'
,
type
:
'dashed'
,
...
...
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