From d74fefdd5b3b86f97df7ce659b42bf138667323c Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期二, 30 三月 2021 17:29:05 +0800 Subject: [PATCH] 弹窗中折线统计图基本布局 --- src/components/BaseNav/PublicBounced/PublicBounced.vue | 21 ++++----------------- 1 files changed, 4 insertions(+), 17 deletions(-) diff --git a/src/components/BaseNav/PublicBounced/PublicBounced.vue b/src/components/BaseNav/PublicBounced/PublicBounced.vue index 93afb60..eddeb78 100644 --- a/src/components/BaseNav/PublicBounced/PublicBounced.vue +++ b/src/components/BaseNav/PublicBounced/PublicBounced.vue @@ -6,9 +6,8 @@ </div> <div class="public-bounced-content"> <div class="public-bounced-content-left"> - <GasTable></GasTable> + <GasTable :displayContent="displayContent"></GasTable> <GasECharts></GasECharts> -<!-- <GasTabs></GasTabs>--> </div> <div class="public-bounced-content-right"> <GasVideo></GasVideo> @@ -23,12 +22,10 @@ import GasTable from '@components/BaseNav/PublicBounced/GasComponents/GasTable' import GasECharts from '@components/BaseNav/PublicBounced/GasComponents/GasECharts' import GasVideo from '@components/BaseNav/PublicBounced/GasComponents/GasVideo' -// import GasTabs from '@components/BaseNav/PublicBounced/GasComponents/GasTabs' export default { name: 'PublicBounced', components: { - // GasTabs, GasTable, GasECharts, GasVideo @@ -53,18 +50,14 @@ <style lang="less" scoped> .public-bounced { - width: 80%; - height: 450px; z-index: 999; - position: absolute; - top: 25%; - left: 10%; + position: fixed; + top: 50%; + left: 50%; background-color: #002432; - margin: 1% auto; border: 1px #9fc5c8 solid; .public-bounced-title { - width: 100%; border: 1px #a4c0d8 solid; display: flex; align-items: center; @@ -85,20 +78,14 @@ } .public-bounced-content { - width: 100%; - height: 100%; display: flex; align-items: center; justify-content: space-around; .public-bounced-content-left { - width: 48%; - height: 400px; } .public-bounced-content-right { - width: 48%; - height: 400px; } } -- Gitblit v1.8.0