order-detail.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. .item-content {
  35. margin: 24rpx 26rpx 0;
  36. border-radius: 20rpx;
  37. padding: 28rpx 24rpx;
  38. display: flex;
  39. background-color: #FFFFFF;
  40. .goods-icon {
  41. width: 160rpx;
  42. height: 160rpx;
  43. margin-right: 24rpx;
  44. flex-shrink: 0;
  45. }
  46. .goods-desc {
  47. flex: 1 auto;
  48. display: flex;
  49. flex-direction: column;
  50. }
  51. .goodsInfo {
  52. display: flex;
  53. justify-content: space-between;
  54. padding-top: 4rpx;
  55. .goods-name {
  56. flex: 1 auto;
  57. white-space: nowrap;
  58. overflow: hidden;
  59. font-weight: 600;
  60. font-size: 28rpx;
  61. text-overflow: ellipsis;
  62. max-width: 310rpx;
  63. }
  64. .goods-price {
  65. flex-shrink: 0;
  66. font-family: DINAlternate, DINAlternate;
  67. font-weight: bold;
  68. font-size: 28rpx;
  69. color: #131415;
  70. line-height: 48rpx;
  71. }
  72. }
  73. .goods-type {
  74. display: flex;
  75. justify-content: space-between;
  76. padding-top: 12rpx;
  77. .goods-card {
  78. height: 40rpx;
  79. background: #FEEDF0;
  80. border-radius: 6rpx;
  81. font-size: 26rpx;
  82. color: #FE2451;
  83. line-height: 36rpx;
  84. padding: 0 12rpx;
  85. }
  86. .goods-num {
  87. font-size: 28rpx;
  88. color: #777777;
  89. line-height: 36rpx;
  90. }
  91. }
  92. }
  93. .order-time {
  94. margin: 24rpx 26rpx 0;
  95. border-radius: 20rpx;
  96. padding: 36rpx 24rpx;
  97. background-color: #FFFFFF;
  98. .order-item {
  99. display: flex;
  100. justify-content: space-between;
  101. padding-bottom: 36rpx;
  102. &:last-child {
  103. padding-bottom: 0;
  104. }
  105. .title {
  106. font-size: 28rpx;
  107. color: #131415;
  108. line-height: 40rpx;
  109. }
  110. .value {
  111. font-size: 28rpx;
  112. color: #777777;
  113. line-height: 40rpx;
  114. }
  115. }
  116. }
  117. .order-btn {
  118. position: fixed;
  119. bottom: 0;
  120. left: 0;
  121. width: 100%;
  122. background-color: #FFFFFF;
  123. padding: 20rpx 32rpx 58rpx 40rpx;
  124. display: flex;
  125. justify-content: space-between;
  126. box-sizing: border-box;
  127. .price {
  128. display: flex;
  129. align-items: center;
  130. .desc {
  131. font-weight: 500;
  132. font-size: 28rpx;
  133. color: #131415;
  134. line-height: 40rpx;
  135. }
  136. .currentPrice {
  137. font-weight: bold;
  138. color: #FE2451;
  139. font-family: DINAlternate, DINAlternate;
  140. .stuff {
  141. font-size: 32rpx;
  142. }
  143. .priceZ {
  144. font-size: 56rpx;
  145. }
  146. .priceF {
  147. font-size: 32rpx;
  148. }
  149. }
  150. }
  151. button {
  152. margin: 0;
  153. width: auto;
  154. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  155. border-radius: 78rpx;
  156. padding: 22rpx 84rpx;
  157. font-weight: 500;
  158. font-size: 32rpx;
  159. color: #FFFFFF;
  160. line-height: 44rpx;
  161. }
  162. }