order-detail.less 3.9 KB

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