爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

352 lines
8.4 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .container.data-v-b419a402 {
  27. min-height: 100vh;
  28. background: #f5f5f5;
  29. }
  30. .top-section.data-v-b419a402 {
  31. background: #fff;
  32. padding: 60rpx 30rpx 20rpx;
  33. box-shadow: 0 8rpx 16rpx rgba(0, 200, 83, 0.15);
  34. }
  35. .top-section .header.data-v-b419a402 {
  36. display: flex;
  37. align-items: center;
  38. }
  39. .top-section .header .title.data-v-b419a402 {
  40. font-family: PingFang SC;
  41. font-weight: 500;
  42. font-size: 16px;
  43. line-height: 140%;
  44. letter-spacing: 0%;
  45. text-align: center;
  46. vertical-align: middle;
  47. margin-left: 30%;
  48. font-weight: bold;
  49. }
  50. .top-section .status-tabs.data-v-b419a402 {
  51. display: flex;
  52. background: rgba(255, 255, 255, 0.1);
  53. border-radius: 12rpx;
  54. padding: 4rpx;
  55. }
  56. .top-section .status-tabs .tab-item.data-v-b419a402 {
  57. flex: 1;
  58. text-align: center;
  59. padding: 16rpx 0;
  60. color: #353535;
  61. font-size: 28rpx;
  62. }
  63. .top-section .status-tabs .tab-item.active.data-v-b419a402 {
  64. background: #fff;
  65. border-radius: 8rpx;
  66. color: #00C853;
  67. }
  68. .filter-bar.data-v-b419a402 {
  69. display: flex;
  70. align-items: center;
  71. background: #fff;
  72. margin: 20rpx;
  73. border-radius: 12rpx;
  74. overflow: visible;
  75. padding: 0 0;
  76. position: relative;
  77. height: 64rpx;
  78. }
  79. .filter-item.data-v-b419a402 {
  80. display: flex;
  81. align-items: center;
  82. padding: 0 20rpx;
  83. font-size: 28rpx;
  84. color: #353535;
  85. border-right: 1px solid #eee;
  86. }
  87. .filter-item .text-green.data-v-b419a402 {
  88. color: #00C853;
  89. }
  90. .search-area.data-v-b419a402 {
  91. flex: 1;
  92. width: 100%;
  93. display: flex;
  94. justify-content: flex-end;
  95. align-items: center;
  96. position: static;
  97. overflow: visible;
  98. }
  99. .search-box.data-v-b419a402 {
  100. display: flex;
  101. align-items: center;
  102. width: 90%;
  103. position: absolute;
  104. left: 0;
  105. right: 0;
  106. top: 0;
  107. height: 100%;
  108. background: #f5f5f5;
  109. border-radius: 12rpx;
  110. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
  111. padding: 0 24rpx;
  112. z-index: 10;
  113. transform: translateX(100%);
  114. opacity: 0;
  115. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  116. }
  117. .search-box.active.data-v-b419a402 {
  118. transform: translateX(0);
  119. opacity: 1;
  120. }
  121. .search-box input.data-v-b419a402 {
  122. flex: 1;
  123. font-size: 28rpx;
  124. margin: 0 10rpx;
  125. background: transparent;
  126. border: none;
  127. outline: none;
  128. }
  129. .search-box .cancel-btn.data-v-b419a402 {
  130. color: #999;
  131. font-size: 28rpx;
  132. margin-left: 16rpx;
  133. }
  134. .search-icon.data-v-b419a402 {
  135. width: 64rpx;
  136. height: 64rpx;
  137. display: flex;
  138. align-items: center;
  139. justify-content: center;
  140. border-radius: 32rpx;
  141. background: #fff;
  142. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
  143. }
  144. .order-list.data-v-b419a402 {
  145. height: calc(100vh - 300rpx);
  146. width: 80%;
  147. margin: 0 auto;
  148. padding: 0 20rpx;
  149. }
  150. .order-item.data-v-b419a402 {
  151. background: #fff;
  152. border-radius: 12rpx;
  153. padding: 20rpx;
  154. margin-bottom: 20rpx;
  155. }
  156. .order-item .order-header.data-v-b419a402 {
  157. display: flex;
  158. justify-content: space-between;
  159. align-items: center;
  160. margin-bottom: 20rpx;
  161. }
  162. .order-item .order-header .order-id.data-v-b419a402 {
  163. font-size: 32rpx;
  164. color: #333;
  165. font-weight: 500;
  166. }
  167. .order-item .order-header .status-tag.data-v-b419a402 {
  168. font-size: 24rpx;
  169. padding: 4rpx 16rpx;
  170. border-radius: 20rpx;
  171. }
  172. .order-item .order-header .status-tag.appointed.data-v-b419a402 {
  173. color: #00C853;
  174. background: rgba(0, 200, 83, 0.1);
  175. }
  176. .order-item .order-header .status-tag.pending.data-v-b419a402 {
  177. color: #FF9800;
  178. background: rgba(255, 152, 0, 0.1);
  179. }
  180. .order-item .order-header .status-tag.waiting.data-v-b419a402 {
  181. color: #2196F3;
  182. background: rgba(33, 150, 243, 0.1);
  183. }
  184. .order-item .order-header .status-tag.rejected.data-v-b419a402 {
  185. color: #F44336;
  186. background: rgba(244, 67, 54, 0.1);
  187. }
  188. .order-item .order-info .info-item.data-v-b419a402 {
  189. display: flex;
  190. margin-bottom: 10rpx;
  191. }
  192. .order-item .order-info .info-item .label.data-v-b419a402 {
  193. color: #999;
  194. font-size: 28rpx;
  195. width: 160rpx;
  196. }
  197. .order-item .order-info .info-item .value.data-v-b419a402 {
  198. color: #333;
  199. font-size: 28rpx;
  200. flex: 1;
  201. }
  202. .order-item .order-actions.data-v-b419a402 {
  203. display: flex;
  204. justify-content: flex-end;
  205. margin-top: 20rpx;
  206. padding-top: 20rpx;
  207. border-top: 1px solid #f5f5f5;
  208. }
  209. .order-item .order-actions .action-btn.data-v-b419a402 {
  210. display: flex;
  211. align-items: center;
  212. padding: 10rpx 20rpx;
  213. margin-left: 20rpx;
  214. border-radius: 8rpx;
  215. }
  216. .order-item .order-actions .action-btn text.data-v-b419a402 {
  217. font-size: 28rpx;
  218. margin-left: 8rpx;
  219. }
  220. .order-item .order-actions .action-btn.reject.data-v-b419a402 {
  221. background: #f5f5f5;
  222. color: #666;
  223. }
  224. .order-item .order-actions .action-btn.approve.data-v-b419a402 {
  225. background: rgba(0, 200, 83, 0.1);
  226. color: #00C853;
  227. }
  228. .time-picker-overlay.data-v-b419a402 {
  229. position: fixed;
  230. top: 0;
  231. left: 0;
  232. right: 0;
  233. bottom: 0;
  234. z-index: 100;
  235. background: rgba(0, 0, 0, 0.08);
  236. }
  237. .time-picker-wrapper.data-v-b419a402 {
  238. background: #fff;
  239. border-radius: 16rpx;
  240. box-shadow: 0 8rpx 32rpx 0 rgba(0, 0, 0, 0.1);
  241. z-index: 101;
  242. }
  243. .time-type-header.data-v-b419a402 {
  244. display: flex;
  245. align-items: center;
  246. justify-content: center;
  247. padding: 30rpx 0;
  248. }
  249. .time-type-header .type-item.data-v-b419a402 {
  250. position: relative;
  251. padding: 0 40rpx;
  252. font-size: 32rpx;
  253. color: #999;
  254. }
  255. .time-type-header .type-item.active.data-v-b419a402 {
  256. color: #00C853;
  257. font-weight: bold;
  258. }
  259. .time-type-header .type-item .active-line.data-v-b419a402 {
  260. position: absolute;
  261. left: 50%;
  262. bottom: -10rpx;
  263. transform: translateX(-50%);
  264. width: 40rpx;
  265. height: 4rpx;
  266. background: #00C853;
  267. border-radius: 2rpx;
  268. }
  269. .time-type-header .type-divider.data-v-b419a402 {
  270. color: #999;
  271. font-size: 28rpx;
  272. margin: 0 20rpx;
  273. }
  274. .time-picker-content.data-v-b419a402 {
  275. position: relative;
  276. height: 440rpx;
  277. }
  278. .time-picker-content .select-mask.data-v-b419a402 {
  279. position: absolute;
  280. left: 0;
  281. right: 0;
  282. top: 50%;
  283. transform: translateY(-44rpx);
  284. height: 88rpx;
  285. z-index: 2;
  286. pointer-events: none;
  287. }
  288. .time-picker-content .select-mask .select-line.data-v-b419a402 {
  289. position: absolute;
  290. left: 0;
  291. right: 0;
  292. height: 1px;
  293. background: rgba(0, 0, 0, 0.1);
  294. }
  295. .time-picker-content .select-mask .select-line.data-v-b419a402:first-child {
  296. top: 0;
  297. }
  298. .time-picker-content .select-mask .select-line.data-v-b419a402:last-child {
  299. bottom: 0;
  300. }
  301. .time-picker-content .picker-view.data-v-b419a402 {
  302. width: 100%;
  303. height: 100%;
  304. }
  305. .time-picker-content .picker-view .picker-item.data-v-b419a402 {
  306. line-height: 88rpx;
  307. text-align: center;
  308. color: #999;
  309. font-size: 32rpx;
  310. }
  311. /* 选中项样式 */
  312. .data-v-b419a402 .uni-picker-view-indicator {
  313. height: 88rpx !important;
  314. }
  315. .data-v-b419a402 .uni-picker-view-mask {
  316. background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.95) 100%);
  317. }
  318. .data-v-b419a402 .uni-picker-view-indicator::before,.data-v-b419a402 .uni-picker-view-indicator::after {
  319. height: 1px;
  320. background-color: rgba(0, 0, 0, 0.1);
  321. }
  322. .data-v-b419a402 .uni-picker-view-content > view {
  323. color: #999;
  324. font-size: 32rpx;
  325. }
  326. .data-v-b419a402 .uni-picker-view-indicator view {
  327. color: #000 !important;
  328. font-weight: bold !important;
  329. }
  330. .time-picker-footer.data-v-b419a402 {
  331. padding: 20rpx;
  332. display: flex;
  333. justify-content: space-between;
  334. border-top: 1rpx solid #f5f5f5;
  335. }
  336. .time-picker-footer .btn.data-v-b419a402 {
  337. flex: 1;
  338. height: 88rpx;
  339. line-height: 88rpx;
  340. text-align: center;
  341. border-radius: 44rpx;
  342. font-size: 32rpx;
  343. margin: 0 10rpx;
  344. }
  345. .time-picker-footer .btn.btn-reset.data-v-b419a402 {
  346. background: #f8f8f8;
  347. color: #666;
  348. }
  349. .time-picker-footer .btn.btn-confirm.data-v-b419a402 {
  350. background: #00C853;
  351. color: #fff;
  352. }