Commit 585141a8 authored by 沈翠玲's avatar 沈翠玲

数据大屏

parent d86b433a
...@@ -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: 50, barWidth: 40,
data: salvProValue.value data: salvProValue.value
}, },
{ {
name: '背景', name: '背景',
type: 'bar', type: 'bar',
barWidth: 50, barWidth: 40,
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;
......
...@@ -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: 50, barWidth: 40,
data: salvProValue.value data: salvProValue.value
}, },
{ {
name: '背景', name: '背景',
type: 'bar', type: 'bar',
barWidth: 50, barWidth: 40,
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,
} }
}, },
......
.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: #29fcff; color: #fff;
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: 44px; font-size: 58px;
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: #0574e83d; background: #0250ea;
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: #0574e83d; background: #0250ea;
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: #0574e83d; background: #0250ea;
.dataScreen-top, .dataScreen-top,
.dataScreen-center, .dataScreen-center,
.dataScreen-bottom { .dataScreen-bottom {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment