orders.less 4.9 KB

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