合伙人运营小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /* 全局容器 */
  2. .work-order-container {
  3. background-color: #f5f7fa;
  4. width: 100%;
  5. padding: 20rpx;
  6. padding-bottom: 40rpx;
  7. box-sizing: border-box;
  8. }
  9. /* 工单头部 */
  10. .order-header {
  11. width: 100%;
  12. padding: 20rpx;
  13. background-color: #fff;
  14. display: flex;
  15. flex-direction: column;
  16. justify-content: space-between;
  17. align-items: flex-start;
  18. margin-bottom: 20rpx;
  19. border-radius: 12rpx;
  20. box-sizing: border-box;
  21. }
  22. .order-left {
  23. display: flex;
  24. flex-direction: column;
  25. gap: 15rpx;
  26. }
  27. .order-no {
  28. font-size: 28rpx;
  29. color: #666;
  30. }
  31. .order-status {
  32. font-size: 32rpx;
  33. font-weight: 600;
  34. padding: 4rpx 0rpx;
  35. border-radius: 20rpx;
  36. }
  37. /* 不同状态样式 */
  38. .status-pending {
  39. color: #ff9500;
  40. background: #fff8e8;
  41. }
  42. .status-assigned {
  43. color: #1296db;
  44. background: #e8f4fc;
  45. }
  46. .status-processing {
  47. color: #7676ff;
  48. background: #f0f0ff;
  49. }
  50. .status-completed {
  51. color: #00c853;
  52. background: #e8fdf2;
  53. }
  54. .status-canceled {
  55. color: #999;
  56. background: #f5f5f5;
  57. }
  58. .order-time {
  59. font-size: 26rpx;
  60. color: #999;
  61. white-space: nowrap;
  62. margin: 20rpx 0rpx;
  63. }
  64. /* 通用卡片样式 */
  65. .device-card, .desc-card, .assign-card, .process-card {
  66. background-color: #fff;
  67. border-radius: 12rpx;
  68. margin: 20rpx 0rpx;
  69. padding: 30rpx;
  70. box-sizing: border-box;
  71. }
  72. .card-title {
  73. font-size: 32rpx;
  74. font-weight: 600;
  75. color: #333;
  76. margin-bottom: 25rpx;
  77. padding-bottom: 15rpx;
  78. border-bottom: 1rpx solid #f0f0f0;
  79. }
  80. /* 设备信息 */
  81. .device-info {
  82. display: flex;
  83. flex-wrap: wrap;
  84. gap: 20rpx;
  85. }
  86. .info-item {
  87. width: 46%;
  88. display: flex;
  89. flex-direction: column;
  90. gap: 8rpx;
  91. }
  92. .label {
  93. font-size: 26rpx;
  94. color: #999;
  95. }
  96. .value {
  97. font-size: 28rpx;
  98. color: #333;
  99. font-weight: 500;
  100. margin-top: 10rpx;
  101. }
  102. /* 工单描述 */
  103. .desc-content {
  104. display: flex;
  105. flex-direction: column;
  106. gap: 20rpx;
  107. }
  108. .desc-item {
  109. display: flex;
  110. flex-direction: column;
  111. gap: 8rpx;
  112. }
  113. .full-width {
  114. width: 100%;
  115. }
  116. .fault-imgs {
  117. display: flex;
  118. gap: 15rpx;
  119. margin-top: 10rpx;
  120. flex-wrap: wrap;
  121. }
  122. .img-item {
  123. width: 160rpx;
  124. height: 160rpx;
  125. border-radius: 8rpx;
  126. object-fit: cover;
  127. }
  128. /* 指派信息 */
  129. .assign-info {
  130. display: flex;
  131. flex-direction: column;
  132. gap: 20rpx;
  133. }
  134. /* 处理进度时间轴 */
  135. .process-timeline {
  136. position: relative;
  137. padding-left: 20rpx;
  138. margin-left: 10rpx;
  139. box-sizing: border-box;
  140. }
  141. .process-timeline::before {
  142. content: '';
  143. position: absolute;
  144. left: 20rpx;
  145. top: 10rpx;
  146. bottom: 140rpx;
  147. width: 2rpx;
  148. background-color: #e5e5e5;
  149. z-index: 1;
  150. }
  151. .timeline-item {
  152. position: relative;
  153. margin-bottom: 40rpx;
  154. padding-left: 30rpx;
  155. }
  156. .timeline-item:last-child {
  157. margin-bottom: 0;
  158. }
  159. .timeline-dot {
  160. position: absolute;
  161. left: -10rpx;
  162. top: 0;
  163. width: 20rpx;
  164. height: 20rpx;
  165. border-radius: 50%;
  166. background-color: #e5e5e5;
  167. z-index: 2;
  168. }
  169. /* 激活的进度点 */
  170. .timeline-item.active .timeline-dot {
  171. background-color: #1296db;
  172. }
  173. .timeline-content {
  174. display: flex;
  175. flex-direction: column;
  176. gap: 8rpx;
  177. }
  178. .timeline-content .step {
  179. font-size: 28rpx;
  180. font-weight: 600;
  181. color: #333;
  182. }
  183. .timeline-content .time {
  184. font-size: 24rpx;
  185. color: #999;
  186. }
  187. .timeline-content .operator, .timeline-content .desc {
  188. font-size: 26rpx;
  189. color: #666;
  190. }
  191. /* 底部操作栏 */
  192. .bottom-bar {
  193. position: fixed;
  194. bottom: 0;
  195. left: 0;
  196. right: 0;
  197. height: 100rpx;
  198. background-color: #fff;
  199. display: flex;
  200. align-items: center;
  201. justify-content: flex-end;
  202. padding: 0 30rpx;
  203. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  204. z-index: 99;
  205. }
  206. .btn {
  207. height: 70rpx;
  208. line-height: 70rpx;
  209. padding: 0 30rpx;
  210. border-radius: 35rpx;
  211. font-size: 28rpx;
  212. margin-left: 20rpx;
  213. border: none;
  214. }
  215. .cancel-btn {
  216. color: #666;
  217. background-color: #f5f5f5;
  218. }
  219. .assign-btn {
  220. color: #fff;
  221. background-color: #1296db;
  222. }
  223. .process-btn {
  224. color: #fff;
  225. background-color: #7676ff;
  226. }
  227. .complete-btn {
  228. color: #fff;
  229. background-color: #00c853;
  230. }
  231. .rework-btn {
  232. color: #ff9500;
  233. background-color: #fff8e8;
  234. }
  235. /* 查看更多按钮样式 */
  236. .toggle-more {
  237. display: flex;
  238. align-items: center;
  239. justify-content: center;
  240. padding: 10rpx 0;
  241. color: #007aff;
  242. font-size: 28rpx;
  243. margin: 10rpx 0;
  244. }
  245. .toggle-more .icon {
  246. margin-left: 8rpx;
  247. font-size: 24rpx;
  248. }