合伙人运营小程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

index.wxss 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. page {
  2. width: 100%;
  3. background-color: #F7F8FA;
  4. font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  5. box-sizing: border-box;
  6. }
  7. .container {
  8. width: 100%;
  9. min-height: 100%;
  10. padding: 20rpx 20rpx;
  11. /* padding-bottom: 160rpx; */
  12. box-sizing: border-box;
  13. }
  14. .container_top{
  15. width: 100%;
  16. position: fixed;
  17. top: 0rpx;
  18. left: 0rpx;
  19. z-index: 99;
  20. background: #FFFFFF;
  21. }
  22. .filter_box{
  23. width: 100%;
  24. padding: 8rpx 16rpx;
  25. box-sizing: border-box;
  26. /* background: #FFFFFF; */
  27. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
  28. /* border-bottom:1rpx solid #ccc; */
  29. margin:16rpx 0rpx;
  30. }
  31. /* 工单分类筛选栏 */
  32. .filter-bar {
  33. width: 100%;
  34. display: flex;
  35. overflow-x: auto;
  36. white-space: nowrap;
  37. box-sizing: border-box;
  38. }
  39. .filter-bar::-webkit-scrollbar {
  40. display: none;
  41. }
  42. .filter-item {
  43. width: 100%;
  44. display: inline-flex;
  45. align-items: center;
  46. padding: 16rpx 24rpx;
  47. border-radius: 8rpx;
  48. font-size: 28rpx;
  49. color: #4E5969;
  50. position: relative;
  51. box-sizing: border-box;
  52. }
  53. .filter-active {
  54. background: linear-gradient(135deg, #007545 0%, #007545 100%);
  55. color: #FFFFFF;
  56. }
  57. .filter-badge {
  58. display: inline-flex;
  59. align-items: center;
  60. justify-content: center;
  61. min-width: 32rpx;
  62. height: 32rpx;
  63. background: #F53F3F;
  64. color: #FFFFFF;
  65. font-size: 20rpx;
  66. border-radius: 16rpx;
  67. margin-left: 8rpx;
  68. padding: 0 6rpx;
  69. }
  70. .filter-active .filter-badge {
  71. background: #FFFFFF;
  72. color: #007545;
  73. }
  74. /* 工单状态筛选栏 */
  75. .status-filter {
  76. width: 100%;
  77. display: flex;
  78. /* background: #FFFFFF; */
  79. padding: 12rpx 16rpx;
  80. padding-bottom:20rpx;
  81. border-radius: 8rpx;
  82. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
  83. flex-wrap: wrap;
  84. box-sizing: border-box;
  85. }
  86. .status-item {
  87. flex: 1;
  88. min-width: 120rpx;
  89. text-align: center;
  90. font-size: 28rpx;
  91. color: #86909C;
  92. padding: 12rpx 0;
  93. border-radius: 6rpx;
  94. margin: 4rpx;
  95. }
  96. .status-active {
  97. color: #007545;
  98. font-weight: 600;
  99. background: #EEF7FF;
  100. }
  101. /* 工单列表 */
  102. .order-list {
  103. width: 100%;
  104. }
  105. .empty-wrap {
  106. padding: 100rpx 0;
  107. text-align: center;
  108. }
  109. .empty-icon {
  110. font-size: 80rpx;
  111. color: #C9CDD4;
  112. margin-bottom: 20rpx;
  113. }
  114. .empty-text {
  115. font-size: 28rpx;
  116. color: #86909C;
  117. margin-bottom: 8rpx;
  118. }
  119. .empty-subtext {
  120. font-size: 24rpx;
  121. color: #C9CDD4;
  122. }
  123. /* 工单卡片 */
  124. .order-card {
  125. width: 100%;
  126. position: relative;
  127. background: #FFFFFF;
  128. border-radius: 12rpx;
  129. padding: 24rpx;
  130. margin-bottom: 16rpx;
  131. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
  132. box-sizing: border-box;
  133. }
  134. /* 状态标签 */
  135. .order-tag {
  136. position: absolute;
  137. top: 24rpx;
  138. right: 24rpx;
  139. padding: 4rpx 12rpx;
  140. border-radius: 6rpx;
  141. font-size: 22rpx;
  142. color: #FFFFFF;
  143. }
  144. .tag-pending {
  145. background: #FF7D00;
  146. }
  147. .tag-processing {
  148. background: #007545;
  149. }
  150. .tag-completed {
  151. background: #00B42A;
  152. }
  153. .tag-rejected {
  154. background: #F53F3F;
  155. }
  156. /* 左侧信息 */
  157. .order-left {
  158. margin-right: 140rpx;
  159. margin-bottom: 20rpx;
  160. }
  161. .order-code {
  162. font-size: 24rpx;
  163. color: #86909C;
  164. margin-bottom: 8rpx;
  165. }
  166. .order-title {
  167. font-size: 30rpx;
  168. font-weight: 600;
  169. color: #1D2129;
  170. line-height: 1.4;
  171. margin-bottom: 8rpx;
  172. }
  173. .order-desc {
  174. font-size: 26rpx;
  175. color: #4E5969;
  176. line-height: 1.4;
  177. display: -webkit-box;
  178. -webkit-line-clamp: 2;
  179. -webkit-box-orient: vertical;
  180. overflow: hidden;
  181. margin-bottom: 12rpx;
  182. }
  183. .order-meta {
  184. display: flex;
  185. flex-direction: column;
  186. justify-content: space-between;
  187. font-size: 22rpx;
  188. color: #86909C;
  189. }
  190. /* 右侧操作区 */
  191. .order-right {
  192. position: absolute;
  193. top: 24rpx;
  194. right: 24rpx;
  195. display: flex;
  196. flex-direction: column;
  197. gap: 8rpx;
  198. align-items: flex-end;
  199. }
  200. .opt-btn {
  201. width: 100rpx;
  202. height: 56rpx;
  203. line-height: 56rpx;
  204. padding: 0;
  205. font-size: 24rpx;
  206. border-radius: 6rpx;
  207. border: none;
  208. }
  209. .opt-btn::after {
  210. border: none;
  211. }
  212. .dispatch-btn {
  213. background: #165DFF;
  214. color: #FFFFFF;
  215. }
  216. .complete-btn {
  217. background: #00B42A;
  218. color: #FFFFFF;
  219. }
  220. .reject-btn {
  221. background: #F53F3F;
  222. color: #FFFFFF;
  223. }
  224. .opt-text {
  225. font-size: 22rpx;
  226. color: #86909C;
  227. margin-top: 8rpx;
  228. }
  229. /* 底部新建工单按钮 */
  230. .add-bar {
  231. position: fixed;
  232. bottom: 0;
  233. left: 0;
  234. right: 0;
  235. padding: 20rpx 24rpx;
  236. background: #FFFFFF;
  237. box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06);
  238. z-index: 99;
  239. }
  240. .add-btn {
  241. width: 100%;
  242. height: 88rpx;
  243. line-height: 88rpx;
  244. padding: 0;
  245. background: linear-gradient(135deg, #007545 0%, #007545 100%);
  246. color: #FFFFFF;
  247. font-size: 30rpx;
  248. font-weight: 600;
  249. border-radius: 12rpx;
  250. border: none;
  251. }
  252. .add-btn::after {
  253. border: none;
  254. }
  255. /* 深色模式适配 */
  256. @media (prefers-color-scheme: dark) {
  257. page {
  258. background-color: #1D1D1F;
  259. }
  260. .filter-bar, .status-filter, .order-card, .add-bar {
  261. background: #2C2C2E;
  262. color: #FFFFFF;
  263. }
  264. .order-title {
  265. color: #FFFFFF;
  266. }
  267. .order-desc {
  268. color: #C9CDD4;
  269. }
  270. .order-code, .order-meta, .opt-text {
  271. color: #8E8E93;
  272. }
  273. .status-active {
  274. background: #007545;
  275. color: #FFFFFF;
  276. }
  277. }