Commit cdf2f6c3122196f1c369a42fb5d8b88b1bfbb42a
1 parent
32050c6b
泊位信息
Showing
1 changed file
with
21 additions
and
1 deletions
src/components/VBerth.vue
| ... | ... | @@ -9,7 +9,10 @@ |
| 9 | 9 | <li> |
| 10 | 10 | <pie-echart :chart-data="pieChartData"></pie-echart> |
| 11 | 11 | </li> |
| 12 | - <li></li> | |
| 12 | + <li class="berth-inf"> | |
| 13 | + <p><span class="free-berth">11834</span><span>空余</span></p> | |
| 14 | + <p><span class="buss-berth">4496</span><span>占有</span></p> | |
| 15 | + </li> | |
| 13 | 16 | </ul> |
| 14 | 17 | </div> |
| 15 | 18 | </div> |
| ... | ... | @@ -57,6 +60,23 @@ export default { |
| 57 | 60 | >li{ |
| 58 | 61 | flex: 1; |
| 59 | 62 | } |
| 63 | + .berth-inf{ | |
| 64 | + p{ | |
| 65 | + height: 50%; | |
| 66 | + display: flex; | |
| 67 | + align-items: center; | |
| 68 | + justify-content: space-between; | |
| 69 | + padding-right: 20px; | |
| 70 | + } | |
| 71 | + .free-berth{ | |
| 72 | + @include fontStyle(24px); | |
| 73 | + background-image: $fontBlue; | |
| 74 | + } | |
| 75 | + .buss-berth{ | |
| 76 | + @include fontStyle(24px); | |
| 77 | + background-image: $fontOrange; | |
| 78 | + } | |
| 79 | + } | |
| 60 | 80 | } |
| 61 | 81 | |
| 62 | 82 | </style> | ... | ... |