| | |
| | | </el-table> |
| | | </div> |
| | | <!--图表--> |
| | | <div class="OtherB-PeopleJunShouRu__echart"> |
| | | <div class="OtherB-PeopleJunShouRu__echart" v-show="echartsShow"> |
| | | </div> |
| | | <div class="yincang-box"> |
| | | <el-button @click="showEchartsBtn" v-show="echartsShow" type="primary">隐藏</el-button> |
| | | <el-button @click="showEchartsBtn" v-show="!echartsShow" type="primary">显示</el-button> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | name: "OtherB_PerpleJunShouRu", |
| | | data() { |
| | | return { |
| | | echartsShow: true, |
| | | tableData: [ |
| | | // { |
| | | // year: 2020, |
| | |
| | | this.getIncomeLine() |
| | | }, |
| | | methods: { |
| | | showEchartsBtn() { |
| | | this.echartsShow = !this.echartsShow |
| | | if(this.echartsShow) { |
| | | this.tableHeight = window.innerHeight - nowSize(960) |
| | | }else { |
| | | this.tableHeight = window.innerHeight - nowSize(320) |
| | | } |
| | | }, |
| | | // 31. 查询居民人均可支配收入表格数据接口 |
| | | getIncomeTable() { |
| | | getIncomeTable().then(res => { |
| | |
| | | |
| | | .OtherB_PerpleJunShouRu__wrap { |
| | | width: 100%; |
| | | //height: calc(100% - 0.078125rem /* 20/256 */ |
| | | //); |
| | | |
| | | height: calc(100% - 0.078125rem /* 20/256 */ |
| | | ); |
| | | position: relative; |
| | | .yincang-box{ |
| | | position: absolute; |
| | | right: 0.078125rem /* 20/256 */; |
| | | bottom: 0; |
| | | } |
| | | .OtherB-PeopleJunShouRu__table { |
| | | width: 100%; |
| | | margin-top: 0.078125rem /* 20/256 */ |