Commit 753334c6550d4363b6c5e0d168dd0ee0fc8213dc

Authored by liuqimichale
1 parent 4831b33d

进出场

Showing 1 changed file with 5 additions and 1 deletions
src/views/berthsection.vue
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <totalsection :totalNum="totalVal"></totalsection> 4 <totalsection :totalNum="totalVal"></totalsection>
5 <ul class="flexfm berth-wrap"> 5 <ul class="flexfm berth-wrap">
6 <li class="pos-rel"> 6 <li class="pos-rel">
7 - <halfPieChart></halfPieChart> 7 + <halfPieChart :chart-data="pieChartData"></halfPieChart>
8 <div class="pos-abs halfPieText"> 8 <div class="pos-abs halfPieText">
9 <p>78%</p> 9 <p>78%</p>
10 <p>占有</p> 10 <p>占有</p>
@@ -38,6 +38,10 @@ export default { @@ -38,6 +38,10 @@ export default {
38 }, 38 },
39 data() { 39 data() {
40 return { 40 return {
  41 + pieChartData: {
  42 + yData: [100,200],
  43 + legendData: ['空余','占有']
  44 + },
41 totalVal: '21973', 45 totalVal: '21973',
42 free: '454123', 46 free: '454123',
43 nofree: '5125' 47 nofree: '5125'