index.vue 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <template>
  2. <div class="visualization-container">
  3. <!-- 头部标题区域 -->
  4. <div class="top-title-container u-flex-jac">
  5. <div class="title-content">
  6. <span class="text">高温高湿试验项目</span>
  7. </div>
  8. </div>
  9. <!-- 数据内容区域 -->
  10. <div class="content-container u-flex">
  11. <!-- 左侧区域 -->
  12. <div class="left-container">
  13. <div class="left-top-con">
  14. <!-- 左上 -->
  15. <yuzhi-curve></yuzhi-curve>
  16. </div>
  17. <div class="left-center-con">
  18. <!-- 左中 -->
  19. <real-time-curve></real-time-curve>
  20. </div>
  21. <div class="left-bottom-con">
  22. <!-- 左下 -->
  23. <!-- <test-information></test-information> -->
  24. <full-curve></full-curve>
  25. </div>
  26. </div>
  27. <!-- 中间部分 -->
  28. <div class="center-container">
  29. <div class="important">
  30. <!-- 我是3D区域 -->
  31. <!-- <div class="u-flex" style="color: #fff;width: 100%; height: 100%;flex-direction: column;align-items: center;">
  32. <div class="u-flex-cjac" style="width: 100%;">
  33. <div style="height: 30px;">I机组</div>
  34. <div class="u-flex-jaa" style="width: 100%;">
  35. <div>
  36. <div class="f1">I1压机吸气:(111) bar</div>
  37. <div class="f1">I2压机吸气:(2) bar</div>
  38. <div class="f1">J1压机吸气:(11) bar</div>
  39. <div class="f1">J1压机排气:() bar</div>
  40. </div>
  41. <div>
  42. <div class="f1">I2压机排气:(4)bar</div>
  43. <div class="f1">J2压机吸气:(0) bar</div>
  44. <div class="f1">J2压机排气:() bar</div>
  45. <div class="f1">I1压机排气:(33333333333333333333)bar</div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="u-flex-cjac" style="width: 100%;">
  50. <div style="height: 30px;">I机组</div>
  51. <div class="u-flex-jaa" style="width: 100%;">
  52. <div>
  53. <div class="f1">I1压机吸气:(1111111111) bar</div>
  54. <div class="f1">I2压机吸气:(2) bar</div>
  55. <div class="f1">J1压机吸气:(11) bar</div>
  56. <div class="f1">J1压机排气:() bar</div>
  57. </div>
  58. <div>
  59. <div class="f1">I2压机排气:(4)bar</div>
  60. <div class="f1">J2压机吸气:(0) bar</div>
  61. <div class="f1">J2压机排气:() bar</div>
  62. <div class="f1">I1压机排气:(33333333333)bar</div>
  63. </div>
  64. </div>
  65. </div>
  66. </div> -->
  67. </div>
  68. <div class="centen-bottom-con u-flex-jab">
  69. <!-- 中间 -->
  70. <div class="center-bottom-left">
  71. <running-state></running-state>
  72. </div>
  73. <div class="center-bottom-right">
  74. <equipment-info></equipment-info>
  75. </div>
  76. </div>
  77. </div>
  78. <!-- 右侧区域 -->
  79. <div class="right-container">
  80. <div class="right-top-con">
  81. <!-- 右上 -->
  82. <mode-info></mode-info>
  83. </div>
  84. <div class="right-center-con">
  85. <!-- 右中 -->
  86. <test-status-info></test-status-info>
  87. </div>
  88. <div class="right-bottom-con">
  89. <!-- 右下 -->
  90. <surveillance-video></surveillance-video>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </template>
  96. <script>
  97. import YuzhiCurve from './modules/YuzhiCurve.vue'
  98. import RealTimeCurve from './modules/RealTimeCurve.vue'
  99. import FullCurve from './modules/FullCurve.vue'
  100. import RunningState from './modules/RunningState.vue'
  101. import EquipmentInfo from './modules/EquipmentInfo.vue'
  102. import ModeInfo from './modules/ModeInfo.vue'
  103. import SurveillanceVideo from './modules/SurveillanceVideo.vue'
  104. import TestInformation from './modules/TestInformation.vue'
  105. import TestStatusInfo from './modules/TestStatusInfo.vue'
  106. export default {
  107. name: '',
  108. components: {
  109. YuzhiCurve,
  110. RealTimeCurve,
  111. FullCurve,
  112. RunningState,
  113. EquipmentInfo,
  114. ModeInfo,
  115. SurveillanceVideo,
  116. TestInformation,
  117. TestStatusInfo,
  118. },
  119. data () {
  120. return {
  121. }
  122. },
  123. created () {
  124. },
  125. mounted () {
  126. },
  127. methods: {
  128. }
  129. }
  130. </script>
  131. <style scoped>
  132. @import '~@assets/less/uStyle.less';
  133. </style>
  134. <style lang="less">
  135. .visualization-container{
  136. width: 100%;
  137. height: 100vh;
  138. background: url(../../../assets/visualization/pageBg.png) no-repeat;
  139. background-size: cover;
  140. // 头部标题区域
  141. .top-title-container{
  142. position: fixed;
  143. top: 0;
  144. left: 0;
  145. right: 0;
  146. // border: 1px solid #000;
  147. height: 72px;
  148. text-align: center;
  149. // line-height: 22px;
  150. .title-content{
  151. width: 700px;
  152. height: 100%;
  153. background: url(../../../assets/visualization/pageTitleBg.png) no-repeat center center;
  154. background-size: auto 100%;
  155. .text{
  156. font-size: 28px;
  157. color: transparent;
  158. // font-weight: bold;
  159. // 描边 变相加粗
  160. -webkit-text-stroke: 0.4px;
  161. letter-spacing: .15em;
  162. text-shadow: 1px 2px 2px rgb(10, 37, 92);
  163. // text-shadow: 1px 2px 2px rgba(10, 68, 134, .67);
  164. position: relative;
  165. font-family: "黑体";
  166. // font-family: "宋体";
  167. // font-family: serif;
  168. // font-family: "楷体_GB2312 ";
  169. &::before{
  170. // content: attr(text); // div中设置了text=>相当于又写了一个标题覆盖在原来设置了阴影的文字上面
  171. content: '高温高湿试验项目';
  172. position: absolute;
  173. z-index: 10;
  174. background-image: linear-gradient(to bottom, #ffffff, #8DD4F7);
  175. // background-image: linear-gradient(to bottom, #ffffff, #7ed7fb);
  176. -webkit-background-clip: text;
  177. color: transparent;
  178. // 去除集成父级样式
  179. text-shadow: none;
  180. }
  181. }
  182. }
  183. }
  184. // 数据内容区域
  185. .content-container{
  186. height: 100%;
  187. padding: 60px 20px 20px;
  188. box-sizing: border-box;
  189. .left-container{
  190. width: 25%;
  191. height: 100%;
  192. .left-top-con{
  193. height: 35%;
  194. padding-bottom: 12px;
  195. }
  196. .left-center-con{
  197. height: 35%;
  198. padding-bottom: 12px;
  199. }
  200. .left-bottom-con{
  201. height: 30%;
  202. }
  203. }
  204. .center-container{
  205. width: 50%;
  206. height: 100%;
  207. .important{
  208. width: 100%;
  209. height: 70%;
  210. // text-align: center;
  211. // line-height: 500px;
  212. }
  213. .centen-bottom-con{
  214. height: 30%;
  215. padding: 0 12px;
  216. .center-bottom-left{
  217. flex: 1.4;
  218. height: 100%;
  219. }
  220. .center-bottom-right{
  221. flex: 1;
  222. height: 100%;
  223. padding-left: 12px;
  224. }
  225. }
  226. }
  227. .right-container{
  228. width: 25%;
  229. .right-top-con{
  230. height: 35%;
  231. padding-bottom: 12px;
  232. }
  233. .right-center-con{
  234. height: 35%;
  235. padding-bottom: 12px;
  236. }
  237. .right-bottom-con{
  238. height: 30%;
  239. }
  240. }
  241. }
  242. }
  243. </style>