order-detail.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. .price {
  135. display: flex;
  136. align-items: center;
  137. .desc {
  138. font-weight: 500;
  139. font-size: 28rpx;
  140. color: #131415;
  141. line-height: 40rpx;
  142. }
  143. .currentPrice {
  144. font-weight: bold;
  145. color: #FE2451;
  146. font-family: DINAlternate, DINAlternate;
  147. .stuff {
  148. font-size: 32rpx;
  149. }
  150. .priceZ {
  151. font-size: 56rpx;
  152. }
  153. .priceF {
  154. font-size: 32rpx;
  155. }
  156. }
  157. }
  158. button {
  159. margin: 0;
  160. width: auto;
  161. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  162. border-radius: 78rpx;
  163. padding: 22rpx 84rpx;
  164. font-weight: 500;
  165. font-size: 32rpx;
  166. color: #FFFFFF;
  167. line-height: 44rpx;
  168. }
  169. }