orders.less 4.5 KB

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