orders.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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: -4rpx;
  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. padding-bottom: 24rpx;
  78. .item-mid {
  79. font-weight: 400;
  80. font-size: 26rpx;
  81. color: #AAAAAA;
  82. line-height: 36rpx;
  83. }
  84. >text {
  85. font-weight: 600;
  86. font-size: 28rpx;
  87. color: #131415;
  88. line-height: 40rpx;
  89. }
  90. .red {
  91. color: #FD4502;
  92. }
  93. .closed {
  94. color: #AAAAAA;
  95. }
  96. }
  97. .item-content {
  98. margin-bottom: 16rpx;
  99. display: flex;
  100. justify-content: space-between;
  101. .imgCon{
  102. display: flex;
  103. }
  104. .goods-icon {
  105. width: 120rpx;
  106. height: 120rpx;
  107. margin-right: 24rpx;
  108. flex-shrink: 0;
  109. border-radius: 6px;
  110. overflow: hidden;
  111. }
  112. .goods-desc {
  113. display: flex;
  114. flex-direction: column;
  115. }
  116. .goodsInfo {
  117. display: flex;
  118. justify-content: space-between;
  119. padding-top: 4rpx;
  120. .goods-price {
  121. flex-shrink: 0;
  122. font-family: DINAlternate, DINAlternate;
  123. font-weight: bold;
  124. font-size: 28rpx;
  125. color: #131415;
  126. line-height: 48rpx;
  127. .stuff {
  128. font-size: 32rpx;
  129. margin-right: 4rpx;
  130. }
  131. .numberDisplay--integer {
  132. line-height: 52rpx;
  133. font-size: 44rpx;
  134. }
  135. .numberDisplay--decimal {
  136. font-size: 32rpx;
  137. }
  138. }
  139. }
  140. .goods-type {
  141. display: flex;
  142. justify-content: flex-end;
  143. align-items: center;
  144. padding-top: 10rpx;
  145. .goods-card {
  146. // background: #FEEDF0;
  147. border-radius: 6rpx;
  148. font-size: 26rpx;
  149. color: #131415;
  150. line-height: 40rpx;
  151. // padding: 0 12rpx;
  152. }
  153. .goods-num {
  154. font-size: 26rpx;
  155. color: #999999;
  156. line-height: 36rpx;
  157. text-align: right;
  158. }
  159. }
  160. }
  161. .item-footer {
  162. border-top: 2rpx solid #EEEEEE;
  163. margin-top:8rpx;
  164. padding-top: 16rpx;
  165. display: flex;
  166. justify-content: space-between;
  167. align-items: center;
  168. .order-price {
  169. font-size: 28rpx;
  170. color: #999999;
  171. line-height: 48rpx;
  172. .price-first {
  173. font-weight: bold;
  174. color: #FE2451;
  175. font-size: 28rpx;
  176. }
  177. .price {
  178. font-family: DINAlternate, DINAlternate;
  179. font-weight: bold;
  180. font-size: 36rpx;
  181. color: #FE2451;
  182. line-height: 48rpx;
  183. }
  184. }
  185. button {
  186. margin: 0;
  187. border-radius: 12rpx;
  188. background: #fff;
  189. //border: 2rpx solid #DCDCDC;
  190. font-weight: 500;
  191. font-size: 28rpx;
  192. color: #131415;
  193. width: auto;
  194. padding: 0 24rpx;
  195. line-height: 54rpx;
  196. box-sizing: content-box;
  197. }
  198. .sure {
  199. background: #000000;
  200. border-radius: 36rpx;
  201. font-family: PingFangSC, PingFang SC;
  202. font-weight: 500;
  203. font-size: 26rpx;
  204. color: #FFFFFF;
  205. }
  206. }
  207. }
  208. .empty-box {
  209. position: absolute;
  210. left: 50%;
  211. top: 50%;
  212. transform: translate(-50%, -80%);
  213. image {
  214. width: 375rpx;
  215. height: 250rpx;
  216. }
  217. .empty-text {
  218. font-weight: 400;
  219. font-size: 28rpx;
  220. color: #AAAAAA;
  221. line-height: 40rpx;
  222. text-align: center;
  223. padding-top: -24rpx;
  224. }
  225. }