orders.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /* pages/orders/orders.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F4F4F4;
  7. }
  8. .container {
  9. display: flex;
  10. flex-direction: column;
  11. }
  12. .record-content {
  13. display: flex;
  14. flex-direction: column;
  15. width: 100%;
  16. flex: 1;
  17. overflow-y: auto;
  18. }
  19. .record-tab {
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-between;
  23. padding: 28rpx 30rpx 16rpx;
  24. >view {
  25. font-size: 32rpx;
  26. font-family: PingFangSC-Regular, PingFang SC;
  27. font-weight: 500;
  28. color: rgba(0, 0, 0, 0.4);
  29. &.active {
  30. font-size: 32rpx;
  31. font-family: PingFangSC-Semibold, PingFang SC;
  32. font-weight: 600;
  33. color: #131415;
  34. position: relative;
  35. z-index: 2;
  36. &::before {
  37. content: "";
  38. position: absolute;
  39. left: 50%;
  40. margin-left: -17rpx;
  41. bottom: -12rpx;
  42. z-index: -1;
  43. width: 34rpx;
  44. height: 4rpx;
  45. background: #534E49;
  46. }
  47. }
  48. }
  49. }
  50. .record-list {
  51. flex: 1;
  52. overflow-y: scroll;
  53. box-sizing: border-box;
  54. }
  55. .list-item-group {
  56. padding-bottom: 88rpx;
  57. }
  58. .list-item {
  59. background: #FFFFFF;
  60. border-radius: 20rpx;
  61. margin: 24rpx 26rpx 0;
  62. padding: 24rpx 24rpx 20rpx;
  63. .item-top {
  64. display: flex;
  65. justify-content: space-between;
  66. font-weight: 600;
  67. font-size: 30rpx;
  68. line-height: 48rpx;
  69. padding-bottom: 24rpx;
  70. border-bottom: 1px solid #F2F2F2;
  71. margin-bottom: 24rpx;
  72. .item-mid {
  73. color: #131415;
  74. font-size: 28rpx;
  75. color: #999999;
  76. font-weight: 400;
  77. }
  78. > text {
  79. color: #777777;
  80. }
  81. .red {
  82. color: #DDA64C;
  83. }
  84. }
  85. .item-content {
  86. display: flex;
  87. .goods-icon {
  88. width: 140rpx;
  89. height: 140rpx;
  90. margin-right: 24rpx;
  91. flex-shrink: 0;
  92. border-radius: 6px;
  93. overflow: hidden;
  94. }
  95. .goods-desc {
  96. flex: 1 auto;
  97. display: flex;
  98. flex-direction: column;
  99. }
  100. .goodsInfo {
  101. display: flex;
  102. justify-content: space-between;
  103. padding-top: 4rpx;
  104. .goods-name {
  105. flex: 1 auto;
  106. white-space: nowrap;
  107. overflow: hidden;
  108. font-weight: 600;
  109. font-size: 28rpx;
  110. text-overflow: ellipsis;
  111. max-width: 320rpx;
  112. }
  113. .goods-price {
  114. flex-shrink: 0;
  115. font-family: DINAlternate, DINAlternate;
  116. font-weight: bold;
  117. font-size: 28rpx;
  118. color: #131415;
  119. line-height: 48rpx;
  120. }
  121. }
  122. .goods-type {
  123. display: flex;
  124. justify-content: space-between;
  125. align-items: center;
  126. padding-top: 12rpx;
  127. .innerGroup {
  128. display: flex;
  129. position: relative;
  130. }
  131. .innerFree {
  132. margin-left: 8rpx;
  133. font-size: 24rpx;
  134. color: #FF0047;
  135. line-height: 34rpx;
  136. border-radius: 4rpx;
  137. border: 2rpx solid rgba(255,0,71,0.25);
  138. padding: 2rpx 8rpx;
  139. // text {
  140. // // font-weight: bold;
  141. // }
  142. }
  143. .goods-card {
  144. background: #FDF2E2;
  145. border-radius: 6rpx;
  146. font-size: 26rpx;
  147. color: #A76D1C;
  148. line-height: 36rpx;
  149. padding: 2rpx 12rpx 0;
  150. }
  151. .goods-num {
  152. font-size: 28rpx;
  153. color: #777777;
  154. line-height: 36rpx;
  155. }
  156. }
  157. }
  158. .item-footer {
  159. padding-top: 18rpx;
  160. display: flex;
  161. justify-content: space-between;
  162. align-items: center;
  163. .order-price {
  164. font-weight: 600;
  165. font-size: 28rpx;
  166. color: #131415;
  167. line-height: 48rpx;
  168. .price {
  169. font-family: DINAlternate, DINAlternate;
  170. font-weight: bold;
  171. font-size: 28rpx;
  172. color: #FE2451;
  173. line-height: 48rpx;
  174. }
  175. }
  176. button {
  177. margin: 0;
  178. border-radius: 76rpx;
  179. background-color: #FFFFFF;
  180. border: 2rpx solid #DCDCDC;
  181. font-weight: 500;
  182. font-size: 28rpx;
  183. color: #333333;
  184. width: auto;
  185. padding: 10rpx 22rpx;
  186. line-height: 40rpx;
  187. }
  188. .sure {
  189. background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
  190. border-radius: 76rpx;
  191. border: none;
  192. color: #FBEAC9;
  193. }
  194. }
  195. }
  196. .empty-box {
  197. position: absolute;
  198. left: 50%;
  199. top: 50%;
  200. transform: translate(-50%, -80%);
  201. font-size: 32rpx;
  202. font-family: PingFangSC-Regular, PingFang SC;
  203. font-weight: 400;
  204. color: #999999;
  205. image {
  206. width: 408rpx;
  207. height: 204rpx;
  208. }
  209. .empty-text {
  210. font-size: 28rpx;
  211. color: #777777;
  212. line-height: 40rpx;
  213. text-align: center;
  214. padding-top: 36rpx;
  215. }
  216. }