index.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. ::v-deep .u-transition{
  2. z-index: 999 !important;//解决预览图片层级问题
  3. }
  4. ::v-deep .order_list{
  5. overflow: hidden;
  6. padding: 0 20rpx;
  7. font-size: 28rpx;
  8. color: #333333;
  9. background-color: #f5f7fa;
  10. min-height: 100vh;
  11. font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  12. .search_form{
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. gap: 15rpx;
  17. margin-top: 20rpx;
  18. background-color: #ffffff;
  19. border-radius: 16rpx;
  20. padding: 20rpx;
  21. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  22. transition: all 0.3s ease;
  23. }
  24. .btns{
  25. display: flex;
  26. gap: 16rpx;
  27. padding: 24rpx 20rpx;
  28. background-color: #ffffff;
  29. border-top: 1rpx solid #f0f2f5;
  30. border-radius: 16rpx 16rpx 0 0;
  31. margin-top: 20rpx;
  32. button{
  33. flex: 1;
  34. border-radius: 12rpx;
  35. height: 88rpx;
  36. font-size: 30rpx;
  37. font-weight: 500;
  38. transition: all 0.3s ease;
  39. &:hover{
  40. transform: translateY(-2rpx);
  41. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
  42. }
  43. }
  44. }
  45. .list_wrap{
  46. margin-top: 20rpx;
  47. overflow: auto;
  48. height: calc(100vh - 280rpx);
  49. width: 100%;
  50. .order_item{
  51. background-color: #ffffff;
  52. border-radius: 20rpx;
  53. padding: 32rpx;
  54. margin-bottom: 20rpx;
  55. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
  56. line-height: 52rpx;
  57. transition: all 0.3s ease;
  58. position: relative;
  59. overflow: hidden;
  60. &::before{
  61. content: '';
  62. position: absolute;
  63. top: 0;
  64. left: 0;
  65. width: 6rpx;
  66. height: 100%;
  67. background: linear-gradient(180deg, #1a7cec 0%, #5FB8FF 100%);
  68. border-radius: 20rpx 0 0 20rpx;
  69. }
  70. .order_col_1{
  71. display: grid;
  72. flex: 1;
  73. margin-top: 24rpx;
  74. padding-top: 24rpx;
  75. border-top: 1rpx solid #f0f2f5;
  76. &:first-child{
  77. margin-top: 0;
  78. padding-top: 0;
  79. border-top: none;
  80. }
  81. }
  82. .order_col_2{
  83. display: grid;
  84. grid-template-columns: repeat(2, 1fr);
  85. }
  86. .order_info{
  87. font-size: 26rpx;
  88. display: flex;
  89. align-items: center;
  90. color: #666666;
  91. &::before{
  92. content: '';
  93. width: 6rpx;
  94. height: 6rpx;
  95. border-radius: 50%;
  96. background-color: #4A90E2;
  97. margin-right: 12rpx;
  98. }
  99. }
  100. .title{
  101. font-weight: 600;
  102. font-size: 30rpx;
  103. color: #1a1a1a;
  104. }
  105. .money{
  106. font-size: 30rpx;
  107. font-weight: 700;
  108. color: #f13939;
  109. background: linear-gradient(135deg, #FF6B6B 0%, #f7a071 100%);
  110. -webkit-background-clip: text;
  111. -webkit-text-fill-color: transparent;
  112. background-clip: text;
  113. }
  114. .scroll_img{
  115. width: calc(100vw - 112rpx);
  116. border-radius: 12rpx;
  117. overflow: hidden;
  118. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
  119. }
  120. }
  121. }
  122. .search_pop{
  123. padding: 48rpx 24rpx;
  124. background-color: #ffffff;
  125. border-radius: 20rpx 20rpx 0 0;
  126. .u-form-item{
  127. margin-bottom: 36rpx;
  128. &:last-child{
  129. margin-bottom: 0;
  130. }
  131. }
  132. .u-form-item__label{
  133. font-size: 28rpx;
  134. font-weight: 500;
  135. color: #333333;
  136. margin-bottom: 12rpx;
  137. display: block;
  138. }
  139. .u-input{
  140. border-radius: 12rpx;
  141. border: 2rpx solid #f0f2f5;
  142. transition: all 0.3s ease;
  143. &:focus{
  144. border-color: #4A90E2;
  145. box-shadow: 0 0 0 4rpx rgba(74, 144, 226, 0.1);
  146. }
  147. }
  148. }
  149. // 美化滑动操作按钮
  150. .u-swipe-action__item{
  151. border-radius: 0 20rpx 20rpx 0;
  152. overflow: hidden;
  153. .u-swipe-action__content{
  154. border-radius: 20rpx;
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. font-size: 28rpx;
  159. font-weight: 500;
  160. transition: all 0.3s ease;
  161. &:hover{
  162. opacity: 0.9;
  163. }
  164. }
  165. }
  166. // 美化空状态
  167. .u-empty{
  168. margin-top: 120rpx;
  169. .u-empty__text{
  170. font-size: 28rpx;
  171. color: #999999;
  172. margin-top: 20rpx;
  173. }
  174. .u-empty__icon{
  175. width: 160rpx;
  176. height: 160rpx;
  177. }
  178. }
  179. // 自定义滚动条
  180. ::-webkit-scrollbar{
  181. width: 6rpx;
  182. height: 6rpx;
  183. }
  184. ::-webkit-scrollbar-track{
  185. background: #f1f1f1;
  186. border-radius: 3rpx;
  187. }
  188. ::-webkit-scrollbar-thumb{
  189. background: #c1c1c1;
  190. border-radius: 3rpx;
  191. }
  192. ::-webkit-scrollbar-thumb:hover{
  193. background: #a8a8a8;
  194. }
  195. }
  196. // 响应式设计
  197. @media (max-width: 375px) {
  198. ::v-deep .order_list{
  199. .list_wrap{
  200. .order_item{
  201. padding: 28rpx;
  202. .order_col_2{
  203. grid-template-columns: 1fr;
  204. }
  205. }
  206. }
  207. }
  208. }