p-i-704-section-5.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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"></view>
  9. </view>
  10. <view class="content">
  11. <view class="img">
  12. <image src="./icon/img.png" mode=""></image>
  13. </view>
  14. <view class="inner">
  15. <view class="item">
  16. <view class="item_name">煤机位置</view>
  17. <view class="item_box">3305 V</view>
  18. </view>
  19. <view class="item">
  20. <view class="item_name">煤机位置</view>
  21. <view class="item_box">0.90 m/min</view>
  22. </view>
  23. <view class="item">
  24. <view class="item_name">煤机位置</view>
  25. <view class="item_box">144</view>
  26. </view>
  27. <view class="item">
  28. <view class="item_name">煤机位置</view>
  29. <view class="item_box">4.50</view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default {
  39. data() {
  40. return {
  41. };
  42. },
  43. methods:{
  44. }
  45. }
  46. </script>
  47. <style lang="scss">
  48. .section{
  49. margin-top: 10rpx;
  50. .box{
  51. background: #FFFFFF;
  52. box-shadow: 0px 3rpx 30rpx 0px rgba(59, 74, 116, 0.14);
  53. border-radius: 21rpx;
  54. .title{
  55. position: relative;
  56. width: 720rpx;
  57. display: flex;
  58. justify-content: center;
  59. align-items: center;
  60. border-bottom: 2rpx solid #f3f3f3;
  61. .icon{
  62. width: 42rpx;
  63. height: 42rpx;
  64. background-image: url(icon/icon.png);
  65. background-size: cover;
  66. background-repeat: no-repeat;
  67. }
  68. .name{
  69. margin-left: 10rpx;
  70. font-size: 32rpx;
  71. font-family: PingFangSC-Medium, PingFang SC;
  72. font-weight: 500;
  73. color: #232627;
  74. line-height: 100rpx;
  75. }
  76. .right{
  77. position: absolute;
  78. right: 20rpx;
  79. width: 42rpx;
  80. height: 42rpx;
  81. background-image: url(icon/right.png);
  82. background-size: cover;
  83. background-repeat: no-repeat;
  84. }
  85. }
  86. .content{
  87. .img{
  88. margin: 35rpx 0;
  89. text-align: center;
  90. image{
  91. width: 665rpx;
  92. height: 215rpx;
  93. }
  94. }
  95. .inner{
  96. padding: 0 10rpx;
  97. display: flex;
  98. flex-wrap: wrap;
  99. .item{
  100. display: flex;
  101. width: 350rpx;
  102. text-align: center;
  103. height: 80rpx;
  104. line-height: 80rpx;
  105. .item_name{
  106. width: 175rpx;
  107. }
  108. .item_box{
  109. margin-top: 20rpx;
  110. width: 175rpx;
  111. height: 40rpx;
  112. line-height: 40rpx;
  113. background: #8ADAFF;
  114. font-size: 27rpx;
  115. font-family: PingFangSC-Regular, PingFang SC;
  116. font-weight: 400;
  117. color: #232627;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124. </style>