orders.less 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. /* pages/orders/orders.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  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 50rpx 16rpx;
  24. >view {
  25. font-size: 32rpx;
  26. font-family: PingFangSC-Regular, PingFang SC;
  27. font-weight: 500;
  28. color: rgba(0, 0, 0, 0.4);
  29. &.active {
  30. font-size: 32rpx;
  31. font-family: PingFangSC-Semibold, PingFang SC;
  32. font-weight: 600;
  33. color: #131415;
  34. position: relative;
  35. z-index: 2;
  36. &::before {
  37. content: "";
  38. position: absolute;
  39. left: 0;
  40. bottom: -8rpx;
  41. z-index: -1;
  42. width: 100%;
  43. height: 8rpx;
  44. background: linear-gradient( 90deg, #FF3C3C 0%, rgba(255,118,155,0.5) 100%);
  45. border-radius: 72rpx 72rpx 0rpx 0rpx;
  46. }
  47. }
  48. }
  49. }
  50. .record-list {
  51. flex: 1;
  52. overflow-y: scroll;
  53. box-sizing: border-box;
  54. }
  55. .list-item-group {
  56. padding-bottom: 88rpx;
  57. }
  58. .list-item {
  59. background: #FFFFFF;
  60. border-radius: 20rpx;
  61. margin: 24rpx 26rpx 0;
  62. padding: 28rpx 24rpx 32rpx;
  63. .item-top {
  64. display: flex;
  65. justify-content: space-between;
  66. font-size: 28rpx;
  67. line-height: 48rpx;
  68. padding-bottom: 12rpx;
  69. .item-mid {
  70. color: #131415;
  71. }
  72. > text {
  73. color: #777777;
  74. }
  75. .red {
  76. color: #FE2451;
  77. }
  78. }
  79. .item-content {
  80. display: flex;
  81. .goods-icon {
  82. width: 160rpx;
  83. height: 160rpx;
  84. margin-right: 24rpx;
  85. flex-shrink: 0;
  86. }
  87. .goods-desc {
  88. flex: 1 auto;
  89. display: flex;
  90. flex-direction: column;
  91. }
  92. .goodsInfo {
  93. display: flex;
  94. justify-content: space-between;
  95. padding-top: 4rpx;
  96. .goods-name {
  97. flex: 1 auto;
  98. white-space: nowrap;
  99. overflow: hidden;
  100. font-weight: 600;
  101. font-size: 28rpx;
  102. text-overflow: ellipsis;
  103. max-width: 310rpx;
  104. }
  105. .goods-price {
  106. flex-shrink: 0;
  107. font-family: DINAlternate, DINAlternate;
  108. font-weight: bold;
  109. font-size: 28rpx;
  110. color: #131415;
  111. line-height: 48rpx;
  112. }
  113. }
  114. .goods-type {
  115. display: flex;
  116. justify-content: space-between;
  117. padding-top: 12rpx;
  118. .goods-card {
  119. height: 40rpx;
  120. background: #FEEDF0;
  121. border-radius: 6rpx;
  122. font-size: 26rpx;
  123. color: #FE2451;
  124. line-height: 36rpx;
  125. padding: 0 12rpx;
  126. }
  127. .goods-num {
  128. font-size: 28rpx;
  129. color: #777777;
  130. line-height: 36rpx;
  131. }
  132. }
  133. }
  134. .item-footer {
  135. padding-top: 24rpx;
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: center;
  139. .order-price {
  140. font-weight: 600;
  141. font-size: 28rpx;
  142. color: #131415;
  143. line-height: 48rpx;
  144. .price {
  145. font-family: DINAlternate, DINAlternate;
  146. font-weight: bold;
  147. font-size: 28rpx;
  148. color: #FE2451;
  149. line-height: 48rpx;
  150. }
  151. }
  152. button {
  153. margin: 0;
  154. border-radius: 36rpx;
  155. background-color: #FFFFFF;
  156. border: 2rpx solid #DCDCDC;
  157. font-weight: 500;
  158. font-size: 28rpx;
  159. color: #333333;
  160. width: auto;
  161. padding: 14rpx 32rpx;
  162. line-height: 40rpx;
  163. }
  164. .sure {
  165. background: #FE2451;
  166. border-color: #FE2451;
  167. color: #FFFFFF;
  168. }
  169. }
  170. }
  171. .empty-box {
  172. position: absolute;
  173. left: 50%;
  174. top: 50%;
  175. transform: translate(-50%, -80%);
  176. font-size: 32rpx;
  177. font-family: PingFangSC-Regular, PingFang SC;
  178. font-weight: 400;
  179. color: #999999;
  180. image {
  181. width: 436rpx;
  182. height: 364rpx;
  183. }
  184. .empty-text {
  185. font-size: 28rpx;
  186. color: #777777;
  187. line-height: 40rpx;
  188. text-align: center;
  189. padding-top: 24rpx;
  190. }
  191. }