| | |
| | | <template> |
| | | <div class="current"> |
| | | |
| | | <div class="rightContainer" v-show="ChartDisplay"> |
| | | <div class="current1"></div> |
| | | <div class="current1"></div> |
| | | <div class="current1"></div> |
| | | <div class="current"> |
| | | <div class="rightContainer" v-show="ChartDisplay"> |
| | | <div class="current1"> |
| | | <div class="aside-title">工程种类</div> |
| | | <project-category></project-category> |
| | | </div> |
| | | <!-- <div class="current1"> |
| | | <div class="aside-title">数据及服务提交</div> |
| | | <echart12></echart12> |
| | | </div> --> |
| | | <div class="" > |
| | | <div class="aside-title">文件格式</div> |
| | | <div class="content" style="height: 542px"> |
| | | <div class="header"> |
| | | <div>格式</div> |
| | | <div>数量</div> |
| | | </div> |
| | | <file-format></file-format> |
| | | </div> |
| | | <div class="rightarrow"> |
| | | <img :src="RightImg" @click="ChangeRight" /> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="rightarrow"> |
| | | <img :src="RightImg" @click="ChangeRight" /> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default{ |
| | | data(){ |
| | | return{ |
| | | ChartDisplay:true, |
| | | RightImg:require("../../assets/img/Screen/leftArrow.png") |
| | | } |
| | | }, |
| | | methods:{ |
| | | ChangeRight(){ |
| | | if(this.ChartDisplay){ |
| | | this.RightImg=require("../../assets/img/Screen/rightArrow.png"); |
| | | }else{ |
| | | this.RightImg=require("../../assets/img/Screen/leftArrow.png"); |
| | | } |
| | | this.ChartDisplay=!this.ChartDisplay; |
| | | this.$parent.ChangeWidth("right"); |
| | | } |
| | | import echart11 from "@/components/echart11.vue" |
| | | import echart12 from "@/components/echart12.vue" |
| | | import echart13 from "@/components/echart13.vue" |
| | | import FileFormat from "@/components/chart/FileFormat.vue" |
| | | import ProjectCategory from "../chart/ProjectCategory.vue" |
| | | |
| | | export default { |
| | | components: { |
| | | echart11, |
| | | echart12, |
| | | echart13, |
| | | FileFormat, |
| | | ProjectCategory |
| | | }, |
| | | data() { |
| | | return { |
| | | ChartDisplay: true, |
| | | RightImg: require("../../assets/img/Screen/leftArrow.png"), |
| | | } |
| | | |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | ChangeRight() { |
| | | if (this.ChartDisplay) { |
| | | this.RightImg = require("../../assets/img/Screen/rightArrow.png") |
| | | } else { |
| | | this.RightImg = require("../../assets/img/Screen/leftArrow.png") |
| | | } |
| | | this.ChartDisplay = !this.ChartDisplay |
| | | this.$parent.ChangeWidth("right") |
| | | }, |
| | | }, |
| | | } |
| | | |
| | | |
| | | |
| | | </script> |
| | | <style lang="scss"> |
| | | <style lang="less"> |
| | | .current { |
| | | height: 100%; |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: row; |
| | | align-items: center; |
| | | justify-content: center; |
| | | .rightarrow { |
| | | width: 36px; |
| | | height: 100%; |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: row; |
| | | align-items: center; |
| | | justify-content: center; |
| | | .rightarrow{ |
| | | width:36px; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | img{ |
| | | width: 30px; |
| | | height: 120px; |
| | | cursor: pointer; |
| | | } |
| | | img { |
| | | width: 30px; |
| | | height: 120px; |
| | | cursor: pointer; |
| | | } |
| | | .rightContainer { |
| | | height: 100%; |
| | | width: calc(100% - 36px); |
| | | |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: space-around; |
| | | .current1{ |
| | | height: 30%; |
| | | width: 100%; |
| | | background:url(../../assets/img/Screen/chartbg.png); |
| | | background-size: 100% 100%; |
| | | background-repeat: no-repeat; |
| | | } |
| | | } |
| | | .rightContainer { |
| | | height: 100%; |
| | | width: calc(100% - 7px); |
| | | |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: space-around; |
| | | .current1 { |
| | | height: 30%; |
| | | width: 100%; |
| | | background: url(../../assets/img/Screen/chartbg.png); |
| | | background-size: 100% 100%; |
| | | background-repeat: no-repeat; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | </style> |
| | | .content { |
| | | width: 377px; |
| | | background: url(../../assets/img/Screen/contentBg.png); |
| | | background-size: 100% 100%; |
| | | background-repeat: no-repeat; |
| | | .header { |
| | | margin: 0px auto; |
| | | padding: 10px 0; |
| | | width: 80%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | color: #fff; |
| | | font-size: 13px; |
| | | } |
| | | } |
| | | </style> |