| | |
| | | <template> |
| | | <div class="public-bounced" v-draw v-show="flag"> |
| | | <div class="public-bounced" v-draw v-if="flag"> |
| | | <div class="public-bounced-title"> |
| | | <span>{{ displayContent.Name }}</span> |
| | | <i class="el-icon-circle-close" @click="closePopup"></i> |
| | | </div> |
| | | <div class="public-bounced-content"> |
| | | <div class="public-bounced-content-left"> |
| | | <GasTable :displayContent="displayContent"></GasTable> |
| | | <GasECharts></GasECharts> |
| | | <GasTab :displayContent="displayContent"></GasTab> |
| | | <!-- <div class="public-bounced-content-left-bottom">--> |
| | | <PublicTable v-if="value === 'gufei'" :requestSolidWasteData="displayContent.StoragePlaceId"></PublicTable> |
| | | <!-- <GasECharts v-else></GasECharts>--> |
| | | <GasTabs v-else></GasTabs> |
| | | <!-- </div>--> |
| | | </div> |
| | | <div class="public-bounced-content-right"> |
| | | <GasVideo></GasVideo> |
| | |
| | | |
| | | <script> |
| | | |
| | | import '@/components/BaseNav/SolidWaste/directive' |
| | | import GasTable from '@components/BaseNav/PublicBounced/GasComponents/GasTable' |
| | | import GasECharts from '@components/BaseNav/PublicBounced/GasComponents/GasECharts' |
| | | import '@/components/BaseNav/SolidWaste/directive/dir' |
| | | import GasTab from '@components/BaseNav/PublicBounced/GasComponents/GasTab' |
| | | import PublicTable from '@components/BaseNav/PublicBounced/GasComponents/PublicTable' |
| | | // import GasECharts from '@components/BaseNav/PublicBounced/GasComponents/GasECharts' |
| | | import GasVideo from '@components/BaseNav/PublicBounced/GasComponents/GasVideo' |
| | | import GasTabs from './GasComponents/GasTabs' |
| | | |
| | | export default { |
| | | name: 'PublicBounced', |
| | | components: { |
| | | GasTable, |
| | | GasECharts, |
| | | GasTabs, |
| | | GasTab, |
| | | PublicTable, |
| | | // GasECharts, |
| | | // PublicTable, |
| | | // GasECharts, |
| | | GasVideo |
| | | }, |
| | | data () { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | setData (data) { |
| | | setData (data, value) { |
| | | console.log(data) |
| | | console.log(value) |
| | | this.displayContent = data |
| | | this.flag = true |
| | | this.value = value |
| | | console.log(this.flag) |
| | | }, |
| | | closePopup () { |
| | | this.flag = false |
| | |
| | | |
| | | <style lang="less" scoped> |
| | | .public-bounced { |
| | | width: 75%; |
| | | z-index: 999; |
| | | position: fixed; |
| | | top: 50%; |
| | | left: 50%; |
| | | position: absolute; |
| | | bottom: 5%; |
| | | left: 15%; |
| | | background-color: #002432; |
| | | border: 1px #9fc5c8 solid; |
| | | |
| | |
| | | } |
| | | |
| | | .public-bounced-content { |
| | | margin: 15px auto; |
| | | display: flex; |
| | | align-items: center; |
| | | //align-items: center; |
| | | justify-content: space-around; |
| | | padding: 10px; |
| | | |
| | | .public-bounced-content-left { |
| | | flex: 3; |
| | | height: 100%; |
| | | margin-right: 10px; |
| | | } |
| | | |
| | | .public-bounced-content-right { |
| | | flex: 2; |
| | | //width: 48%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | } |
| | | </style> |