orders.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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. text {
  144. text-decoration: line-through;
  145. }
  146. }
  147. .goods-type {
  148. display: flex;
  149. align-items: center;
  150. padding-top: 28rpx;
  151. .goods-card {
  152. height: 40rpx;
  153. background: #fdf2e2;
  154. border-radius: 6rpx;
  155. font-size: 26rpx;
  156. color: #502f00;
  157. line-height: 40rpx;
  158. padding: 0 12rpx;
  159. }
  160. .goods-num {
  161. font-size: 28rpx;
  162. color: #777;
  163. line-height: 36rpx;
  164. }
  165. }
  166. }
  167. .item-footer {
  168. margin-top: 26rpx;
  169. border-top: 2rpx solid #F2F2F2;
  170. padding-top: 24rpx;
  171. display: flex;
  172. flex-direction: column;
  173. justify-content: space-between;
  174. align-items: flex-end;
  175. font-size: 28rpx;
  176. color: #777777;
  177. .order-price {
  178. display: flex;
  179. align-items: center;
  180. .countPrice {
  181. padding-left: 24rpx;
  182. color: #131415;
  183. .suffix {
  184. color: #131415;
  185. }
  186. .price {
  187. color: #333333;
  188. }
  189. }
  190. .suffix {
  191. padding-left: 6rpx;
  192. font-size: 28rpx;
  193. line-height: 48rpx;
  194. color: #FF0047;
  195. }
  196. .price {
  197. font-family: DINAlternate, DINAlternate;
  198. font-weight: bold;
  199. font-size: 36rpx;
  200. line-height: 48rpx;
  201. color: #FF0047;
  202. }
  203. }
  204. button {
  205. margin: 0;
  206. border-radius: 76rpx;
  207. background-color: #FFFFFF;
  208. border: 2rpx solid #DCDCDC;
  209. font-weight: 500;
  210. font-size: 24rpx;
  211. color: #333333;
  212. width: auto;
  213. padding: 10rpx 22rpx;
  214. line-height: 40rpx;
  215. }
  216. .sure {
  217. margin-top: 24rpx !important;
  218. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  219. border-radius: 76rpx;
  220. border: none;
  221. font-size: 24rpx;
  222. color: #FBEAC9;
  223. width: 140rpx !important;
  224. line-height: 52rpx !important;
  225. padding: 0 !important;
  226. }
  227. }
  228. }
  229. .empty-box {
  230. position: absolute;
  231. left: 50%;
  232. top: 50%;
  233. transform: translate(-50%, -80%);
  234. font-size: 32rpx;
  235. font-family: PingFangSC-Regular, PingFang SC;
  236. font-weight: 400;
  237. color: #999999;
  238. image {
  239. width: 408rpx;
  240. height: 204rpx;
  241. }
  242. .empty-text {
  243. font-size: 28rpx;
  244. color: #AAA;
  245. line-height: 40rpx;
  246. text-align: center;
  247. padding-top: 36rpx;
  248. }
  249. }