order-detail.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .order-status {
  9. margin: 24rpx 26rpx 0;
  10. background-color: #FFFFFF;
  11. border-radius: 20rpx;
  12. padding: 24rpx 32rpx;
  13. .status {
  14. display: flex;
  15. padding-bottom: 24rpx;
  16. image {
  17. width: 48rpx;
  18. height: 48rpx;
  19. margin-right: 16rpx;
  20. }
  21. text {
  22. font-weight: 600;
  23. font-size: 36rpx;
  24. color: #131415;
  25. line-height: 48rpx;
  26. }
  27. }
  28. .tips {
  29. font-size: 28rpx;
  30. color: #777777;
  31. line-height: 40rpx;
  32. }
  33. }
  34. .order-content {
  35. margin: 24rpx 26rpx 0;
  36. border-radius: 20rpx;
  37. padding: 28rpx 24rpx;
  38. display: flex;
  39. background-color: #FFFFFF;
  40. }
  41. .item-content {
  42. display: flex;
  43. width: 100%;
  44. .goods-icon {
  45. width: 160rpx;
  46. height: 160rpx;
  47. margin-right: 24rpx;
  48. flex-shrink: 0;
  49. border-radius: 6px;
  50. overflow: hidden;
  51. }
  52. .goods-desc {
  53. flex: 1 auto;
  54. display: flex;
  55. flex-direction: column;
  56. }
  57. .goodsInfo {
  58. display: flex;
  59. justify-content: space-between;
  60. padding-top: 4rpx;
  61. .goods-name {
  62. flex: 1 auto;
  63. white-space: nowrap;
  64. overflow: hidden;
  65. font-weight: 600;
  66. font-size: 28rpx;
  67. text-overflow: ellipsis;
  68. max-width: 310rpx;
  69. }
  70. .goods-price {
  71. flex-shrink: 0;
  72. font-family: DINAlternate, DINAlternate;
  73. font-weight: bold;
  74. font-size: 28rpx;
  75. color: #131415;
  76. line-height: 48rpx;
  77. }
  78. }
  79. .goods-type {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. padding-top: 12rpx;
  84. .goods-card {
  85. height: 40rpx;
  86. background: #FEEDF0;
  87. border-radius: 6rpx;
  88. font-size: 26rpx;
  89. color: #FE2451;
  90. line-height: 40rpx;
  91. padding: 0 12rpx;
  92. }
  93. .goods-num {
  94. font-size: 28rpx;
  95. color: #777777;
  96. line-height: 36rpx;
  97. }
  98. }
  99. }
  100. .order-time {
  101. margin: 24rpx 26rpx 0;
  102. border-radius: 20rpx;
  103. padding: 36rpx 24rpx;
  104. background-color: #FFFFFF;
  105. .order-item {
  106. display: flex;
  107. justify-content: space-between;
  108. padding-bottom: 36rpx;
  109. &:last-child {
  110. padding-bottom: 0;
  111. }
  112. .title {
  113. font-size: 28rpx;
  114. color: #131415;
  115. line-height: 40rpx;
  116. }
  117. .value {
  118. font-size: 28rpx;
  119. color: #777777;
  120. line-height: 40rpx;
  121. }
  122. }
  123. }
  124. .order-btn {
  125. position: fixed;
  126. bottom: 0;
  127. left: 0;
  128. width: 100%;
  129. background-color: #FFFFFF;
  130. padding: 20rpx 32rpx 58rpx 40rpx;
  131. display: flex;
  132. justify-content: space-between;
  133. box-sizing: border-box;
  134. .orders {
  135. display: flex;
  136. flex-direction: column;
  137. margin-right: 40rpx;
  138. image {
  139. width: 48rpx;
  140. height: 48rpx;
  141. }
  142. text {
  143. font-weight: 500;
  144. font-size: 22rpx;
  145. color: #131415;
  146. line-height: 32rpx;
  147. text-align: center;
  148. }
  149. }
  150. .more {
  151. display: flex;
  152. }
  153. .price {
  154. display: flex;
  155. align-items: center;
  156. .desc {
  157. font-weight: 500;
  158. font-size: 28rpx;
  159. color: #777;
  160. line-height: 40rpx;
  161. padding-top: 20rpx;
  162. flex-shrink: 0;
  163. }
  164. .currentPrice {
  165. font-weight: bold;
  166. color: #FE2451;
  167. font-family: DINAlternate, DINAlternate;
  168. .stuff {
  169. font-size: 32rpx;
  170. }
  171. .priceZ {
  172. font-size: 56rpx;
  173. }
  174. .priceF {
  175. font-size: 32rpx;
  176. }
  177. }
  178. }
  179. button {
  180. margin: 0 0 0 12rpx;
  181. width: auto;
  182. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  183. border-radius: 78rpx;
  184. padding: 22rpx 84rpx;
  185. font-weight: 500;
  186. font-size: 32rpx;
  187. color: #FFFFFF;
  188. line-height: 44rpx;
  189. flex-shrink: 0;
  190. }
  191. }