orders.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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: 489rpx;
  13. background: url("https://oss.dayaedu.com/ktyq/1739529857509.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 38rpx;
  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: -20rpx;
  49. z-index: -1;
  50. width: 56rpx;
  51. height: 18rpx;
  52. background: url("https://oss.dayaedu.com/ktyq/1739867325778.png") no-repeat;
  53. background-size: 100% 100%;
  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. white-space: nowrap;
  85. overflow: hidden;
  86. text-overflow: ellipsis;
  87. margin-right: 20rpx;
  88. }
  89. >text {
  90. flex-shrink: 0;
  91. font-weight: 400;
  92. font-size: 28rpx;
  93. color: #777777;
  94. line-height: 48rpx;
  95. }
  96. .red {
  97. color: #FE462E;
  98. }
  99. .closed {
  100. color: #777777;
  101. }
  102. }
  103. .item-content {
  104. margin-bottom: 16rpx;
  105. display: flex;
  106. justify-content: space-between;
  107. .imgCon {
  108. display: flex;
  109. margin-right: 28rpx;
  110. overflow: hidden;
  111. .goodsDes {
  112. overflow: hidden;
  113. view {
  114. &:nth-child(1) {
  115. margin-top: 10rpx;
  116. font-weight: 400;
  117. font-size: 28rpx;
  118. color: #131415;
  119. line-height: 48rpx;
  120. white-space: nowrap;
  121. overflow: hidden;
  122. text-overflow: ellipsis;
  123. }
  124. &:nth-child(2) {
  125. margin-top: 10rpx;
  126. font-weight: 400;
  127. font-size: 24rpx;
  128. color: #777777;
  129. line-height: 36rpx;
  130. }
  131. }
  132. }
  133. }
  134. .goods-icon {
  135. width: 120rpx;
  136. height: 120rpx;
  137. margin-right: 24rpx;
  138. flex-shrink: 0;
  139. border-radius: 6px;
  140. overflow: hidden;
  141. }
  142. .goods-desc {
  143. flex-shrink: 0;
  144. display: flex;
  145. flex-direction: column;
  146. }
  147. .goodsInfo {
  148. display: flex;
  149. justify-content: space-between;
  150. padding-top: 4rpx;
  151. .goods-price {
  152. flex-shrink: 0;
  153. font-family: DINAlternate, DINAlternate;
  154. font-weight: bold;
  155. font-size: 28rpx;
  156. color: #131415;
  157. line-height: 48rpx;
  158. .stuff {
  159. font-size: 32rpx;
  160. margin-right: 4rpx;
  161. }
  162. .numberDisplay--integer {
  163. line-height: 52rpx;
  164. font-size: 44rpx;
  165. }
  166. .numberDisplay--decimal {
  167. font-size: 32rpx;
  168. }
  169. }
  170. }
  171. .goods-type {
  172. display: flex;
  173. justify-content: flex-end;
  174. align-items: center;
  175. padding-top: 10rpx;
  176. .goods-card {
  177. // background: #FEEDF0;
  178. border-radius: 6rpx;
  179. font-size: 26rpx;
  180. color: #131415;
  181. line-height: 40rpx;
  182. // padding: 0 12rpx;
  183. }
  184. .goods-num {
  185. font-size: 26rpx;
  186. color: #999999;
  187. line-height: 36rpx;
  188. text-align: right;
  189. }
  190. }
  191. }
  192. .item-footer {
  193. margin-top: 8rpx;
  194. padding-top: 16rpx;
  195. display: flex;
  196. justify-content: flex-end;
  197. align-items: center;
  198. .order-price {
  199. font-weight: 400;
  200. font-size: 24rpx;
  201. color: #FD4502;
  202. line-height: 34rpx;
  203. margin-right: 24rpx;
  204. }
  205. button {
  206. margin: 0;
  207. border-radius: 12rpx;
  208. background: #fff;
  209. //border: 2rpx solid #DCDCDC;
  210. font-weight: 500;
  211. font-size: 28rpx;
  212. color: #131415;
  213. width: auto;
  214. padding: 0 24rpx;
  215. line-height: 54rpx;
  216. box-sizing: content-box;
  217. }
  218. .sure {
  219. background: #FFF0EE;
  220. border-radius: 36rpx;
  221. border: 2rpx solid rgba(254, 70, 46, 0.5);
  222. font-family: PingFangSC, PingFang SC;
  223. font-weight: 400;
  224. font-size: 24rpx;
  225. color: #FE462E;
  226. line-height: 54rpx;
  227. &::after {
  228. border: none;
  229. }
  230. }
  231. .lookDetails {
  232. color: #333333;
  233. border-color: #DCDCDC;
  234. background: transparent;
  235. }
  236. }
  237. }
  238. .empty-box {
  239. position: absolute;
  240. left: 50%;
  241. top: 50%;
  242. transform: translate(-50%, -80%);
  243. image {
  244. width: 392rpx;
  245. height: 272rpx;
  246. }
  247. .empty-text {
  248. font-weight: 400;
  249. font-size: 28rpx;
  250. color: #AAAAAA;
  251. line-height: 40rpx;
  252. text-align: center;
  253. margin-top: -24rpx;
  254. }
  255. }