order-detail.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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: 30rpx;
  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: 30rpx;
  75. color: #131415;
  76. line-height: 48rpx;
  77. text {
  78. padding-right: 4rpx;
  79. }
  80. }
  81. }
  82. .goods-type {
  83. display: flex;
  84. justify-content: space-between;
  85. align-items: center;
  86. padding-top: 12rpx;
  87. .goods-card {
  88. height: 40rpx;
  89. background: #FEEDF0;
  90. border-radius: 6rpx;
  91. font-size: 26rpx;
  92. color: #FE2451;
  93. line-height: 40rpx;
  94. padding: 0 12rpx;
  95. }
  96. .goods-num {
  97. font-size: 28rpx;
  98. color: #777777;
  99. line-height: 36rpx;
  100. }
  101. }
  102. }
  103. .order-time {
  104. margin: 24rpx 26rpx 0;
  105. border-radius: 20rpx;
  106. padding: 36rpx 24rpx;
  107. background-color: #FFFFFF;
  108. .order-item {
  109. display: flex;
  110. justify-content: space-between;
  111. padding-bottom: 36rpx;
  112. &:last-child {
  113. padding-bottom: 0;
  114. }
  115. .title {
  116. font-size: 28rpx;
  117. color: #131415;
  118. line-height: 40rpx;
  119. }
  120. .value {
  121. font-size: 28rpx;
  122. color: #777777;
  123. line-height: 40rpx;
  124. }
  125. }
  126. }
  127. .order-btn {
  128. position: fixed;
  129. bottom: 0;
  130. left: 0;
  131. width: 100%;
  132. background-color: #FFFFFF;
  133. padding: 20rpx 32rpx 58rpx 40rpx;
  134. display: flex;
  135. justify-content: space-between;
  136. box-sizing: border-box;
  137. .orders {
  138. display: flex;
  139. flex-direction: column;
  140. margin-right: 40rpx;
  141. image {
  142. width: 48rpx;
  143. height: 48rpx;
  144. }
  145. text {
  146. font-weight: 500;
  147. font-size: 22rpx;
  148. color: #131415;
  149. line-height: 32rpx;
  150. text-align: center;
  151. }
  152. }
  153. .more {
  154. display: flex;
  155. }
  156. .price {
  157. display: flex;
  158. align-items: center;
  159. .desc {
  160. font-weight: 500;
  161. font-size: 28rpx;
  162. color: #777;
  163. line-height: 40rpx;
  164. padding-top: 20rpx;
  165. flex-shrink: 0;
  166. }
  167. .currentPrice {
  168. font-weight: bold;
  169. color: #FE2451;
  170. font-family: DINAlternate, DINAlternate;
  171. .stuff {
  172. font-size: 32rpx;
  173. }
  174. .priceZ {
  175. font-size: 56rpx;
  176. }
  177. .priceF {
  178. font-size: 32rpx;
  179. }
  180. }
  181. }
  182. button {
  183. margin: 0 0 0 12rpx;
  184. width: auto;
  185. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  186. border-radius: 78rpx;
  187. padding: 22rpx 84rpx;
  188. font-weight: 500;
  189. font-size: 32rpx;
  190. color: #FFFFFF;
  191. line-height: 44rpx;
  192. flex-shrink: 0;
  193. }
  194. }