screen-tem1.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <template>
  2. <div class="page">
  3. <div class="header">
  4. <img class="header-img" src="../images/screen-tem1/title.png" alt="">
  5. <div class="header-title">
  6. <div class="header-title1">
  7. {{data.title}}
  8. </div>
  9. <div class="header-title2">
  10. Visualization data of grid management module
  11. </div>
  12. </div>
  13. </div>
  14. <div class="main">
  15. <div class="main-box main-box1">
  16. <screen-module :data="data" :cid="1" />
  17. </div>
  18. <div class="main-box main-box2">
  19. <screen-module :data="data" :cid="2" />
  20. </div>
  21. <div class="main-box main-box3">
  22. <screen-module :data="data" :cid="3" />
  23. </div>
  24. <div class="main-box main-box4">
  25. <screen-module :data="data" :cid="4" />
  26. </div>
  27. </div>
  28. </div>
  29. </template>
  30. <script>
  31. import Vue from 'vue';
  32. import Component from 'vue-class-component';
  33. import ScreenModule from '@/apps/home/components/screen-module.vue';
  34. @Component({
  35. props: {
  36. data: {
  37. type: Object,
  38. default: null,
  39. },
  40. },
  41. components: {
  42. ScreenModule,
  43. },
  44. })
  45. export default class Echarts extends Vue {
  46. created() {
  47. }
  48. }
  49. </script>
  50. <style scoped lang="scss">
  51. .page{
  52. position: fixed;
  53. z-index: 10;
  54. top: 0;
  55. left: 0;
  56. bottom: 0;
  57. right: 0;
  58. background-color: #14111f;
  59. overflow: hidden;
  60. background-image: url(../images/screen-tem1/bg.png);
  61. background-repeat: no-repeat;
  62. background-size: 100% 100%;
  63. color: #ffffff;
  64. }
  65. .header{
  66. width: 100%;
  67. height: 12vh;
  68. // border: 1px solid #fff;
  69. text-align: center;
  70. position: relative;
  71. color: #ffffff;
  72. margin-top: 2vh;
  73. }
  74. .header .header-img{
  75. width: 58vw;
  76. height: 5.5vh;
  77. margin-top: 3.9vh;
  78. }
  79. .header .header-title{
  80. width: 100%;
  81. height: 100%;
  82. position: absolute;
  83. left: 0;
  84. top: 0;
  85. }
  86. .header .header-title .header-title1{
  87. font-family: Alibaba PuHuiTi;
  88. font-size: 28px;
  89. font-weight: 600;
  90. height: 6.7vh;
  91. line-height: 6.7vh;
  92. // border-bottom: 1px solid #fff;
  93. }
  94. .header .header-title .header-title2{
  95. font-family: Alibaba PuHuiTi;
  96. font-size: 18px;
  97. font-weight: 500;
  98. height: 2.9vh;
  99. padding-top: 0.3vh;
  100. }
  101. .main{
  102. width: 100%;
  103. height: 84vh;
  104. // border: 1px solid #fff;
  105. margin-top: 1vh;
  106. }
  107. .main .main-box{
  108. display: inline-block;
  109. background-repeat: no-repeat;
  110. background-size: 100% 100%;
  111. float: left;
  112. position: relative;
  113. }
  114. .main .main-box1{
  115. width: 22vw;
  116. height: 83vh;
  117. background-image: url(../images/screen-tem1/left.png);
  118. margin: 0 1.5vw;
  119. }
  120. .main .main-box2{
  121. width: 22vw;
  122. height: 83vh;
  123. background-image: url(../images/screen-tem1/left.png);
  124. margin: 0 1.5vw;
  125. float: right;
  126. }
  127. .main-box3{
  128. width: 50vw;
  129. height: 40.7vh;
  130. background-image: url(../images/screen-tem1/middle.png);
  131. margin-bottom: 1.2vh;
  132. }
  133. .main-box4{
  134. width: 50vw;
  135. height: 40.7vh;
  136. background-image: url(../images/screen-tem1/middle.png);
  137. }
  138. </style>