serviceTicket.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. .container {
  2. padding: 0;
  3. background: #f2f2f2;
  4. min-height: 100vh;
  5. }
  6. .ticket-list {
  7. padding: 20rpx;
  8. }
  9. .ticket-item {
  10. background: #fff;
  11. border-radius: 8rpx;
  12. padding: 20rpx;
  13. margin-bottom: 20rpx;
  14. }
  15. .ticket-header {
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. padding-bottom: 15rpx;
  20. }
  21. .ticket-no {
  22. display: flex;
  23. align-items: center;
  24. font-size: 28rpx;
  25. }
  26. .ticket-text {
  27. color: #333 !important;
  28. font-size: 32rpx;
  29. font-weight: bold;
  30. }
  31. .ticket-time {
  32. color: #666;
  33. font-size: 28rpx;
  34. }
  35. .ticket-content {
  36. padding: 15rpx 0;
  37. }
  38. .info-row {
  39. display: flex;
  40. justify-content: space-between;
  41. align-items: center;
  42. margin-bottom: 10rpx;
  43. font-size: 28rpx;
  44. }
  45. .status {
  46. font-size: 24rpx;
  47. padding: 4rpx 12rpx;
  48. border-radius: 4rpx;
  49. }
  50. .ticket-actions {
  51. display: flex;
  52. justify-content: flex-end;
  53. gap: 20rpx;
  54. padding-top: 15rpx;
  55. border-top: 1rpx solid #eee;
  56. }
  57. /* Lin UI按钮样式覆盖 */
  58. .l-btn {
  59. min-width: 160rpx !important;
  60. }
  61. .processed-list {
  62. margin-top: 10rpx;
  63. }
  64. .processed-item {
  65. background-color: #fff;
  66. border-radius: 5rpx;
  67. padding: 20rpx;
  68. margin-bottom: 15rpx; /* 增加底部间距 */
  69. box-shadow: 0 2rpx 5rpx rgba(0, 0, 0, 0.1);
  70. }
  71. .processed-header {
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: center;
  75. margin-bottom: 10rpx;
  76. }
  77. .order-number {
  78. font-weight: bold;
  79. font-size: 16rpx; /* 增加字体大小 */
  80. color: #333;
  81. }
  82. .completion-time {
  83. font-size: 14rpx; /* 增加字体大小 */
  84. color: #999;
  85. }
  86. .processed-content {
  87. font-size: 14rpx;
  88. color: #666;
  89. margin-top: 5rpx; /* 增加顶部间距 */
  90. }
  91. .processed-content text {
  92. display: block; /* 每个文本占一行 */
  93. margin-bottom: 5rpx; /* 增加文本间距 */
  94. }
  95. .status {
  96. font-weight: bold;
  97. color: #4caf50; /* 状态颜色 */
  98. }
  99. .completed {
  100. color: #4caf50; /* 已完成状态颜色 */
  101. }
  102. /* 日期范围选择器 */
  103. .date-range-picker {
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. background: #fff;
  108. padding: 20rpx;
  109. }
  110. /* 日期项 */
  111. .date-item {
  112. flex: 1;
  113. display: flex;
  114. flex-direction: column;
  115. align-items: center;
  116. }
  117. /* 日期标签 */
  118. .date-label {
  119. color: #999;
  120. font-size: 24rpx;
  121. margin-bottom: 10rpx;
  122. }
  123. /* 日期值 */
  124. .date-value {
  125. color: #333;
  126. font-size: 28rpx;
  127. font-weight: 500;
  128. }
  129. /* 分隔符 */
  130. .separator {
  131. margin: 0 20rpx;
  132. color: #666;
  133. font-size: 28rpx;
  134. }
  135. .process-box {
  136. padding: 20rpx;
  137. }
  138. .table {
  139. background-color: #f2f2f2;
  140. display: flex;
  141. flex-direction: column;
  142. box-sizing: border-box;
  143. padding: 10rpx 20rpx;
  144. }
  145. .table_box {
  146. background-color: #fff;
  147. display: inline-block;
  148. border-radius: 10rpx;
  149. width: 96%;
  150. margin-bottom: 20rpx;
  151. padding: 20rpx;
  152. position: relative;
  153. }
  154. .status-pending {
  155. color: #ff4d4f;
  156. }
  157. .status-processing {
  158. color: #52c41a;
  159. }
  160. .search-input {
  161. height: 60rpx;
  162. line-height: 60rpx;
  163. text-align: centerå;
  164. }
  165. /* 弹窗样式 */
  166. .modal {
  167. position: fixed;
  168. top: 50%;
  169. left: 50%;
  170. transform: translate(-50%, -50%);
  171. width: 90%;
  172. background-color: #fff;
  173. border-radius: 10px;
  174. z-index: 1000;
  175. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  176. }
  177. /* 弹窗内容 */
  178. .modal-content {
  179. padding: 50rpx 20rpx;
  180. }
  181. /* 弹窗标题 */
  182. .modal-header {
  183. display: flex;
  184. justify-content: space-between;
  185. align-items: center;
  186. font-size: 18rpx;
  187. font-weight: bold;
  188. margin-bottom: 20px;
  189. }
  190. /* 关闭按钮 */
  191. .close-btn {
  192. background: none;
  193. border: none;
  194. font-size: 24px;
  195. color: #999;
  196. padding: 0;
  197. }
  198. /* 遮罩层 */
  199. .mask {
  200. position: fixed;
  201. top: 0;
  202. left: 0;
  203. width: 100%;
  204. height: 100%;
  205. background-color: rgba(0, 0, 0, 0.5);
  206. z-index: 999;
  207. }
  208. .product-item > text {
  209. font-size: 32rpx;
  210. }
  211. .quantity-input {
  212. display: inline-block;
  213. width: 52%;
  214. border: 1px solid #ddd;
  215. padding: 16rpx 16rpx;
  216. border-radius: 4px;
  217. font-size: 28rpx;
  218. color: #999;
  219. margin-bottom: 10rpx;
  220. }
  221. .product-label {
  222. display: inline-block;
  223. width: 220rpx;
  224. font-size: 32rpx;
  225. /* position: relative;
  226. top: -20rpx; */
  227. text-align: right;
  228. padding-right: 10rpx;
  229. color: #666;
  230. }
  231. .title {
  232. font-size: 34rpx;
  233. text-align: center;
  234. padding: 40rpx 20rpx 0 20rpx;
  235. color: #666;
  236. }