DataStatistics.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <div class="page-container">
  3. <div class="page-header">
  4. <h1>数据统计</h1>
  5. <p>GIS地图 + ECharts水情/水质/工情统计图表</p>
  6. </div>
  7. <div class="page-content">
  8. <div class="stats-placeholder">
  9. <svg-icon icon-class="chart" class="stats-icon" />
  10. <p>数据统计组件</p>
  11. <p class="hint">水情统计、水质统计、工情统计图表</p>
  12. </div>
  13. </div>
  14. </div>
  15. </template>
  16. <script setup>
  17. </script>
  18. <style scoped>
  19. .page-container {
  20. height: 100%;
  21. }
  22. .page-header {
  23. padding: 20px;
  24. background: #fff;
  25. border-radius: 12px;
  26. margin-bottom: 20px;
  27. }
  28. .page-header h1 {
  29. font-size: 24px;
  30. font-weight: bold;
  31. margin: 0 0 10px 0;
  32. }
  33. .page-header p {
  34. font-size: 14px;
  35. color: #666;
  36. margin: 0;
  37. }
  38. .page-content {
  39. background: #fff;
  40. border-radius: 12px;
  41. padding: 20px;
  42. min-height: 500px;
  43. }
  44. .stats-placeholder {
  45. display: flex;
  46. flex-direction: column;
  47. align-items: center;
  48. justify-content: center;
  49. height: 500px;
  50. background: #f8fafc;
  51. border-radius: 8px;
  52. }
  53. .stats-icon {
  54. width: 80px;
  55. height: 80px;
  56. color: #0066cc;
  57. margin-bottom: 20px;
  58. }
  59. .stats-placeholder p {
  60. font-size: 18px;
  61. color: #333;
  62. margin: 0 0 10px 0;
  63. }
  64. .stats-placeholder .hint {
  65. font-size: 14px;
  66. color: #999;
  67. }
  68. </style>