From 0e09fe487e2c5fcde66353df9b3b0bee7d8d5e64 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期三, 31 三月 2021 19:02:55 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue | 57 +++++++--------------------------------------------------
1 files changed, 7 insertions(+), 50 deletions(-)
diff --git a/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue b/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue
index cd60dbd..65a7885 100644
--- a/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue
+++ b/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue
@@ -1,15 +1,7 @@
<template>
- <!-- 妗� -->
- <div class="win">
- <!-- 鍥涗釜瑙掔殑杈规鏁堟灉 -->
<div class="main">
<div id="echarts" ref="main"></div>
- <div class="border_corner border_corner_left_top"></div>
- <div class="border_corner border_corner_right_top"></div>
- <div class="border_corner border_corner_left_bottom"></div>
- <div class="border_corner border_corner_right_bottom"></div>
</div>
- </div>
</template>
<script>
@@ -40,8 +32,9 @@
},
grid: {
left: '3%',
- // right: '20%',
- // bottom: '3%',
+ right: '1%',
+ bottom: '3%',
+ top: '10%',
containLabel: true
},
toolbox: {
@@ -157,51 +150,15 @@
</script>
<style scoped lang="less">
- .win {
- /*width: 100%;*/
- /*height: 100%;*/
- position: relative;
- //display: inline-block;
- background-color: rgba(33, 41, 69,0.9);
+ .main{
+ background: rgba(255, 255, 255, 0.1);
}
#echarts{
width: 600px;
- height: 260px;
+ //height: 260px;
+ height: 100%;
position: relative;
margin: 0;
padding: 0;
- }
- .border_corner{
- z-index: 2500;
- position: absolute;
- width: 14px;
- height: 14px;
- background: rgba(0,0,0,0);
- border: 2px solid #47d5ea;
- }
- .border_corner_left_top{
- top: 0;
- left: 0;
- border-right: none;
- border-bottom: none;
- }
- .border_corner_right_top{
- top: 0;
- right: 0;
- border-left: none;
- border-bottom: none;
- }
- .border_corner_left_bottom{
- bottom: 0;
- left: 0;
- border-right: none;
- border-top: none;
- border-bottom-left-radius: 4px;
- }
- .border_corner_right_bottom{
- bottom: 0;
- right: 0;
- border-left: none;
- border-top: none;
}
</style>
--
Gitblit v1.8.0