equipment.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <template>
  2. <view class="container">
  3. 质检出场
  4. </view>
  5. </template>
  6. <script setup>
  7. function onshow(){
  8. console.log('质检出场')
  9. }
  10. </script>
  11. <style lang="scss">
  12. .container {
  13. .nav-style {
  14. font-size: 32rpx;
  15. font-weight: bold;
  16. color: #fff;
  17. }
  18. .search {
  19. padding: 24rpx 24rpx;
  20. background-color: #fff;
  21. }
  22. .total {
  23. display: flex;
  24. flex-flow: row nowrap;
  25. justify-content: space-around;
  26. align-items: center;
  27. text-align: center;
  28. color: #fff;
  29. background-color: #2C6FF3;
  30. padding: 40rpx 24rpx ;
  31. .total-item {
  32. .num {
  33. font-weight: bold;
  34. font-size: 52rpx;
  35. }
  36. .name {
  37. font-size: 26rpx;
  38. }
  39. }
  40. }
  41. .content {
  42. padding: 24rpx;
  43. padding-bottom:calc(124rpx + env(safe-area-inset-bottom) / 2);
  44. .xy-card {
  45. margin-bottom: 24rpx;
  46. }
  47. .eq-line-title {
  48. font-size: 32rpx;
  49. padding-bottom: 24rpx;
  50. position: relative;
  51. .arrow-right {
  52. position: absolute;
  53. right: 0;
  54. top: 0;
  55. }
  56. }
  57. .eq-item {
  58. position: relative;
  59. &+.eq-item {
  60. padding-top: 12rpx;
  61. }
  62. .eq-content {
  63. .eq-wrap {
  64. border-radius: 8rpx;
  65. background-color: rgb(245, 248, 251);
  66. box-sizing: border-box;
  67. padding: 24rpx 12rpx;
  68. font-size: 26rpx;
  69. .eq-name {
  70. font-size: 32rpx;
  71. font-weight: bold;
  72. margin-bottom: 24rpx;
  73. position: relative;
  74. >.eq-title{
  75. width: 420rpx;
  76. >text{
  77. font-size: 30rpx;
  78. color: #666;
  79. font-weight: normal;
  80. }
  81. }
  82. .eq-status-box{
  83. float: right;
  84. position: absolute;
  85. right:0;
  86. top:0;
  87. }
  88. .eq-status {
  89. font-size: 28rpx;
  90. color: #666;
  91. font-weight: normal;
  92. margin-left: 12rpx;
  93. >text {
  94. display: inline-block;
  95. background-color: #666;
  96. width: 16rpx;
  97. height: 16rpx;
  98. border-radius: 16rpx;
  99. margin-right: 12rpx;
  100. }
  101. &.online {
  102. color: #f56c6c;
  103. >text {
  104. background-color: green;
  105. }
  106. }
  107. }
  108. }
  109. }
  110. .eqeq-type {
  111. display: flex;
  112. flex-direction: row;
  113. align-items: center;
  114. font-size: 28rpx;
  115. >view:nth-child(1) {
  116. color: #000;
  117. width: 200rpx;
  118. }
  119. >view:nth-child(2) {
  120. color: #666;
  121. padding-left: 6rpx;
  122. }
  123. }
  124. .eqeq-type+.eqeq-type{
  125. margin-top: 16rpx;
  126. }
  127. .status {
  128. width: 130rpx;
  129. height: 120rpx;
  130. box-sizing: border-box;
  131. border-radius: 120rpx;
  132. // border: 6rpx solid #2C6FF3;
  133. text-align: center;
  134. display: flex;
  135. flex-flow: column;
  136. justify-content: space-around;
  137. align-items: center;
  138. position: absolute;
  139. right: 12rpx;
  140. bottom: 24rpx;
  141. .s-name {
  142. font-size: 28rpx;
  143. padding-top: 20rpx;
  144. font-weight: bold;
  145. }
  146. .s-num {
  147. font-size: 32rpx;
  148. padding-bottom: 20rpx;
  149. }
  150. }
  151. }
  152. }
  153. .more {
  154. text-align: center;
  155. font-size: 28rpx;
  156. color: #2C6FF3;
  157. line-height: 80rpx;
  158. }
  159. }
  160. .empty {
  161. margin: 40% auto 0;
  162. }
  163. }
  164. </style>