workOrderStatistics.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <template>
  2. <view>
  3. <u-navbar title="工单统计" title-color="#fff" :background="background" back-icon-color="#ffffff" ></u-navbar>
  4. <view class="main">
  5. <!-- 标签 -->
  6. <view class="tabs">
  7. <view class="tabs-item item-checked">
  8. 当天
  9. </view>
  10. <view class="tabs-item">
  11. 一周
  12. </view>
  13. <view class="tabs-item">
  14. 当天
  15. </view>
  16. <view class="tabs-item">
  17. 自定义
  18. </view>
  19. </view>
  20. <!-- 数据统计 -->
  21. <view class="data-statistics">
  22. <view class="title">
  23. 数据统计
  24. </view>
  25. <view class="state">
  26. <view class="state-item state1" >
  27. <view class="state-classify">
  28. 待指派
  29. </view>
  30. <view class="state-number">
  31. 2
  32. </view>
  33. </view>
  34. <view class="state-item state2" >
  35. <view class="state-classify">
  36. 进行中
  37. </view>
  38. <view class="state-number">
  39. 3
  40. </view>
  41. </view>
  42. <view class="state-item state3" >
  43. <view class="state-classify">
  44. 已解决
  45. </view>
  46. <view class="state-number">
  47. 33
  48. </view>
  49. </view>
  50. <view class="state-item state4" >
  51. <view class="state-classify">
  52. 已关闭
  53. </view>
  54. <view class="state-number">
  55. 34
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 工单状态 -->
  61. <view class="workOrder-state">
  62. <view class="title">
  63. 工单状态
  64. </view>
  65. <view class="progress">
  66. <view class="progress-item">
  67. <view class="circle-progress">
  68. </view>
  69. <view class="state">
  70. 待指派
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </template>
  78. <script>
  79. export default {
  80. data() {
  81. return {
  82. background:{
  83. backgroundColor:'#1677FF'
  84. }
  85. }
  86. },
  87. methods: {
  88. }
  89. }
  90. </script>
  91. <style lang="scss" scoped>
  92. /deep/.uicon-nav-back{
  93. color: #FFF !important;
  94. }
  95. .main{
  96. background: linear-gradient(180deg, rgba(22,119,255,1) 0%,rgba(22,119,255,0) 100%);
  97. height: 720rpx;
  98. // 标签
  99. .tabs{
  100. display: flex;
  101. justify-content: space-between;
  102. padding: 24rpx 32rpx;
  103. .tabs-item{
  104. width: 144rpx;
  105. line-height: 56rpx;
  106. text-align: center;
  107. color: rgba(255,255,255,0.6);
  108. }
  109. .item-checked{
  110. border: 1px solid rgba(255,255,255,1);
  111. color: rgba(255,255,255,1);
  112. border-radius: 50px;
  113. }
  114. }
  115. // 数据统计
  116. .data-statistics{
  117. margin: 24rpx 32rpx;
  118. border-radius: 8px;
  119. background-color: rgba(255,255,255,1);
  120. padding: 24rpx;
  121. .title{
  122. color: rgba(16,16,16,1);
  123. font-size: 36rpx;
  124. font-weight: bold;
  125. }
  126. .state{
  127. display: flex;
  128. justify-content: space-between;
  129. margin-top: 24rpx;
  130. .state-item{
  131. width: 72px;
  132. height: 72px;
  133. border-radius: 8px;
  134. color: rgba(255,255,255,1);
  135. text-align: center;
  136. padding: 24rpx;
  137. font-weight: bold;
  138. .state-classify{
  139. font-size: 32rpx;
  140. }
  141. .state-number{
  142. margin-top: 8rpx;
  143. font-size: 40rpx;
  144. }
  145. }
  146. .state1{
  147. background: linear-gradient(180deg, rgba(255,174,0,1) 0%,rgba(255,123,0,1) 100%);
  148. }
  149. .state2{
  150. background: linear-gradient(178.54deg, rgba(50,204,213,1) 0%,rgba(0,143,169,1) 99.73%);
  151. }
  152. .state3{
  153. background: linear-gradient(180deg, rgba(24,194,114,1) 0%,rgba(0,148,79,1) 100%);
  154. }
  155. .state4{
  156. background: linear-gradient(180deg, rgba(187,187,187,1) 0%,rgba(153,153,153,1) 100%);
  157. }
  158. }
  159. }
  160. // 工单状态
  161. .workOrder-state{
  162. border-radius: 8px;
  163. background-color: rgba(255,255,255,1);
  164. margin: 24rpx 32rpx;
  165. padding: 24rpx;
  166. .title{
  167. color: rgba(16,16,16,1);
  168. font-size: 36rpx;
  169. font-weight: bold;
  170. }
  171. }
  172. }
  173. </style>