index.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. .content.data-v-c0232ef0 {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100vh;
  5. background-color: #f7f9fa;
  6. box-sizing: border-box;
  7. }
  8. .search-container.data-v-c0232ef0 {
  9. width: 100%;
  10. padding: 20rpx 30rpx;
  11. background-color: #fff;
  12. box-sizing: border-box;
  13. }
  14. .search-container .search-box.data-v-c0232ef0 {
  15. width: 100%;
  16. height: 80rpx;
  17. background-color: #f5f5f5;
  18. border-radius: 40rpx;
  19. display: flex;
  20. align-items: center;
  21. padding: 0 30rpx;
  22. box-sizing: border-box;
  23. }
  24. .search-container .search-box .search-icon.data-v-c0232ef0 {
  25. font-size: 32rpx;
  26. color: #999;
  27. margin-right: 16rpx;
  28. line-height: 1;
  29. display: flex;
  30. align-items: center;
  31. }
  32. .search-container .search-box .search-input.data-v-c0232ef0 {
  33. flex: 1;
  34. font-size: 28rpx;
  35. color: #333;
  36. background: transparent;
  37. border: none;
  38. }
  39. .tabs.data-v-c0232ef0 {
  40. display: flex;
  41. background-color: #fff;
  42. border-bottom: 1rpx solid #f0f0f0;
  43. padding: 0 30rpx;
  44. }
  45. .tabs .tab-item.data-v-c0232ef0 {
  46. flex: 1;
  47. height: 88rpx;
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. font-size: 32rpx;
  52. color: #666;
  53. position: relative;
  54. transition: color 0.3s;
  55. }
  56. .tabs .tab-item.active.data-v-c0232ef0 {
  57. color: #FF6B35;
  58. font-weight: 600;
  59. }
  60. .tabs .tab-item.active.data-v-c0232ef0::after {
  61. content: "";
  62. position: absolute;
  63. bottom: 0;
  64. left: 50%;
  65. transform: translateX(-50%);
  66. width: 60rpx;
  67. height: 4rpx;
  68. background-color: #FF6B35;
  69. border-radius: 2rpx;
  70. }
  71. .order-list.data-v-c0232ef0 {
  72. flex: 1;
  73. padding: 20rpx 30rpx;
  74. box-sizing: border-box;
  75. }
  76. .order-card.data-v-c0232ef0 {
  77. width: 100%;
  78. background-color: #fff;
  79. border-radius: 20rpx;
  80. padding: 30rpx;
  81. margin-bottom: 20rpx;
  82. box-shadow: 0rpx 0rpx 11rpx 0rpx rgba(0, 0, 0, 0.06);
  83. box-sizing: border-box;
  84. }
  85. .order-card .order-header.data-v-c0232ef0 {
  86. display: flex;
  87. justify-content: space-between;
  88. align-items: center;
  89. margin-bottom: 20rpx;
  90. }
  91. .order-card .order-header .order-number.data-v-c0232ef0 {
  92. font-size: 28rpx;
  93. color: #151515;
  94. font-weight: 500;
  95. }
  96. .order-card .order-header .order-status.data-v-c0232ef0 {
  97. font-size: 28rpx;
  98. font-weight: 500;
  99. }
  100. .order-card .order-header .order-status.status-active.data-v-c0232ef0 {
  101. color: #07C160;
  102. }
  103. .order-card .order-header .order-status.status-completed.data-v-c0232ef0 {
  104. color: #999;
  105. }
  106. .order-card .order-header .order-status.status-cancelled.data-v-c0232ef0 {
  107. color: #FF3B30;
  108. }
  109. .order-card .store-info.data-v-c0232ef0 {
  110. display: flex;
  111. align-items: center;
  112. justify-content: space-between;
  113. margin-bottom: 12rpx;
  114. }
  115. .order-card .store-info .store-name.data-v-c0232ef0 {
  116. font-size: 30rpx;
  117. color: #151515;
  118. font-weight: 500;
  119. flex: 1;
  120. }
  121. .order-card .store-info .store-arrow.data-v-c0232ef0 {
  122. font-size: 36rpx;
  123. color: #999;
  124. margin-left: 10rpx;
  125. }
  126. .order-card .order-time.data-v-c0232ef0 {
  127. font-size: 24rpx;
  128. color: #999;
  129. margin-bottom: 20rpx;
  130. }
  131. .order-card .order-goods.data-v-c0232ef0 {
  132. display: flex;
  133. align-items: center;
  134. margin-bottom: 30rpx;
  135. }
  136. .order-card .order-goods .goods-images.data-v-c0232ef0 {
  137. display: flex;
  138. gap: 12rpx;
  139. margin-right: 20rpx;
  140. }
  141. .order-card .order-goods .goods-images .goods-image.data-v-c0232ef0 {
  142. width: 100rpx;
  143. height: 100rpx;
  144. border-radius: 8rpx;
  145. background-color: #f5f5f5;
  146. }
  147. .order-card .order-goods .goods-info.data-v-c0232ef0 {
  148. flex: 1;
  149. display: flex;
  150. flex-direction: column;
  151. align-items: flex-end;
  152. }
  153. .order-card .order-goods .goods-info .goods-price.data-v-c0232ef0 {
  154. font-size: 32rpx;
  155. color: #151515;
  156. font-weight: 600;
  157. margin-bottom: 8rpx;
  158. }
  159. .order-card .order-goods .goods-info .goods-count.data-v-c0232ef0 {
  160. font-size: 24rpx;
  161. color: #999;
  162. }
  163. .order-card .order-actions.data-v-c0232ef0 {
  164. display: flex;
  165. gap: 20rpx;
  166. padding-top: 20rpx;
  167. border-top: 1rpx solid #f0f0f0;
  168. }
  169. .order-card .order-actions .action-btn.data-v-c0232ef0 {
  170. flex: 1;
  171. height: 68rpx;
  172. display: flex;
  173. align-items: center;
  174. justify-content: center;
  175. border-radius: 34rpx;
  176. font-size: 28rpx;
  177. font-weight: 500;
  178. transition: all 0.3s;
  179. }
  180. .order-card .order-actions .action-btn.outline.data-v-c0232ef0 {
  181. border: 2rpx solid #FF6B35;
  182. color: #FF6B35;
  183. background-color: transparent;
  184. }
  185. .order-card .order-actions .action-btn.outline.data-v-c0232ef0:active {
  186. background-color: #fff4e6;
  187. }
  188. .order-card .order-actions .action-btn.primary.data-v-c0232ef0 {
  189. background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  190. color: #fff;
  191. }
  192. .order-card .order-actions .action-btn.primary.data-v-c0232ef0:active {
  193. opacity: 0.8;
  194. }
  195. .empty-state.data-v-c0232ef0 {
  196. width: 100%;
  197. padding: 100rpx 0;
  198. display: flex;
  199. justify-content: center;
  200. align-items: center;
  201. }
  202. .empty-state .empty-text.data-v-c0232ef0 {
  203. font-size: 28rpx;
  204. color: #999;
  205. }