p-i-704-section-3.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <template>
  2. <view>
  3. <view class="section">
  4. <view class="box">
  5. <view class="title">
  6. <view class="icon"></view>
  7. <view class="name">安全监测</view>
  8. <view class="right" @click="go_safety()"></view>
  9. </view>
  10. <view class="content">
  11. <view class="list_title">
  12. <view class="title_item">
  13. <view class="name">正常</view>
  14. <view class="icon icon_1">
  15. 10个
  16. </view>
  17. </view>
  18. <view class="title_item">
  19. <view class="name">报警</view>
  20. <view class="icon icon_2">
  21. 3个
  22. </view>
  23. </view>
  24. <view class="title_item">
  25. <view class="name">标教</view>
  26. <view class="icon icon_3">
  27. 0个
  28. </view>
  29. </view>
  30. <view class="title_item">
  31. <view class="name">故障</view>
  32. <view class="icon icon_4">
  33. 0个
  34. </view>
  35. </view>
  36. </view>
  37. <view class="list_item">
  38. <view class="item item_title">
  39. <view class="item_inner_1">测点编号</view>
  40. <view class="item_inner_2">安装地点</view>
  41. <view class="item_inner_3">数值/状态</view>
  42. </view>
  43. <view class="item">
  44. <view class="item_inner_1">1</view>
  45. <view class="item_inner_2">220704上隅角激光甲烷</view>
  46. <view class="item_inner_3">0ppm</view>
  47. </view>
  48. <view class="item">
  49. <view class="item_inner_1">2</view>
  50. <view class="item_inner_2">220704工作面一氧化碳</view>
  51. <view class="item_inner_3">1ppm</view>
  52. </view>
  53. <view class="item">
  54. <view class="item_inner_1">3</view>
  55. <view class="item_inner_2">220704上隅角氧气</view>
  56. <view class="item_inner_3">0ppm</view>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </template>
  64. <script>
  65. export default {
  66. data() {
  67. return {
  68. };
  69. },
  70. methods:{
  71. go_safety(){
  72. uni.navigateTo({
  73. url:"../../pages/p-i-safety-monitoring/p-i-safety-monitoring"
  74. })
  75. }
  76. }
  77. }
  78. </script>
  79. <style lang="scss">
  80. .section{
  81. margin-top: 10rpx;
  82. .box{
  83. background: #FFFFFF;
  84. box-shadow: 0px 3rpx 30rpx 0px rgba(59, 74, 116, 0.14);
  85. border-radius: 21rpx;
  86. .title{
  87. position: relative;
  88. width: 720rpx;
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. border-bottom: 2rpx solid #f3f3f3;
  93. .icon{
  94. width: 42rpx;
  95. height: 42rpx;
  96. background-image: url(icon/icon.png);
  97. background-size: cover;
  98. background-repeat: no-repeat;
  99. }
  100. .name{
  101. margin-left: 10rpx;
  102. font-size: 32rpx;
  103. font-family: PingFangSC-Medium, PingFang SC;
  104. font-weight: 500;
  105. color: #232627;
  106. line-height: 100rpx;
  107. }
  108. .right{
  109. position: absolute;
  110. right: 20rpx;
  111. width: 42rpx;
  112. height: 42rpx;
  113. background-image: url(icon/right.png);
  114. background-size: cover;
  115. background-repeat: no-repeat;
  116. }
  117. }
  118. .content{
  119. .list_title{
  120. margin-top: 36rpx;
  121. padding-bottom: 60rpx;
  122. display: flex;
  123. justify-content: space-around;
  124. .title_item{
  125. width: 125rpx;
  126. text-align: center;
  127. .name{
  128. font-size: 29rpx;
  129. font-family: PingFangSC-Regular, PingFang SC;
  130. font-weight: 400;
  131. color: #232627;
  132. line-height: 42rpx;
  133. }
  134. .icon{
  135. margin-top: 18rpx;
  136. width: 125rpx;
  137. height: 125rpx;
  138. line-height: 125rpx;
  139. border-radius: 50%;
  140. font-size: 31rpx;
  141. font-family: PingFangSC-Regular, PingFang SC;
  142. font-weight: 400;
  143. color: #FFFFFF;
  144. }
  145. .icon_1{
  146. background: #27AE60;
  147. }
  148. .icon_2{
  149. background: #FC2449;
  150. }
  151. .icon_3{
  152. background: #3498DB;
  153. }
  154. .icon_4{
  155. background: #2C3E50;
  156. }
  157. }
  158. }
  159. .list_item{
  160. .item{
  161. box-sizing: border-box;
  162. padding: 25rpx 19rpx;
  163. display: flex;
  164. font-size: 27rpx;
  165. font-family: PingFangSC-Regular, PingFang SC;
  166. font-weight: 400;
  167. color: #232627;
  168. line-height: 42rpx;
  169. text-align: center;
  170. .item_inner_1{
  171. width: 125rpx;
  172. }
  173. .item_inner_2{
  174. margin-left: 14rpx;
  175. width: 404rpx;
  176. }
  177. .item_inner_3{
  178. margin-left: 14rpx;
  179. width: 125rpx;
  180. color: #97A3B4;
  181. }
  182. }
  183. .item_title{
  184. background: #F3F6FA;
  185. box-sizing: border-box;
  186. padding: 25rpx 19rpx;
  187. .item_inner_3{
  188. color: #232627;
  189. }
  190. }
  191. }
  192. }
  193. }
  194. }
  195. </style>