diff --git a/src/views/omScreen/components/header.vue b/src/views/omScreen/components/header.vue index dea8b3c..1521dc4 100644 --- a/src/views/omScreen/components/header.vue +++ b/src/views/omScreen/components/header.vue @@ -138,6 +138,7 @@ $vh_base: 1080; display: flex; align-items: center; gap: vw(20); + margin-bottom: vh(20); .header_left_img { width: vw(48); diff --git a/src/views/omScreen/components/leftPage.vue b/src/views/omScreen/components/leftPage.vue index b83d9ef..f600055 100644 --- a/src/views/omScreen/components/leftPage.vue +++ b/src/views/omScreen/components/leftPage.vue @@ -34,12 +34,14 @@ import { ref } from 'vue'; @import '@/views/omScreen/gis.scss'; .leftpageContainer { -margin-left: vw(20); + margin-left: vw(20); + .middleInfo { background: linear-gradient(135.47deg, rgba(21, 49, 58, 0.82) 0%, rgba(39, 85, 94, 0.5) 100%); + .middleInfoContainer { width: 100%; - height: vh(313); + height: vh(313); box-sizing: border-box; position: relative; background-size: 100% 100%; @@ -57,6 +59,7 @@ margin-left: vw(20); background: url('@/assets/projectLarge/xm-bg.png') center center no-repeat; background-size: cover; overflow-y: auto; + div { margin-left: vw(20); margin-bottom: vh(12); @@ -93,7 +96,9 @@ margin-left: vw(20); // 底部信息 .bottomInfo { - margin-top: vh(20); + margin-top: vh(20); + height: vh(580); + background: linear-gradient(135.47deg, rgba(21, 49, 58, 0.82) 0%, rgba(39, 85, 94, 0.5) 100%); } } \ No newline at end of file diff --git a/src/views/omScreen/components/options.ts b/src/views/omScreen/components/options.ts index 43ee24e..9ee0766 100644 --- a/src/views/omScreen/components/options.ts +++ b/src/views/omScreen/components/options.ts @@ -1,3 +1,5 @@ +import axios from "axios"; + export let option1 = { tooltip: { trigger: 'axis', @@ -39,18 +41,24 @@ export let option1 = { color: '#fff', fontSize: 12 }, - data: ['1月', '3月', '5月', '7月', '9月', '11月'] + axisLine: { + lineStyle: { + color: 'rgba(0, 255, 238,1)' + } + }, + data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + // interval: 2 }, // Y轴 yAxis: { type: 'value', name: 'kWh', - // axisLine: { - // lineStyle: { - // color: '#fff' - // } - // }, + axisLine: { + lineStyle: { + color: 'rgba(0, 255, 238,1)' + } + }, axisTick: { show: false }, @@ -71,7 +79,7 @@ export let option1 = { { name: '发电量', type: 'line', - data: [150000, 700000, 400000, 550000, 650000, 850000, 300000, 800000, 600000], + data: [150000, 700000, 400000, 550000, 650000, 850000, 300000, 800000, 600000,1000000,1200000,1500000], lineStyle: { color: 'rgba(0, 255, 238, 1)', width: 3 diff --git a/src/views/omScreen/components/rightPage.vue b/src/views/omScreen/components/rightPage.vue index 052ec17..0e9f2c5 100644 --- a/src/views/omScreen/components/rightPage.vue +++ b/src/views/omScreen/components/rightPage.vue @@ -1,6 +1,6 @@