statistics.vue 689 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div class="statistics">
  3. <div class="echartTitle">
  4. <div class="block-title">{{ title }}</div>
  5. </div>
  6. <div class="cityList" :style="{ height: height + 'px' }">
  7. </div>
  8. </div>
  9. </template>
  10. <script>
  11. export default {
  12. props: {
  13. title: {
  14. type: String,
  15. },
  16. height: {
  17. type: Number,
  18. },
  19. cityList: {
  20. type: Array,
  21. },
  22. },
  23. components: {},
  24. data() {
  25. return {};
  26. },
  27. computed: {},
  28. mounted() {},
  29. methods: {},
  30. watch: {},
  31. watch: {},
  32. beforeDestroy() {},
  33. };
  34. </script>
  35. <style lang="less" scoped>
  36. .statistics {
  37. .cityList{
  38. width: 100%;
  39. background: rgba(255, 192, 203, 0.445);
  40. }
  41. }
  42. </style>