Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
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
何远江
yishuju-ui
Commits
585141a8
Commit
585141a8
authored
Mar 24, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据大屏
parent
d86b433a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
27 deletions
+28
-27
AnnualUseChart.vue
src/views/data-screen/components/AnnualUseChart.vue
+7
-7
HotPlateChart.vue
src/views/data-screen/components/HotPlateChart.vue
+6
-6
index.scss
src/views/data-screen/index.scss
+15
-14
No files found.
src/views/data-screen/components/AnnualUseChart.vue
View file @
585141a8
...
@@ -112,10 +112,10 @@ const option = computed(() => {
...
@@ -112,10 +112,10 @@ const option = computed(() => {
// barBorderRadius: 30,
// barBorderRadius: 30,
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[{
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[{
offset
:
0
,
offset
:
0
,
color
:
'
rgb(57,89,255,1)
'
color
:
'
#0f56ec
'
},
{
},
{
offset
:
1
,
offset
:
1
,
color
:
'
rgb(46,200,207,1)
'
color
:
'
#e3edfd
'
}]),
}]),
},
},
},
},
...
@@ -125,25 +125,25 @@ const option = computed(() => {
...
@@ -125,25 +125,25 @@ const option = computed(() => {
show
:
true
,
show
:
true
,
position
:
[
0
,
'-24px'
],
position
:
[
0
,
'-24px'
],
textStyle
:
{
textStyle
:
{
fontSize
:
16
fontSize
:
20
},
},
formatter
:
function
(
a
,
b
)
{
formatter
:
function
(
a
,
b
)
{
return
a
.
name
return
a
.
name
}
}
}
}
},
},
barWidth
:
5
0
,
barWidth
:
4
0
,
data
:
salvProValue
.
value
data
:
salvProValue
.
value
},
},
{
{
name
:
'背景'
,
name
:
'背景'
,
type
:
'bar'
,
type
:
'bar'
,
barWidth
:
5
0
,
barWidth
:
4
0
,
barGap
:
'-100%'
,
barGap
:
'-100%'
,
data
:
salvProValue
.
value
.
map
(
v
=>
(
salvProValue
.
value
.
length
>
0
?
salvProValue
.
value
[
0
]
:
100
)),
data
:
salvProValue
.
value
.
map
(
v
=>
(
salvProValue
.
value
.
length
>
0
?
salvProValue
.
value
[
0
]
:
100
)),
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'#
142166
'
,
color
:
'#
6591f7
'
,
// barBorderRadius: 30,
// barBorderRadius: 30,
}
}
},
},
...
@@ -193,7 +193,7 @@ setInterval(() => {
...
@@ -193,7 +193,7 @@ setInterval(() => {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.echarts
{
.echarts
{
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
56px
);
height
:
calc
(
100%
);
}
}
.echarts-header
{
.echarts-header
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
src/views/data-screen/components/HotPlateChart.vue
View file @
585141a8
...
@@ -100,10 +100,10 @@ const option = computed(() => {
...
@@ -100,10 +100,10 @@ const option = computed(() => {
// barBorderRadius: 30,
// barBorderRadius: 30,
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[{
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[{
offset
:
0
,
offset
:
0
,
color
:
'
rgb(57,89,255,1)
'
color
:
'
#0f56ec
'
},
{
},
{
offset
:
1
,
offset
:
1
,
color
:
'
rgb(46,200,207,1)
'
color
:
'
#e3edfd
'
}]),
}]),
},
},
},
},
...
@@ -113,25 +113,25 @@ const option = computed(() => {
...
@@ -113,25 +113,25 @@ const option = computed(() => {
show
:
true
,
show
:
true
,
position
:
[
0
,
'-24px'
],
position
:
[
0
,
'-24px'
],
textStyle
:
{
textStyle
:
{
fontSize
:
16
fontSize
:
20
},
},
formatter
:
function
(
a
,
b
)
{
formatter
:
function
(
a
,
b
)
{
return
a
.
name
return
a
.
name
}
}
}
}
},
},
barWidth
:
5
0
,
barWidth
:
4
0
,
data
:
salvProValue
.
value
data
:
salvProValue
.
value
},
},
{
{
name
:
'背景'
,
name
:
'背景'
,
type
:
'bar'
,
type
:
'bar'
,
barWidth
:
5
0
,
barWidth
:
4
0
,
barGap
:
'-100%'
,
barGap
:
'-100%'
,
data
:
salvProValue
.
value
.
map
(
v
=>
100
),
data
:
salvProValue
.
value
.
map
(
v
=>
100
),
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'#
142166
'
,
color
:
'#
6591f7
'
,
// barBorderRadius: 30,
// barBorderRadius: 30,
}
}
},
},
...
...
src/views/data-screen/index.scss
View file @
585141a8
.dataScreen-container
{
.dataScreen-container
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#
2353a8
;
background
:
#
134ca9
;
.dataScreen-content
{
.dataScreen-content
{
position
:
fixed
;
position
:
fixed
;
top
:
50%
;
top
:
50%
;
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
font-family
:
YouSheBiaoTiHei
;
font-family
:
YouSheBiaoTiHei
;
font-size
:
32px
;
font-size
:
32px
;
line-height
:
78px
;
line-height
:
78px
;
color
:
#
05e8fe
;
color
:
#
fff
;
text-align
:
center
;
text-align
:
center
;
letter-spacing
:
4px
;
letter-spacing
:
4px
;
background
:
url("./images/dataScreen-header-center-bg.png")
no-repeat
;
background
:
url("./images/dataScreen-header-center-bg.png")
no-repeat
;
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
400
;
font-weight
:
400
;
line-height
:
42px
;
line-height
:
42px
;
color
:
#
29fc
ff
;
color
:
#
f
ff
;
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
font-size
:
17px
;
font-size
:
17px
;
font-weight
:
400
;
font-weight
:
400
;
line-height
:
38px
;
line-height
:
38px
;
color
:
#
05e8fe
;
color
:
#
fff
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
}
}
...
@@ -138,8 +138,9 @@
...
@@ -138,8 +138,9 @@
line-height
:
4px
;
line-height
:
4px
;
}
}
.number-value
{
.number-value
{
font-size
:
44
px
;
font-size
:
58
px
;
font-weight
:
600
;
font-weight
:
600
;
// font-family:YouSheBiaoTiHei;
}
}
}
}
.dataScreen-cb
{
.dataScreen-cb
{
...
@@ -147,12 +148,12 @@
...
@@ -147,12 +148,12 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
width
:
100%
;
height
:
252px
;
height
:
252px
;
background
:
#0
574e8
3d
;
background
:
#0
250ea
;
padding-top
:
54px
;
padding-top
:
54px
;
.tabs
{
.tabs
{
border-radius
:
5px
;
border-radius
:
5px
;
position
:
absolute
;
position
:
absolute
;
border
:
1px
solid
#
40daff
;
border
:
1px
solid
#
6591f7
;
right
:
3px
;
right
:
3px
;
top
:
3px
;
top
:
3px
;
color
:
#fff
;
color
:
#fff
;
...
@@ -160,9 +161,9 @@
...
@@ -160,9 +161,9 @@
overflow
:
hidden
;
overflow
:
hidden
;
.tab-item
{
.tab-item
{
padding
:
2px
20px
;
padding
:
2px
20px
;
border
:
1px
solid
#
40daff
;
border
:
1px
solid
#
6591f7
;
&
.active
{
&
.active
{
background
:
#
40daff
;
background
:
#
6591f7
;
}
}
}
}
}
}
...
@@ -171,9 +172,9 @@
...
@@ -171,9 +172,9 @@
color
:
#fff
;
color
:
#fff
;
width
:
250px
;
width
:
250px
;
.el-select
{
.el-select
{
--el-border-color
:
#
40daff
;
--el-border-color
:
#
6591f7
;
--el-color-primary
:
#
40daff
;
--el-color-primary
:
#
6591f7
;
--el-border-color-hover
:
#
40daff
;
--el-border-color-hover
:
#
6591f7
;
--el-fill-color-blank
:
transparent
;
--el-fill-color-blank
:
transparent
;
--el-text-color-regular
:
#fff
;
--el-text-color-regular
:
#fff
;
.el-select__wrapper
{
.el-select__wrapper
{
...
@@ -233,7 +234,7 @@
...
@@ -233,7 +234,7 @@
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-between
;
justify-content
:
space-between
;
width
:
500px
;
width
:
500px
;
background
:
#0
574e8
3d
;
background
:
#0
250ea
;
height
:
100%
;
height
:
100%
;
margin-right
:
40px
;
margin-right
:
40px
;
.dataScreen-top
,
.dataScreen-top
,
...
@@ -276,7 +277,7 @@
...
@@ -276,7 +277,7 @@
justify-content
:
space-between
;
justify-content
:
space-between
;
width
:
500px
;
width
:
500px
;
height
:
100%
;
height
:
100%
;
background
:
#0
574e8
3d
;
background
:
#0
250ea
;
.dataScreen-top
,
.dataScreen-top
,
.dataScreen-center
,
.dataScreen-center
,
.dataScreen-bottom
{
.dataScreen-bottom
{
...
...
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