From 8e2f05701ae08a22630b3ff1bd490945e5a936ba Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期二, 30 三月 2021 17:27:18 +0800 Subject: [PATCH] 弹窗样式修改 --- src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue b/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue index 9084a18..68a04dc 100644 --- a/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue +++ b/src/components/BaseNav/PublicBounced/GasComponents/GasECharts.vue @@ -8,7 +8,7 @@ <div class="border_corner border_corner_right_bottom"></div> <div class="main"> <div class="main-echarts"> - <div id="echarts" style="width:100%;height:100%" ref="main"></div> + <div id="echarts" ref="main"></div> </div> </div> </div> @@ -116,8 +116,8 @@ <style scoped lang="less"> .win { - width: 100%; - height: 100%; + //width: 100%; + //height: 100%; position: relative; //display: inline-block; background-color: rgba(33, 41, 69,0.9); @@ -158,7 +158,13 @@ width: 100%; height: 100%; .main-echarts{ + width: 100%; + height: 100%; border: 1px solid #396d83; } + #echarts{ + width: 425px; + height: 300px; + } } </style> -- Gitblit v1.8.0