projectManagement.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <div id="projectManagement">
  3. <VisualizationHeader />
  4. <service-tree :serviceData="serviceGLLayer" :defaultCheckedKeys=defaultLayer />
  5. <Map type="project"/>
  6. <div class="right">
  7. <div class="top">
  8. 图例
  9. </div>
  10. <div class="tuli-content">
  11. <div class="single-item">
  12. <div class="single-color-1"></div>
  13. <span>项目信息</span>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </template>
  19. <script>
  20. import Map from "@/views/c-cpns/Map.vue";
  21. import VisualizationHeader from "@/views/c-cpns/VisualizationHeader.vue";
  22. import ServiceTree from "@/components/ServiceTree.vue";
  23. import {serviceGLLayer} from "@/data/all-layers.js";
  24. export default {
  25. name: "projectManagement",
  26. components: { ServiceTree,VisualizationHeader, Map},
  27. setup(){
  28. let defaultLayer = ['D9999990320240701'];
  29. return{
  30. serviceGLLayer,
  31. defaultLayer
  32. }
  33. }
  34. }
  35. </script>
  36. <style scoped lang="scss">
  37. #projectManagement {
  38. position: absolute;
  39. width: 100%;
  40. height: 100%;
  41. z-index: 2;
  42. .right{
  43. background: rgba(29, 93, 160, 0.7);
  44. position: absolute;
  45. right: 80px;
  46. bottom:100px;
  47. z-index: 2;
  48. width:300px;
  49. padding: 8px;
  50. .top{
  51. font-size: 20px;
  52. font-weight: bold;
  53. color: #fff;
  54. padding-bottom: 8px;
  55. }
  56. .tuli-content{
  57. display: flex;
  58. flex-direction: column;
  59. justify-content: space-evenly;
  60. .single-item{
  61. width: 100%;
  62. display: flex;
  63. padding: 4px;
  64. span{
  65. padding-left: 4px;
  66. font-size: 16px;
  67. color: #FFF;
  68. }
  69. .single-color-1{
  70. width: 40px;
  71. height: 20px;
  72. background-color: #f57a7a;
  73. }
  74. }
  75. }
  76. }
  77. }
  78. </style>