gzm.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <view class="page-body">
  3. <page-header :name="'智能掘进工作面'" :bg="'transparent'" :showLeft="true" @goBack="goBack()"></page-header>
  4. <view class="bg-wrap"></view>
  5. <view class="scroll-wrap">
  6. <view class="info-wrap">
  7. <view class="title">智能掘进工作面参数</view>
  8. <view class="table-wrap">
  9. <simple-table :tableHead="tableHead" :list="tableList"></simple-table>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. tableHead: ['参数', '数值'],
  20. tableList: [{
  21. name: '人员检测',
  22. params: [{
  23. status: 1
  24. }],
  25. },{
  26. name: '油泵运行',
  27. params: [{
  28. status: 1
  29. }],
  30. },{
  31. name: '高速运行',
  32. params: [{
  33. status: 1
  34. }],
  35. },{
  36. name: '油箱温度',
  37. params: ['32℃']
  38. }, {
  39. name: '油泵计时',
  40. params: ['32h32min']
  41. }, {
  42. name: '截割计时',
  43. params: ['29h29min']
  44. }, {
  45. name: '俯仰角度',
  46. params: ['30°']
  47. }, {
  48. name: '翻滚角度',
  49. params: ['01°']
  50. }, {
  51. name: '回转角度',
  52. params: ['01°']
  53. }, {
  54. name: '升降角度',
  55. params: ['30°']
  56. }, {
  57. name: '自动截取时间',
  58. params: ['29min']
  59. }, {
  60. name: '遥控截割时间',
  61. params: ['30min']
  62. }]
  63. }
  64. },
  65. onLoad(option) {},
  66. methods: {
  67. goBack() { // 返回上一頁面
  68. uni.navigateBack()
  69. }
  70. }
  71. }
  72. </script>
  73. <style scoped lang="scss">
  74. .page-body {
  75. position: relative;
  76. background-color: #f5f6f8;
  77. /deep/ .header-wrap {
  78. position: relative;
  79. z-index: 2;
  80. }
  81. .bg-wrap {
  82. position: absolute;
  83. z-index: 1;
  84. top: 0;
  85. width: 100vw;
  86. height: 670rpx;
  87. background: url(@/static/pg-bg-2.png);
  88. background-size: 100%;
  89. }
  90. .scroll-wrap {
  91. position: relative;
  92. z-index: 2;
  93. overflow-y: scroll;
  94. height: calc(100vh - 85rpx);
  95. padding: 60rpx 35rpx 45rpx;
  96. .status-wrap {
  97. display: flex;
  98. height: 167rpx;
  99. border-radius: 20rpx;
  100. margin-bottom: 60rpx;
  101. background: #C5EDFF;
  102. .item {
  103. flex: 1;
  104. justify-content: center;
  105. padding: 35rpx 97rpx 35rpx 97rpx;
  106. border-right: 1rpx dashed #fff;
  107. .name {
  108. font-size: 28rpx;
  109. font-weight: 700;
  110. text-align: center;
  111. margin-bottom: 25rpx;
  112. }
  113. .status {
  114. /deep/ .tip-wrap {
  115. font-size: 26rpx;
  116. .name {
  117. color: #8D8D8D;
  118. }
  119. .status-wrap {
  120. view:first-child {
  121. margin: 0 8rpx 0 30rpx;
  122. }
  123. }
  124. }
  125. }
  126. }
  127. .item:last-child {
  128. border: none;
  129. }
  130. }
  131. .info-wrap {
  132. .title {
  133. margin-bottom: 29rpx;
  134. font-weight: 700;
  135. font-size: 36rpx;
  136. color: #000000;
  137. }
  138. .table-wrap {
  139. overflow: hidden;
  140. border-radius: 20rpx;
  141. background-color: #fff;
  142. /deep/ .table-head {
  143. background-color: #F0F0F0;
  144. }
  145. }
  146. }
  147. }
  148. }
  149. </style>