orders.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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. padding: 0 30rpx;
  28. font-weight: 500;
  29. color: rgba(0, 0, 0, 0.4);
  30. &.active {
  31. font-size: 32rpx;
  32. font-family: PingFangSC-Semibold, PingFang SC;
  33. font-weight: 600;
  34. color: #131415;
  35. position: relative;
  36. z-index: 2;
  37. &::before {
  38. content: "";
  39. position: absolute;
  40. left: 50%;
  41. margin-left: -17rpx;
  42. bottom: -12rpx;
  43. z-index: -1;
  44. width: 34rpx;
  45. height: 4rpx;
  46. background: #534E49;
  47. }
  48. }
  49. }
  50. }
  51. .record-list {
  52. flex: 1;
  53. overflow-y: scroll;
  54. box-sizing: border-box;
  55. }
  56. .list-item-group {
  57. padding-bottom: 88rpx;
  58. }
  59. .list-item {
  60. background: #FFFFFF;
  61. border-radius: 20rpx;
  62. margin: 24rpx 26rpx 0;
  63. padding: 24rpx 24rpx 26rpx;
  64. .item-top {
  65. display: flex;
  66. justify-content: space-between;
  67. font-weight: 600;
  68. font-size: 30rpx;
  69. line-height: 48rpx;
  70. padding-bottom: 26rpx;
  71. .item-mid {
  72. color: #131415;
  73. font-size: 28rpx;
  74. color: #999999;
  75. font-weight: 400;
  76. }
  77. >text {
  78. color: #777;
  79. }
  80. .cancel {
  81. color: #AAA;
  82. }
  83. .red {
  84. color: #DDA64C;
  85. }
  86. }
  87. .item-content {
  88. display: flex;
  89. &+.item-content {
  90. padding-top: 60rpx;
  91. }
  92. .goods-icon {
  93. width: 140rpx;
  94. height: 140rpx;
  95. margin-right: 24rpx;
  96. flex-shrink: 0;
  97. border-radius: 6px;
  98. overflow: hidden;
  99. }
  100. .goods-desc {
  101. flex: 1 auto;
  102. display: flex;
  103. flex-direction: column;
  104. }
  105. .goodsInfo {
  106. display: flex;
  107. justify-content: space-between;
  108. padding-top: 4rpx;
  109. .goods-name {
  110. flex: 1 auto;
  111. white-space: nowrap;
  112. overflow: hidden;
  113. font-weight: 600;
  114. font-size: 30rpx;
  115. color: #131415;
  116. line-height: 50rpx;
  117. text-overflow: ellipsis;
  118. max-width: 480rpx;
  119. }
  120. }
  121. .goods-price {
  122. flex-shrink: 0;
  123. font-family: DINAlternate, DINAlternate;
  124. font-weight: bold;
  125. color: #131415;
  126. line-height: 48rpx;
  127. .stuff {
  128. font-size: 28rpx;
  129. padding-right: 4rpx;
  130. }
  131. .priceZ {
  132. font-size: 40rpx;
  133. }
  134. .priceF {
  135. font-size: 32rpx;
  136. }
  137. }
  138. .origin-price {
  139. font-weight: 400;
  140. font-size: 24rpx;
  141. color: #6D4718;
  142. line-height: 1;
  143. }
  144. .goods-type {
  145. display: flex;
  146. align-items: center;
  147. padding-top: 28rpx;
  148. .goods-card {
  149. height: 40rpx;
  150. background: #fdf2e2;
  151. border-radius: 6rpx;
  152. font-size: 26rpx;
  153. color: #502f00;
  154. line-height: 40rpx;
  155. padding: 0 12rpx;
  156. }
  157. .goods-num {
  158. font-size: 28rpx;
  159. color: #777;
  160. line-height: 36rpx;
  161. }
  162. }
  163. }
  164. .item-footer {
  165. margin-top: 26rpx;
  166. border-top: 2rpx solid #F2F2F2;
  167. padding-top: 24rpx;
  168. display: flex;
  169. flex-direction: column;
  170. justify-content: space-between;
  171. align-items: flex-end;
  172. font-size: 28rpx;
  173. color: #777777;
  174. .order-price {
  175. display: flex;
  176. align-items: center;
  177. .countPrice {
  178. padding-left: 24rpx;
  179. color: #131415;
  180. .suffix {
  181. color: #131415;
  182. }
  183. .price {
  184. color: #333333;
  185. }
  186. }
  187. .suffix {
  188. padding-left: 6rpx;
  189. font-size: 28rpx;
  190. line-height: 48rpx;
  191. color: #FF0047;
  192. }
  193. .price {
  194. font-family: DINAlternate, DINAlternate;
  195. font-weight: bold;
  196. font-size: 36rpx;
  197. line-height: 48rpx;
  198. color: #FF0047;
  199. }
  200. }
  201. button {
  202. margin: 0;
  203. border-radius: 76rpx;
  204. background-color: #FFFFFF;
  205. border: 2rpx solid #DCDCDC;
  206. font-weight: 500;
  207. font-size: 24rpx;
  208. color: #333333;
  209. width: auto;
  210. padding: 10rpx 22rpx;
  211. line-height: 40rpx;
  212. }
  213. .sure {
  214. margin-top: 24rpx !important;
  215. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  216. border-radius: 76rpx;
  217. border: none;
  218. font-size: 24rpx;
  219. color: #FBEAC9;
  220. width: 140rpx !important;
  221. line-height: 52rpx !important;
  222. padding: 0 !important;
  223. }
  224. }
  225. }
  226. .empty-box {
  227. position: absolute;
  228. left: 50%;
  229. top: 50%;
  230. transform: translate(-50%, -80%);
  231. font-size: 32rpx;
  232. font-family: PingFangSC-Regular, PingFang SC;
  233. font-weight: 400;
  234. color: #999999;
  235. image {
  236. width: 408rpx;
  237. height: 204rpx;
  238. }
  239. .empty-text {
  240. font-size: 28rpx;
  241. color: #AAA;
  242. line-height: 40rpx;
  243. text-align: center;
  244. padding-top: 36rpx;
  245. }
  246. }